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