xref: /haiku/src/add-ons/kernel/bus_managers/usb/Jamfile (revision 778611c7e6a61b8ba072212756ce53eda826360a)
1SubDir HAIKU_TOP src add-ons kernel bus_managers usb ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5SubDirC++Flags -fno-rtti ;
6
7local compatSources ;
8
9SubDirSysHdrs $(SUBDIR) ;
10if $(TARGET_PLATFORM) != haiku {
11	UsePrivateHeaders kernel ;
12	UsePublicHeaders drivers ;
13	if ! $(HOST_PLATFORM_HAIKU_COMPATIBLE) {
14		compatSources = kernel_cpp.cpp ;
15	}
16} else {
17	UsePrivateKernelHeaders ;
18}
19
20KernelStaticLibrary libusb.a :
21	Stack.cpp
22	Device.cpp
23	Hub.cpp
24	BusManager.cpp
25	Transfer.cpp
26	Pipe.cpp
27	Interface.cpp
28	Object.cpp
29	PhysicalMemoryAllocator.cpp
30	$(compatSources)
31;
32
33KernelAddon usb :
34	usb.cpp
35	: libusb.a
36	: usb.rdef
37	;
38
39SEARCH on [ FGristFiles $(compatSources) ]
40	= [ FDirName $(HAIKU_TOP) src system kernel util ] ;
41