2011-03-18 17:08:26 +01:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
|
|
|
LIB= compat_minix
|
|
|
|
CPPFLAGS+= -D_MINIX_COMPAT
|
2011-04-27 15:00:52 +02:00
|
|
|
MACHINE_ARCH= ${ARCH}
|
2011-03-18 17:08:26 +01:00
|
|
|
|
|
|
|
.PATH: ${.CURDIR}
|
|
|
|
|
|
|
|
# std_err()
|
|
|
|
SRCS+= stderr.c
|
|
|
|
|
|
|
|
# V8 regexp (incompatible with BSD regexp)
|
|
|
|
SRCS+= v8regerror.c v8regexp.c v8regsub.c
|
|
|
|
|
|
|
|
# Configfile Library.
|
|
|
|
SRCS+= configfile.c
|
|
|
|
|
|
|
|
# ACK a.out format.
|
|
|
|
SRCS+= nlist.c
|
|
|
|
|
|
|
|
# Minix 'mtab' handling functions.
|
|
|
|
#
|
|
|
|
# These should be changed when we switch to
|
|
|
|
# NetBSD's 'mtab' format.
|
|
|
|
SRCS+= mtab.c
|
|
|
|
|
|
|
|
# Termcap.
|
|
|
|
# Included in the Minix libc.
|
|
|
|
#
|
|
|
|
# Should be removed once we switch to terminfo.
|
|
|
|
SRCS+= termcap.c
|
|
|
|
|
|
|
|
# Minix legacy passwd format
|
|
|
|
# These should be removed when we switch to
|
|
|
|
# NetBSD's 'passwd' db-based format.
|
2011-07-13 18:19:27 +02:00
|
|
|
SRCS+= getpwent.c
|
2011-03-18 17:08:26 +01:00
|
|
|
|
|
|
|
# fttyslot(fd), a Minix-specific extension
|
|
|
|
SRCS+= fttyslot.c
|
|
|
|
|
|
|
|
# cuserid()
|
|
|
|
# Now considered "compat" feature in NetBSD.
|
|
|
|
SRCS+= cuserid.c
|
|
|
|
|
2011-07-07 23:44:11 +02:00
|
|
|
# XXX: hack
|
|
|
|
# user_from_uid(), uid_from_user()
|
|
|
|
# group_from_gid(), gid_from_group()
|
|
|
|
SRCS+= passwd.c
|
|
|
|
|
2011-03-18 17:08:26 +01:00
|
|
|
.include "include/Makefile.inc"
|
|
|
|
|
2011-06-27 05:16:29 +02:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
SUBDIR+= pkgconfig
|
|
|
|
.include <bsd.subdir.mk>
|
|
|
|
|
2011-03-18 17:08:26 +01:00
|
|
|
.include <bsd.lib.mk>
|