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