Makefile revision 1.8
11.8Spooka#	$NetBSD: Makefile,v 1.8 2015/10/19 16:16:33 pooka Exp $
21.1Spooka#
31.1Spooka
41.1SpookaRUMPTOP= ${TOPRUMP}
51.1Spooka
61.5Spooka.include <bsd.own.mk>
71.5Spooka
81.1Spooka.PATH:	${RUMPTOP}/../dev/pci
91.1Spooka
101.1SpookaLIB=	rumpdev_pci
111.8SpookaCOMMENT=PCI bus support
121.8Spooka
131.1SpookaIOCONF=	PCI.ioconf
141.1Spooka
151.1SpookaSRCS+=	pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c
161.1SpookaSRCS+=	pcibusprint.c
171.1Spooka
181.1SpookaSRCS+=	rumpdev_pci.c
191.1Spooka
201.1Spooka# ok, these don't _really_ belong here, but it's the only
211.1Spooka# place they're currently useful, so let it slide
221.1SpookaSRCS+=	rumpdev_bus_space.c
231.1SpookaSRCS+=	rumpdev_bus_dma.c
241.1Spooka
251.1SpookaSRCS+=	pci_at_mainbus.c
261.1Spooka
271.7SpookaCPPFLAGS+= -I${RUMPTOP}/librump/rumpkern
281.2SpookaCPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs
291.1Spooka
301.4Spooka.if ${RUMP_PCI_IOSPACE:Uno} == "yes"
311.6Spooka.error RUMP_PCI_IOSPACE defined in Makefile.  Use userfeatures.h instead.
321.4Spooka.endif
331.4Spooka
341.5Spooka.PATH:			${RUMPCOMP_USER_PATH.rumpdev_pci}
351.5SpookaRUMPCOMP_USER_SRCS=	${RUMPCOMP_USER_SRCS.rumpdev_pci}
361.5SpookaMYDIR:=			${.PARSEDIR}
371.5SpookaRUMPCOMP_USER_CPPFLAGS=	-I${MYDIR}
381.5SpookaRUMPCOMP_USER_CPPFLAGS+=${RUMPCOMP_USER_CPPFLAGS.rumpdev_pci}
391.5SpookaRUMPCOMP_USER_CFLAGS=	${RUMPCOMP_USER_CFLAGS.rumpdev_pci}
401.5Spooka
411.5SpookaCPPFLAGS+=		${RUMPCOMP_CPPFLAGS.rumpdev_pci}
421.5Spooka
431.5Spooka# XXX: messy
441.5Spooka.undef RUMPKERN_ONLY
451.1Spooka
461.1Spooka.include "${RUMPTOP}/Makefile.rump"
471.1Spooka.include <bsd.lib.mk>
481.1Spooka.include <bsd.klinks.mk>
49