NetBSD/usr.bin/kdump/Makefile

25 lines
551 B
Makefile

# $NetBSD: Makefile,v 1.30 2011/09/21 17:48:51 christos Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk> # for MKDYNAMICROOT & NETBSDSRCDIR
USE_FORT?= yes # cryptographic software
PROG= kdump
CPPFLAGS+=-I${NETBSDSRCDIR}/usr.bin/ktrace -I${NETBSDSRCDIR}/sys
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"
LDADD+=-lutil
DPADD+=${LIBUTIL}
.include <bsd.prog.mk>