VM: simplify slab allocator
[minix.git] / servers / pm / Makefile
blob906543213b8f7c92dbd63871ff7733fe20a4ac01
1 .include <bsd.own.mk>
3 # Makefile for Process Manager (PM)
4 PROG= pm
5 SRCS= main.c forkexit.c break.c exec.c time.c alarm.c \
6 signal.c utility.c table.c getset.c misc.c \
7 profile.c schedule.c
9 .if ${USE_MCONTEXT} != "no"
10 SRCS+= mcontext.c
11 CPPFLAGS+= -DUSE_MCONTEXT
12 .endif
14 .if ${USE_TRACE} != "no"
15 SRCS+= trace.c
16 CPPFLAGS+= -DUSE_TRACE
17 .endif
19 DPADD+= ${LIBSYS} ${LIBTIMERS}
20 LDADD+= -lsys -ltimers
22 MAN=
24 BINDIR?= /usr/sbin
26 CPPFLAGS.main.c+= -I${NETBSDSRCDIR}
27 CPPFLAGS.misc.c+= -I${NETBSDSRCDIR}
28 CPPFLAGS.schedule.c+= -I${NETBSDSRCDIR}
29 CPPFLAGS.utility.c+= -I${NETBSDSRCDIR}
31 .include <minix.bootprog.mk>