6bcf58bab8
libcompat_minix is a compatibility layer meant to let existing commands to work with the new libc.
46 lines
849 B
Makefile
46 lines
849 B
Makefile
.include <bsd.own.mk>
|
|
|
|
LIB= compat_minix
|
|
CPPFLAGS+= -D_MINIX_COMPAT
|
|
|
|
.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.
|
|
SRCS+= crypt.c getpwent.c
|
|
|
|
# fttyslot(fd), a Minix-specific extension
|
|
SRCS+= fttyslot.c
|
|
|
|
# cuserid()
|
|
# Now considered "compat" feature in NetBSD.
|
|
SRCS+= cuserid.c
|
|
|
|
.include "include/Makefile.inc"
|
|
|
|
.include <bsd.lib.mk>
|