1SubDir HAIKU_TOP src kits bluetooth ;
2
3#if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
4#       UseHeaders [ FDirName $(HAIKU_TOP) headers os ] : true ;
5#}
6
7UsePrivateHeaders shared bluetooth ;
8
9SubDirHdrs [ FDirName $(SUBDIR) UI ] ;
10
11local architectureObject ;
12for architectureObject in [ MultiArchSubDirSetup ] {
13	on $(architectureObject) {
14
15		SEARCH_SOURCE += [ FDirName $(SUBDIR) UI ] ;
16
17		SharedLibrary [ MultiArchDefaultGristFiles libbluetooth.so ] :
18			LocalDevice.cpp
19			DiscoveryListener.cpp
20			DiscoveryAgent.cpp
21			RemoteDevice.cpp
22			CommandManager.cpp
23			KitSupport.cpp
24			DeviceClass.cpp
25			#UI
26			PincodeWindow.cpp
27			ConnectionIncoming.cpp
28			ConnectionView.cpp
29			BluetoothIconView.cpp
30			:
31			be localestub [ TargetLibstdc++ ]
32		;
33	}
34}
35
36DoCatalogs libbluetooth.so :
37	x-vnd.Haiku-Bluetooth
38	:
39	DeviceClass.cpp
40	RemoteDevice.cpp
41;
42