xref: /haiku/src/add-ons/kernel/drivers/input/usb_hid/Jamfile (revision 1564b19c80637a2ba13949db0056215699b7b418)
1SubDir HAIKU_TOP src add-ons kernel drivers input usb_hid ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5SubDirSysHdrs $(HAIKU_TOP) headers os drivers ;
6UsePrivateHeaders [ FDirName kernel util ] input ;
7
8local buffer_impl = ;
9if $(TARGET_PLATFORM) != haiku {
10	buffer_impl = ring_buffer.cpp ;
11}
12
13KernelAddon usb_hid : kernel drivers bin :
14	hid.c
15	hidparse.c
16	devlist.c
17	$(buffer_impl)
18;
19
20SEARCH on [ FGristFiles ring_buffer.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
21
22ObjectHdrs [ FGristFiles hid$(SUFOBJ) ]
23	: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) preferences devices ] ;
24
25Includes [ FGristFiles hid.c ] :
26	<src!preferences!devices>usbdevs.h <src!preferences!devices>usbdevs_data.h ;
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
34