mirror of
https://github.com/Stichting-MINIX-Research-Foundation/netbsd.git
synced 2025-08-10 14:39:47 -04:00
47 lines
1.1 KiB
Makefile
47 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2015/08/24 23:21:50 pooka Exp $
|
|
#
|
|
|
|
RUMPTOP= ${TOPRUMP}
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.PATH: ${RUMPTOP}/../dev/pci
|
|
|
|
LIB= rumpdev_pci
|
|
IOCONF= PCI.ioconf
|
|
|
|
SRCS+= pci.c pci_map.c pci_quirks.c pci_subr.c pci_stub.c pci_usrreq.c
|
|
SRCS+= pcibusprint.c
|
|
|
|
SRCS+= rumpdev_pci.c
|
|
|
|
# ok, these don't _really_ belong here, but it's the only
|
|
# place they're currently useful, so let it slide
|
|
SRCS+= rumpdev_bus_space.c
|
|
SRCS+= rumpdev_bus_dma.c
|
|
|
|
SRCS+= pci_at_mainbus.c
|
|
|
|
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern
|
|
CPPFLAGS+= -I${RUMPTOP}/librump/rumpvfs
|
|
|
|
.if ${RUMP_PCI_IOSPACE:Uno} == "yes"
|
|
.error RUMP_PCI_IOSPACE defined in Makefile. Use userfeatures.h instead.
|
|
.endif
|
|
|
|
.PATH: ${RUMPCOMP_USER_PATH.rumpdev_pci}
|
|
RUMPCOMP_USER_SRCS= ${RUMPCOMP_USER_SRCS.rumpdev_pci}
|
|
MYDIR:= ${.PARSEDIR}
|
|
RUMPCOMP_USER_CPPFLAGS= -I${MYDIR}
|
|
RUMPCOMP_USER_CPPFLAGS+=${RUMPCOMP_USER_CPPFLAGS.rumpdev_pci}
|
|
RUMPCOMP_USER_CFLAGS= ${RUMPCOMP_USER_CFLAGS.rumpdev_pci}
|
|
|
|
CPPFLAGS+= ${RUMPCOMP_CPPFLAGS.rumpdev_pci}
|
|
|
|
# XXX: messy
|
|
.undef RUMPKERN_ONLY
|
|
|
|
.include "${RUMPTOP}/Makefile.rump"
|
|
.include <bsd.lib.mk>
|
|
.include <bsd.klinks.mk>
|