1997-07-21 23:29:58 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 1997/07/21 19:29:58 phil 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-09 01:11:01 +04:00
|
|
|
.PATH: ${.CURDIR}/../ktrace
|
1994-05-11 11:10:27 +04:00
|
|
|
CLEANFILES+=ioctl.c
|
|
|
|
|
1997-07-21 23:29:58 +04:00
|
|
|
ioctl.c: mkioctls ${DESTDIR}/usr/include/sys/ioctl.h ${DESTDIR}/usr/include/sys/ioctl_compat.h
|
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>
|