Home | History | Annotate | Line # | Download | only in libpci
Makefile revision 1.4.2.1
      1  1.4.2.1  skrll #	$NetBSD: Makefile,v 1.4.2.1 2015/06/06 14:40:26 skrll Exp $
      2      1.1  pooka #
      3      1.1  pooka 
      4      1.1  pooka RUMPTOP= ${TOPRUMP}
      5      1.1  pooka 
      6  1.4.2.1  skrll .include <bsd.own.mk>
      7  1.4.2.1  skrll 
      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.4.2.1  skrll .PATH:			${RUMPCOMP_USER_PATH.rumpdev_pci}
     33  1.4.2.1  skrll RUMPCOMP_USER_SRCS=	${RUMPCOMP_USER_SRCS.rumpdev_pci}
     34  1.4.2.1  skrll MYDIR:=			${.PARSEDIR}
     35  1.4.2.1  skrll RUMPCOMP_USER_CPPFLAGS=	-I${MYDIR}
     36  1.4.2.1  skrll RUMPCOMP_USER_CPPFLAGS+=${RUMPCOMP_USER_CPPFLAGS.rumpdev_pci}
     37  1.4.2.1  skrll RUMPCOMP_USER_CFLAGS=	${RUMPCOMP_USER_CFLAGS.rumpdev_pci}
     38  1.4.2.1  skrll 
     39  1.4.2.1  skrll CPPFLAGS+=		${RUMPCOMP_CPPFLAGS.rumpdev_pci}
     40  1.4.2.1  skrll 
     41  1.4.2.1  skrll # XXX: messy
     42  1.4.2.1  skrll .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