Home | History | Annotate | Line # | Download | only in libpci
Makefile revision 1.3.2.2
      1 #	$NetBSD: Makefile,v 1.3.2.2 2014/05/18 17:46:15 rmind Exp $
      2 #
      3 
      4 RUMPTOP= ${TOPRUMP}
      5 
      6 .PATH:	${RUMPTOP}/../dev/pci
      7 
      8 LIB=	rumpdev_pci
      9 IOCONF=	PCI.ioconf
     10 
     11 SRCS+=	pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c
     12 SRCS+=	pcibusprint.c
     13 
     14 SRCS+=	rumpdev_pci.c
     15 
     16 # ok, these don't _really_ belong here, but it's the only
     17 # place they're currently useful, so let it slide
     18 SRCS+=	rumpdev_bus_space.c
     19 SRCS+=	rumpdev_bus_dma.c
     20 
     21 SRCS+=	pci_at_mainbus.c
     22 
     23 CPPFLAGS+= -I${.CURDIR}/opt -I${RUMPTOP}/librump/rumpkern
     24 CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs
     25 
     26 .if defined(RUMP_PCI_USER)
     27 RUMPCOMP_USER_SRCS=	${RUMP_PCI_USER}
     28 RUMPCOMP_INCS_DIR:=	${.PARSEDIR}
     29 RUMPCOMP_USER_CPPFLAGS=-I${RUMPCOMP_INCS_DIR}
     30 .endif
     31 
     32 .include "${RUMPTOP}/Makefile.rump"
     33 .include <bsd.lib.mk>
     34 .include <bsd.klinks.mk>
     35