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