mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 14:54:21 -04:00
This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
24 lines
442 B
Makefile
24 lines
442 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>
|