coverity appeasement
[minix.git] / commands / mdb / Makefile
blobe2b3bc3028712aebd74ebe3209d2e34d8abb2afd
2 # Makefile for mdb
5 #
6 # i) For GNU_EXEC Support, uncomment:
8 FOR_GNU= gnu_sym.c
9 DEF_GNU= -DGNU_SUPPORT
11 # ii) For tracing of syscalls, uncomment:
13 #FOR_SYSCALLS= syscalls.c decode.c ioctl.c
14 #DEF_SYSCALLS= -DSYSCALLS_SUPPORT
16 # iii) For no debugging of mdb, uncomment:
18 #DEF_DEBUG= -DNDEBUG
20 EXTRA_SRCS= ${FOR_GNU} ${FOR_SYSCALLS}
21 EXTRA_DEFS= ${DEF_GNU} ${DEF_SYSCALLS} ${DEF_DEBUG}
22 CPPFLAGS+= -I${NETBSDSRCDIR} -I${NETBSDSRCDIR}/servers \
23 ${EXTRA_DEFS}
25 PROG= mdb
26 SRCS= mdb.c mdbexp.c kernel.o sym.c trace.c core.c misc.c io.c
27 SRCS+= mdbdis86.c
28 SRCS+= ${EXTRA_SRCS}
30 .include <bsd.prog.mk>