xref: /haiku/src/add-ons/kernel/drivers/input/usb_hid/Jamfile (revision 746cac055adc6ac3308c7bc2d29040fb95689cc9)
1SubDir HAIKU_TOP src add-ons kernel drivers input usb_hid ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5SubDirC++Flags -fno-rtti ;
6
7SubDirSysHdrs $(HAIKU_TOP) headers os drivers ;
8UsePrivateHeaders [ FDirName kernel util ] input ;
9UsePrivateHeaders kernel ;
10
11local buffer_impl = ;
12if ! $(TARGET_PLATFORM_HAIKU_COMPATIBLE) {
13	buffer_impl = ring_buffer.cpp ;
14}
15
16KernelAddon usb_hid :
17	DeviceList.cpp
18	Driver.cpp
19	HIDDevice.cpp
20	KeyboardDevice.cpp
21	MouseDevice.cpp
22	hidparse.c
23	$(buffer_impl)
24;
25
26SEARCH on [ FGristFiles ring_buffer.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
27
28Package haiku-inputkit-cvs :
29        usb_hid :
30        boot home config add-ons kernel drivers bin ;
31
32PackageDriverSymLink haiku-inputkit-cvs : input usb_hid ;
33