NetBSD/usr.bin/kdump/Makefile
tron dc33169c5b Add prefix "${PROG}-" to filename of automatically created list of
ioctl names. This makes sure that each program is built with its own
copy even if object directories are not used. This avoids build
failures when two or more make jobs are used in parallel.
2004-07-10 12:12:49 +00:00

21 lines
483 B
Makefile

# $NetBSD: Makefile,v 1.25 2004/07/10 12:12:49 tron Exp $
# @(#)Makefile 8.1 (Berkeley) 6/6/93
.include <bsd.own.mk> # for MKDYNAMICROOT & NETBSDSRCDIR
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
WFORMAT=1
.if (${MKDYNAMICROOT} == "no")
LDSTATIC?=-static
.endif
.include "Makefile.ioctl-c"
.include "Makefile.siginfo-c"
.include <bsd.prog.mk>