1 2.include <src.opts.mk> 3 4.PATH: ${SRCTOP}/usr.bin/ktrace 5 6PROG= kdump 7SRCS= kdump.c subr.c 8CFLAGS+= -I${SRCTOP}/usr.bin/ktrace 9 10LIBADD= sysdecode 11.if ${MK_CASPER} != "no" 12LIBADD+= casper 13LIBADD+= cap_grp 14LIBADD+= cap_pwd 15CFLAGS+=-DWITH_CASPER 16.endif 17 18.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \ 19 ${MACHINE_CPUARCH} == "i386" 20SRCS+= linux.c 21.endif 22 23CFLAGS.linux.c+= -I${SRCTOP}/sys 24 25.include <bsd.prog.mk> 26