minix/servers/pm/Makefile
Thomas Veerman f93afa00e9 Remove MINIXSRCDIR and use NETBSDSRCDIR
NETBSDSRCDIR is used all over the place anyway, and this reduces
our diff with NetBSD a little.
2012-06-18 10:53:35 +00:00

31 lines
606 B
Makefile

.include <bsd.own.mk>
# Makefile for Process Manager (PM)
PROG= pm
SRCS= main.c forkexit.c break.c exec.c time.c alarm.c \
signal.c utility.c table.c getset.c misc.c \
profile.c schedule.c
.if ${USE_MCONTEXT} != "no"
SRCS+= mcontext.c
CPPFLAGS+= -DUSE_MCONTEXT
.endif
.if ${USE_TRACE} != "no"
SRCS+= trace.c
CPPFLAGS+= -DUSE_TRACE
.endif
DPADD+= ${LIBSYS} ${LIBTIMERS}
LDADD+= -lsys -ltimers
MAN=
BINDIR?= /usr/sbin
CPPFLAGS.main.c+= -I${NETBSDSRCDIR}
CPPFLAGS.misc.c+= -I${NETBSDSRCDIR}
CPPFLAGS.schedule.c+= -I${NETBSDSRCDIR}
CPPFLAGS.utility.c+= -I${NETBSDSRCDIR}
.include <minix.bootprog.mk>