NetBSD/usr.bin/kdump/Makefile

18 lines
526 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.12 1998/10/04 10:49:58 veego Exp $
1997-08-01 08:37:36 +04:00
# @(#)Makefile 8.1 (Berkeley) 6/6/93
1994-05-11 11:10:27 +04:00
.include <bsd.own.mk>
1994-05-11 11:10:27 +04:00
PROG= kdump
CPPFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR}/../../sys
1994-05-11 11:10:27 +04:00
SRCS= kdump.c ioctl.c subr.c
.PATH: ${.CURDIR}/../ktrace
LDSTATIC?=-static
1994-05-11 11:10:27 +04:00
CLEANFILES+=ioctl.c
ioctl.c: mkioctls ${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h
/bin/sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include/sys/ioctl.h \
${DESTDIR}/usr/include/sys/ioctl_compat.h > ioctl.c
1994-05-11 11:10:27 +04:00
.include <bsd.prog.mk>