2011-03-22 14:47:35 +01:00
|
|
|
.include <bsd.own.mk>
|
2012-10-26 15:22:39 +02:00
|
|
|
|
2012-08-10 14:47:56 +02:00
|
|
|
.PATH: ${.CURDIR} ${.CURDIR}/${MACHINE_ARCH}
|
2012-10-26 15:22:39 +02:00
|
|
|
.include "${MACHINE_ARCH}/Makefile.inc"
|
|
|
|
|
2011-07-01 15:57:43 +02:00
|
|
|
INCSDIR= /usr/include
|
2011-03-22 14:47:35 +01:00
|
|
|
LIB= minlib
|
|
|
|
|
2012-03-31 02:28:03 +02:00
|
|
|
USE_SHLIBDIR= yes
|
|
|
|
|
2012-06-06 13:16:32 +02:00
|
|
|
CPPFLAGS.fslib.c+= -I${NETBSDSRCDIR}/servers
|
|
|
|
CPPFLAGS.fsversion.c+= -I${NETBSDSRCDIR}/servers
|
2011-03-22 14:47:35 +01:00
|
|
|
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
|
2013-01-08 11:53:08 +01:00
|
|
|
SRCS+= itoa.c u64util.c read_tsc_64.c
|
2011-03-22 14:47:35 +01:00
|
|
|
|
|
|
|
# svrctl
|
|
|
|
SRCS+= svrctl.c
|
|
|
|
|
|
|
|
# servxcheck
|
|
|
|
SRCS+= servxcheck.c
|
|
|
|
|
|
|
|
# queryparam
|
|
|
|
SRCS+= paramvalue.c
|
|
|
|
|
2013-09-18 13:55:15 +02:00
|
|
|
# Minix servers/drivers syscall. FIXME: these should be moved into libsys.
|
|
|
|
SRCS+= dupfrom.c getngid.c getnpid.c getnprocnr.c getnucred.c getnuid.c \
|
|
|
|
getprocnr.c mapdriver.c vm_memctl.c vm_set_priv.c vm_query_exit.c \
|
|
|
|
vm_update.c
|
2011-03-22 14:47:35 +01:00
|
|
|
|
2012-08-10 14:47:56 +02:00
|
|
|
SRCS+= oneC_sum.c
|
|
|
|
|
2011-06-27 05:16:29 +02:00
|
|
|
SUBDIR+= pkgconfig
|
|
|
|
|
2011-03-22 14:47:35 +01:00
|
|
|
.include <bsd.lib.mk>
|
2012-10-26 15:22:39 +02:00
|
|
|
.include <bsd.subdir.mk>
|