Makefile revision 1.4
1# $NetBSD: Makefile,v 1.4 2014/08/22 14:28:58 pooka Exp $ 2# 3 4RUMPTOP= ${TOPRUMP} 5 6.PATH: ${RUMPTOP}/../dev/pci 7 8LIB= rumpdev_pci 9IOCONF= PCI.ioconf 10 11SRCS+= pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c 12SRCS+= pcibusprint.c 13 14SRCS+= 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 18SRCS+= rumpdev_bus_space.c 19SRCS+= rumpdev_bus_dma.c 20 21SRCS+= pci_at_mainbus.c 22 23CPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpkern 24CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs 25 26.if ${RUMP_PCI_IOSPACE:Uno} == "yes" 27CPPFLAGS+=-DRUMP_PCI_IOSPACE 28.endif 29 30.if defined(RUMP_PCI_USER) 31RUMPCOMP_USER_SRCS= ${RUMP_PCI_USER} 32RUMPCOMP_INCS_DIR:= ${.PARSEDIR} 33RUMPCOMP_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