xref: /haiku/src/add-ons/kernel/bus_managers/pci/Jamfile (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1SubDir HAIKU_TOP src add-ons kernel bus_managers pci ;
2
3UsePrivateHeaders [ FDirName kernel ] ;
4UsePrivateHeaders [ FDirName kernel util ] ;
5
6KernelAddon pci : kernel bus_managers :
7	pci.cpp
8	pci_info.cpp
9	pci_module.c
10	pci_device.c
11	kernel_cpp.cpp
12	: pci_arch_bus_manager.a
13	;
14
15SEARCH on [ FGristFiles
16		kernel_cpp.cpp
17	] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
18
19# pci_info.cpp currently needs pcihdr.h so we make its path available and adds dependency
20ObjectHdrs [ FGristFiles pci_info$(SUFOBJ) ]
21	: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) preferences devices ] ;
22Includes [ FGristFiles pci_info.cpp ] : <src!preferences!devices>pcihdr.h ;
23
24SubInclude HAIKU_TOP src add-ons kernel bus_managers pci arch $(TARGET_ARCH) ;
25