summaryrefslogtreecommitdiff
path: root/usr.bin/kdump/Makefile
blob: 7e3369a6f3c8a60aa040fbdf42658d9f4d8b5fc2 (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
44
45
#	$OpenBSD: Makefile,v 1.16 2005/07/31 10:11:19 deraadt Exp $

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

ioctl.c: ${.CURDIR}/Makefile ${.CURDIR}/mkioctls
	CC="${CC}" DESTDIR="${DESTDIR}" \
	/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/net/bpf.h \
	    ${DESTDIR}/usr/include/net/if_ppp.h \
	    ${DESTDIR}/usr/include/net/if_pppoe.h \
	    ${DESTDIR}/usr/include/net/if_tun.h \
	    ${DESTDIR}/usr/include/net/pfvar.h \
	    ${DESTDIR}/usr/include/net80211/ieee80211_ioctl.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/gpio.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>