1
0
mirror of https://github.com/openbsd/src.git synced 2024-12-22 07:27:59 -08:00
openbsd-src/usr.bin/kdump/Makefile
kn fd5191fa13 Include <dev/efi/efiio.h> to pretty print EFIIOC_* ioctls
No base usage yet, only efivar(1) from sysutils/efivar.

OK guenther
2023-11-20 17:48:27 +00:00

59 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.39 2023/11/20 17:48:27 kn Exp $
LDSTATIC=${STATIC}
PROG= kdump
SYS_DIR=${.CURDIR}/../../sys
CFLAGS+=-I${.CURDIR}/../ktrace -I${.CURDIR} -I${SYS_DIR}
SRCS= kdump.c ioctl.c kdump_subr.c subr.c ktrstruct.c
.PATH: ${.CURDIR}/../ktrace
CLEANFILES+=ioctl.c kdump_subr.c
ioctl.c: ${.CURDIR}/Makefile ${.CURDIR}/mkioctls
CC="${CC}" \
/bin/sh ${.CURDIR}/mkioctls \
${SYS_DIR}/dev/biovar.h \
${SYS_DIR}/dev/efi/efiio.h \
${SYS_DIR}/dev/ipmi.h \
${SYS_DIR}/dev/pci/drm/include/uapi/drm/i915_drm.h \
${SYS_DIR}/dev/pv/pvvar.h \
${SYS_DIR}/dev/usb/udlio.h \
${SYS_DIR}/dev/usb/usb.h \
${SYS_DIR}/dev/vndioctl.h \
${SYS_DIR}/dev/vscsivar.h \
${SYS_DIR}/dev/wscons/wsconsio.h \
${SYS_DIR}/miscfs/fuse/fusefs.h \
${SYS_DIR}/net/bpf.h \
${SYS_DIR}/net/if_ppp.h \
${SYS_DIR}/net/if_pppoe.h \
${SYS_DIR}/net/if_trunk.h \
${SYS_DIR}/net/if_tun.h \
${SYS_DIR}/net/if_wg.h \
${SYS_DIR}/net/pfvar.h \
${SYS_DIR}/net/pipex.h \
${SYS_DIR}/net80211/ieee80211_ioctl.h \
${SYS_DIR}/netinet6/in6_var.h \
${SYS_DIR}/sys/ataio.h \
${SYS_DIR}/sys/audioio.h \
${SYS_DIR}/sys/cdio.h \
${SYS_DIR}/sys/chio.h \
${SYS_DIR}/sys/dkio.h \
${SYS_DIR}/sys/filio.h \
${SYS_DIR}/sys/gpio.h \
${SYS_DIR}/sys/ioctl.h \
${SYS_DIR}/sys/kcov.h \
${SYS_DIR}/sys/memrange.h \
${SYS_DIR}/sys/mtio.h \
${SYS_DIR}/sys/pciio.h \
${SYS_DIR}/sys/radioio.h \
${SYS_DIR}/sys/scsiio.h \
${SYS_DIR}/sys/sockio.h \
${SYS_DIR}/sys/syslog.h \
${SYS_DIR}/sys/tty.h \
${SYS_DIR}/sys/videoio.h \
> ioctl.c
kdump_subr.c: ${.CURDIR}/mksubr
sh ${.CURDIR}/mksubr ${SYS_DIR} > ${.TARGET}
.include <bsd.prog.mk>