Annotation of src/usr.bin/kdump/Makefile, Revision 1.26
1.26 ! guenther 1: # $OpenBSD: Makefile,v 1.25 2013/11/22 07:50:36 mpi Exp $
1.1 deraadt 2:
1.3 downsj 3: LDSTATIC=${STATIC}
1.1 deraadt 4: PROG= kdump
1.26 ! guenther 5: SYS_DIR=${.CURDIR}/../../sys
! 6: CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR} -I${SYS_DIR}
1.24 guenther 7: SRCS= kdump.c ioctl.c kdump_subr.c subr.c ktrstruct.c
1.1 deraadt 8: .PATH: ${.CURDIR}/../ktrace
1.18 otto 9: CLEANFILES+=ioctl.c kdump_subr.c
1.1 deraadt 10:
1.13 mickey 11: ioctl.c: ${.CURDIR}/Makefile ${.CURDIR}/mkioctls
1.20 deraadt 12: CC="${CC}" \
1.26 ! guenther 13: /bin/sh ${.CURDIR}/mkioctls ${SYS_DIR}/sys/ioctl.h \
! 14: ${SYS_DIR}/sys/ioctl_compat.h \
! 15: ${SYS_DIR}/crypto/cryptodev.h \
! 16: ${SYS_DIR}/dev/biovar.h \
! 17: ${SYS_DIR}/dev/systrace.h \
! 18: ${SYS_DIR}/dev/wscons/wsconsio.h \
! 19: ${SYS_DIR}/dev/vndioctl.h \
! 20: ${SYS_DIR}/dev/pci/drm/drm.h \
! 21: ${SYS_DIR}/dev/usb/usb.h \
! 22: ${SYS_DIR}/net/bpf.h \
! 23: ${SYS_DIR}/net/if_ppp.h \
! 24: ${SYS_DIR}/net/if_pppoe.h \
! 25: ${SYS_DIR}/net/if_tun.h \
! 26: ${SYS_DIR}/net/pfvar.h \
! 27: ${SYS_DIR}/net80211/ieee80211_ioctl.h \
! 28: ${SYS_DIR}/netinet6/in6_var.h \
! 29: ${SYS_DIR}/sys/tty.h \
! 30: ${SYS_DIR}/sys/agpio.h \
! 31: ${SYS_DIR}/sys/ataio.h \
! 32: ${SYS_DIR}/sys/audioio.h \
! 33: ${SYS_DIR}/sys/cdio.h \
! 34: ${SYS_DIR}/sys/chio.h \
! 35: ${SYS_DIR}/sys/dkio.h \
! 36: ${SYS_DIR}/sys/filio.h \
! 37: ${SYS_DIR}/sys/gpio.h \
! 38: ${SYS_DIR}/sys/mtio.h \
! 39: ${SYS_DIR}/sys/pciio.h \
! 40: ${SYS_DIR}/sys/radioio.h \
! 41: ${SYS_DIR}/sys/scanio.h \
! 42: ${SYS_DIR}/sys/scsiio.h \
! 43: ${SYS_DIR}/sys/sockio.h \
! 44: ${SYS_DIR}/sys/videoio.h \
! 45: > ioctl.c
1.18 otto 46:
47: kdump_subr.c: ${.CURDIR}/mksubr
1.26 ! guenther 48: sh ${.CURDIR}/mksubr ${SYS_DIR} > ${.TARGET}
1.1 deraadt 49:
50: .include <bsd.prog.mk>