1 # $NetBSD: Makefile,v 1.4 2014/08/22 14:28:58 pooka Exp $ 2 # 3 4 RUMPTOP= ${TOPRUMP} 5 6 .PATH: ${RUMPTOP}/../dev/pci 7 8 LIB= rumpdev_pci 9 IOCONF= PCI.ioconf 10 11 SRCS+= pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c 12 SRCS+= pcibusprint.c 13 14 SRCS+= rumpdev_pci.c 15 16 # ok, these don't _really_ belong here, but it's the only 17 # place they're currently useful, so let it slide 18 SRCS+= rumpdev_bus_space.c 19 SRCS+= rumpdev_bus_dma.c 20 21 SRCS+= pci_at_mainbus.c 22 23 CPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpkern 24 CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs 25 26 .if ${RUMP_PCI_IOSPACE:Uno} == "yes" 27 CPPFLAGS+=-DRUMP_PCI_IOSPACE 28 .endif 29 30 .if defined(RUMP_PCI_USER) 31 RUMPCOMP_USER_SRCS= ${RUMP_PCI_USER} 32 RUMPCOMP_INCS_DIR:= ${.PARSEDIR} 33 RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR} 34 .endif 35 36 .include "${RUMPTOP}/Makefile.rump" 37 .include <bsd.lib.mk> 38 .include <bsd.klinks.mk> 39