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