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