69bf8e4f71
Add two makefiles to manage compiling packages with NetBSD libc. * minix.libc.mk contains the proper CFLAGS/LDFLAGS * pkgsrchooks.mk contains the logic for setting the flags. * update bmake Several pkg-config files were added to help pkgsrc learn about the c, minlib, and compat_minix libraries.
51 lines
938 B
Makefile
51 lines
938 B
Makefile
.include <bsd.own.mk>
|
|
|
|
LIB= compat_minix
|
|
CPPFLAGS+= -D_MINIX_COMPAT
|
|
MACHINE_ARCH= ${ARCH}
|
|
|
|
.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.own.mk>
|
|
SUBDIR+= pkgconfig
|
|
.include <bsd.subdir.mk>
|
|
|
|
.include <bsd.lib.mk>
|