NetBSD/usr.bin/kdump/Makefile

26 lines
565 B
Makefile

# $NetBSD: Makefile,v 1.32 2016/01/23 21:22:49 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk> # for MKDYNAMICROOT & NETBSDSRCDIR
USE_FORT?= yes # cryptographic software
PROG= kdump
SRCS= kdump.c subr.c setemul.c siginfo.c
.PATH: ${NETBSDSRCDIR}/usr.bin/ktrace
CLEANFILES+=siginfo.c
.if (${MKDYNAMICROOT} == "no")
LDSTATIC?=-static
.endif
.include "Makefile.ioctl-c"
.include "Makefile.siginfo-c"
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/ktrace -I${NETBSDSRCDIR}/sys -D_KERNTYPES
LDADD+=-lutil
DPADD+=${LIBUTIL}
.include <bsd.prog.mk>