8a0f6d8cfd
Reviewed by: jhb Differential revision: https://reviews.freebsd.org/D35216 MFC after: 2 weeks
28 lines
492 B
Makefile
28 lines
492 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.PATH: ${SRCTOP}/usr.bin/ktrace
|
|
|
|
PROG= kdump
|
|
SRCS= kdump.c subr.c
|
|
CFLAGS+= -I${SRCTOP}/usr.bin/ktrace
|
|
|
|
LIBADD= sysdecode
|
|
.if ${MK_CASPER} != "no"
|
|
LIBADD+= casper
|
|
LIBADD+= cap_grp
|
|
LIBADD+= cap_pwd
|
|
CFLAGS+=-DWITH_CASPER
|
|
.endif
|
|
|
|
.if ${MACHINE_CPUARCH} == "aarch64" || ${MACHINE_CPUARCH} == "amd64" || \
|
|
${MACHINE_CPUARCH} == "i386"
|
|
SRCS+= linux.c
|
|
.endif
|
|
|
|
CFLAGS.linux.c+= -I${SRCTOP}/sys
|
|
|
|
.include <bsd.prog.mk>
|