Cross Reference: Makefile
xref: /src/sys/rump/dev/lib/libpci/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sys/rump/dev/lib/libpci/
Makefile revision 1.7
1#	$NetBSD: Makefile,v 1.7 2015/08/24 23:21:50 pooka Exp $
2#
3
4RUMPTOP= ${TOPRUMP}
5
6.include <bsd.own.mk>
7
8.PATH:	${RUMPTOP}/../dev/pci
9
10LIB=	rumpdev_pci
11IOCONF=	PCI.ioconf
12
13SRCS+=	pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c
14SRCS+=	pcibusprint.c
15
16SRCS+=	rumpdev_pci.c
17
18# ok, these don't _really_ belong here, but it's the only
19# place they're currently useful, so let it slide
20SRCS+=	rumpdev_bus_space.c
21SRCS+=	rumpdev_bus_dma.c
22
23SRCS+=	pci_at_mainbus.c
24
25CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern
26CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs
27
28.if ${RUMP_PCI_IOSPACE:Uno} == "yes"
29.error RUMP_PCI_IOSPACE defined in Makefile.  Use userfeatures.h instead.
30.endif
31
32.PATH:			${RUMPCOMP_USER_PATH.rumpdev_pci}
33RUMPCOMP_USER_SRCS=	${RUMPCOMP_USER_SRCS.rumpdev_pci}
34MYDIR:=			${.PARSEDIR}
35RUMPCOMP_USER_CPPFLAGS=	-I${MYDIR}
36RUMPCOMP_USER_CPPFLAGS+=${RUMPCOMP_USER_CPPFLAGS.rumpdev_pci}
37RUMPCOMP_USER_CFLAGS=	${RUMPCOMP_USER_CFLAGS.rumpdev_pci}
38
39CPPFLAGS+=		${RUMPCOMP_CPPFLAGS.rumpdev_pci}
40
41# XXX: messy
42.undef RUMPKERN_ONLY
43
44.include "${RUMPTOP}/Makefile.rump"
45.include <bsd.lib.mk>
46.include <bsd.klinks.mk>
47

Indexes created Mon Jan 12 22:09:36 GMT 2026