em.4/igb.4: Set date properly
[dragonfly.git] / usr.bin / kdump / Makefile
blob89ed4a7cb06c995925c29f91812c588b3c8c98bb
1 # @(#)Makefile 8.1 (Berkeley) 6/6/93
2 # $FreeBSD: src/usr.bin/kdump/Makefile,v 1.12 2006/05/20 14:27:22 netchild Exp $
4 .PATH: ${.CURDIR}/../ktrace
6 PROG= kdump
7 SRCS= kdump.c ioctl.c kdump_subr.c subr.c
8 CFLAGS+= -I${.CURDIR}/../ktrace -I${.CURDIR} -I${.CURDIR}/../.. -I${.CURDIR}/../../sys
9 CFLAGS+= -I${.CURDIR}/../../sys/dev/drm/include
10 CFLAGS+= -I${.CURDIR}/../../sys/contrib/dev/acpica/source/include
12 CLEANFILES= ioctl.c kdump_subr.c
14 .if make(test)
15 SFLAG= -s
16 test: all
17 .endif
19 ioctl.c!
20 sh ${.CURDIR}/mkioctls ${SFLAG} ${DESTDIR}/usr/include ${.CURDIR} > ${.TARGET}
22 kdump_subr.c!
23 sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include > ${.TARGET}
25 .include <bsd.prog.mk>