7fa2f2a62f
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
21 lines
326 B
Makefile
21 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>
|