summaryrefslogtreecommitdiff
path: root/usr.bin/kdump/Makefile
blob: 5c17ab3ccb228608cd894573295694047dbf22bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#	$OpenBSD: Makefile,v 1.7 2003/06/23 16:53:06 mickey Exp $

LDSTATIC=${STATIC}
PROG=	kdump
CFLAGS+=-I${.CURDIR}/../ktrace
SRCS=	kdump.c ioctl.c subr.c
.PATH:	${.CURDIR}/../ktrace
CLEANFILES+=ioctl.c

ioctl.c: ${.CURDIR}/mkioctls
	/bin/sh ${.CURDIR}/mkioctls ${DESTDIR}/usr/include/sys/ioctl.h \
	    ${DESTDIR}/usr/include/sys/ioctl_compat.h \
	    ${DESTDIR}/usr/include/crypto/cryptodev.h \
	    ${DESTDIR}/usr/include/dev/biovar.h \
	    ${DESTDIR}/usr/include/dev/ccdvar.h \
	    ${DESTDIR}/usr/include/dev/ramdisk.h \
	    ${DESTDIR}/usr/include/dev/rndioctl.h \
	    ${DESTDIR}/usr/include/dev/systrace.h \
	    ${DESTDIR}/usr/include/dev/wscons/wsconsio.h \
	    ${DESTDIR}/usr/include/dev/vndioctl.h \
	    ${DESTDIR}/usr/include/scsi/ses.h \
	    ${DESTDIR}/usr/include/net/bpf.h \
	    ${DESTDIR}/usr/include/net/if_ieee80211.h \
	    ${DESTDIR}/usr/include/net/if_ppp.h \
	    ${DESTDIR}/usr/include/net/if_tun.h \
	    ${DESTDIR}/usr/include/net/pfvar.h \
	    ${DESTDIR}/usr/include/netinet6/in6_var.h \
	    ${DESTDIR}/usr/include/sys/agpio.h \
	    ${DESTDIR}/usr/include/sys/ataio.h \
	    ${DESTDIR}/usr/include/sys/audioio.h \
	    ${DESTDIR}/usr/include/sys/cdio.h \
	    ${DESTDIR}/usr/include/sys/chio.h \
	    ${DESTDIR}/usr/include/sys/dkio.h \
	    ${DESTDIR}/usr/include/sys/filio.h \
	    ${DESTDIR}/usr/include/sys/midiio.h \
	    ${DESTDIR}/usr/include/sys/mtio.h \
	    ${DESTDIR}/usr/include/sys/pciio.h \
	    ${DESTDIR}/usr/include/sys/radioio.h \
	    ${DESTDIR}/usr/include/sys/scanio.h \
	    ${DESTDIR}/usr/include/sys/scsiio.h \
	    ${DESTDIR}/usr/include/sys/sockio.h > ioctl.c

.include <bsd.prog.mk>