xref: /haiku/src/add-ons/kernel/drivers/bluetooth/h2/h2generic/Jamfile (revision 2cad94c1c30b6223ad8c08710b26e071d32e9979)
1SubDir HAIKU_TOP src add-ons kernel drivers bluetooth h2 h2generic ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UsePrivateHeaders net kernel bluetooth ;
6UsePrivateKernelHeaders ;
7
8local r5_src =  ;
9if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
10	UseHeaders [ FDirName $(HAIKU_TOP) headers os bluetooth ] : true ;
11	# HACKs HACKs HACKs...
12	# for <bluetooth/*> ...
13        UseHeaders [ FDirName $(HAIKU_TOP) headers os ] : true ;
14	# for <net/*> hmmm...
15	UseHeaders [ FDirName $(HAIKU_TOP) headers private ] : true ;
16	# for USB_spec.h from Haiku
17	UseHeaders [ FDirName $(HAIKU_TOP) headers os drivers ] : true ;
18	r5_src = list.c ;
19}
20
21KernelAddon h2generic :
22	h2generic.cpp
23	h2transactions.cpp
24	h2upper.cpp
25	h2util.cpp
26	snet_buffer.cpp
27	$(r5_src)
28	;
29
30SEARCH on [ FGristFiles $(r5_src)
31        ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
32