Makefile revision 1.6
11.6Spooka#	$NetBSD: Makefile,v 1.6 2015/06/15 15:38:52 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.1SpookaIOCONF=	PCI.ioconf
121.1Spooka
131.1SpookaSRCS+=	pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c
141.1SpookaSRCS+=	pcibusprint.c
151.1Spooka
161.1SpookaSRCS+=	rumpdev_pci.c
171.1Spooka
181.1Spooka# ok, these don't _really_ belong here, but it's the only
191.1Spooka# place they're currently useful, so let it slide
201.1SpookaSRCS+=	rumpdev_bus_space.c
211.1SpookaSRCS+=	rumpdev_bus_dma.c
221.1Spooka
231.1SpookaSRCS+=	pci_at_mainbus.c
241.1Spooka
251.1SpookaCPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpkern
261.2SpookaCPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs
271.1Spooka
281.4Spooka.if ${RUMP_PCI_IOSPACE:Uno} == "yes"
291.6Spooka.error RUMP_PCI_IOSPACE defined in Makefile.  Use userfeatures.h instead.
301.4Spooka.endif
311.4Spooka
321.5Spooka.PATH:			${RUMPCOMP_USER_PATH.rumpdev_pci}
331.5SpookaRUMPCOMP_USER_SRCS=	${RUMPCOMP_USER_SRCS.rumpdev_pci}
341.5SpookaMYDIR:=			${.PARSEDIR}
351.5SpookaRUMPCOMP_USER_CPPFLAGS=	-I${MYDIR}
361.5SpookaRUMPCOMP_USER_CPPFLAGS+=${RUMPCOMP_USER_CPPFLAGS.rumpdev_pci}
371.5SpookaRUMPCOMP_USER_CFLAGS=	${RUMPCOMP_USER_CFLAGS.rumpdev_pci}
381.5Spooka
391.5SpookaCPPFLAGS+=		${RUMPCOMP_CPPFLAGS.rumpdev_pci}
401.5Spooka
411.5Spooka# XXX: messy
421.5Spooka.undef RUMPKERN_ONLY
431.1Spooka
441.1Spooka.include "${RUMPTOP}/Makefile.rump"
451.1Spooka.include <bsd.lib.mk>
461.1Spooka.include <bsd.klinks.mk>
47