HardenedBSD/usr.bin/kdump/Makefile
Warner Losh bdcbfde31e usr.bin: Remove ancient SCCS tags.
Remove ancient SCCS tags from the tree, automated scripting, with two
minor fixup to keep things compiling. All the common forms in the tree
were removed with a perl script.

Sponsored by:		Netflix
2023-11-26 22:23:30 -07:00

26 lines
443 B
Makefile

.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>