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