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