NetBSD/usr.bin/kdump/Makefile

16 lines
403 B
Makefile

# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $Id: Makefile,v 1.4 1994/12/06 14:54:50 deraadt Exp $
LDSTATIC=-static
PROG= kdump
CFLAGS+=-I${.CURDIR}/../ktrace
SRCS= kdump.c ioctl.c subr.c
.PATH: ${.CURDIR}/../ktrace
CLEANFILES+=ioctl.c
ioctl.c: mkioctls
/bin/sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include/sys/ioctl.h \
${DESTDIR}/usr/include/sys/ioctl_compat.h > ioctl.c
.include <bsd.prog.mk>