1# $NetBSD: Makefile,v 1.16 2021/09/15 17:33:08 thorpej Exp $ 2 3# use 'make -f Makefile.pcidevs' to make pcidevs.h and pcidevs_data.h 4 5INCSDIR= /usr/include/dev/pci 6 7# Only install includes which are used by userland 8INCS= amrreg.h amrio.h mlyio.h mlyreg.h \ 9 pcidevs.h pcidevs_data.h pciio.h pcireg.h \ 10 tgareg.h twereg.h tweio.h 11 12pci_calls.h: ${.CURDIR}/pci_calls 13 echo "${TOOL_AWK} -f ${.CURDIR}/../../kern/gendevcalls.awk \ 14 ${.CURDIR}/pci_calls > ${.CURDIR}/pci_calls.h" 15 ${TOOL_AWK} -f ${.CURDIR}/../../kern/gendevcalls.awk \ 16 ${.CURDIR}/pci_calls > ${.CURDIR}/pci_calls.h 17 18.include <bsd.kinc.mk> 19