1997-05-07 00:44:56 +04:00
|
|
|
# $NetBSD: Makefile,v 1.6 1997/05/06 20:45:33 gwr Exp $
|
1994-10-06 18:44:32 +03:00
|
|
|
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
|
1994-05-11 11:10:27 +04:00
|
|
|
|
1994-12-06 17:54:50 +03:00
|
|
|
LDSTATIC=-static
|
1994-05-11 11:10:27 +04:00
|
|
|
PROG= kdump
|
|
|
|
CFLAGS+=-I${.CURDIR}/../ktrace
|
|
|
|
SRCS= kdump.c ioctl.c subr.c
|
1997-05-07 00:44:56 +04:00
|
|
|
.PATH.c: ${.CURDIR}/../ktrace
|
1994-05-11 11:10:27 +04:00
|
|
|
CLEANFILES+=ioctl.c
|
|
|
|
|
|
|
|
ioctl.c: mkioctls
|
1994-06-18 20:33:22 +04:00
|
|
|
/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>
|