minix/lib/nbsd_libminlib/Makefile
Thomas Cort 69bf8e4f71 add pkgsrc hooks for building pkgs w/nbsd_libc
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.
2011-06-27 15:10:34 +02:00

42 lines
828 B
Makefile

.include <bsd.own.mk>
.PATH: ${.CURDIR} ${.CURDIR}/${MACHINE}
INCSDIR= /usr/netbsd/include
LIB= minlib
CPPFLAGS.fslib.c+= -I${MINIXSRCDIR}/servers
CPPFLAGS.fsversion.c+= -I${MINIXSRCDIR}/servers
SRCS+= fslib.c fsversion.c
# DHCP get/set tags.
SRCS+= dhcp_gettag.c dhcp_settag.c
# Gcov support.
SRCS+= gcov.c gcov_flush.c
# Various utils
SRCS+= itoa.c u64util.c
# svrctl
SRCS+= svrctl.c
# servxcheck
SRCS+= servxcheck.c
# queryparam
SRCS+= paramvalue.c
# Minix servers/drivers syscall.
SRCS+= adddma.c getdma.c deldma.c getngid.c getnpid.c \
getnprocnr.c getnucred.c getnuid.c getprocnr.c \
mapdriver.c vm_dmacalls.c vm_memctl.c \
vm_set_priv.c vm_query_exit.c vm_update.c
INCS+= tools.h
.include "${MACHINE}/Makefile.inc"
.include <bsd.own.mk>
SUBDIR+= pkgconfig
.include <bsd.subdir.mk>
.include <bsd.lib.mk>