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