minix/commands/mdb/Makefile
Arun Thomas c0c8d25799 Rename mkfiles from minix.*.mk to bsd.*.mk
Makes things easier for pkgsrc
2010-06-25 18:29:09 +00:00

29 lines
596 B
Makefile

#
# Makefile for mdb
#
#
#
# i) For GNU_EXEC Support, uncomment:
#
FOR_GNU= gnu_sym.c
DEF_GNU= -DGNU_SUPPORT
#
# ii) For tracing of syscalls, uncomment:
#
#FOR_SYSCALLS= syscalls.c decode.c ioctl.c
#DEF_SYSCALLS= -DSYSCALLS_SUPPORT
#
# iii) For no debugging of mdb, uncomment:
#
#DEF_DEBUG= -DNDEBUG
EXTRA_SRCS= ${FOR_GNU} ${FOR_SYSCALLS}
EXTRA_DEFS= ${DEF_GNU} ${DEF_SYSCALLS} ${DEF_DEBUG}
CPPFLAGS+= -I${MINIXSRCDIR} -I${MINIXSRCDIR}/servers \
${EXTRA_DEFS}
SRCS= mdb.c mdbexp.c kernel.o sym.c trace.c core.c misc.c io.c
SRCS+= mdbdis86.c
SRCS+= ${EXTRA_SRCS}
.include <bsd.prog.mk>