mirror of
https://github.com/opnsense/src.git
synced 2026-02-15 08:38:13 -05:00
As suggested in D27598. This also supports MK_WERROR.clang=no and MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses. Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D27601
20 lines
326 B
Makefile
20 lines
326 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
|
|
|
|
.include <bsd.prog.mk>
|