xref: /haiku/src/add-ons/kernel/drivers/midi/usb_midi/Jamfile (revision d3d8b26997fac34a84981e6d2b649521de2cc45a)
1SubDir HAIKU_TOP src add-ons kernel drivers midi usb_midi ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5if $(TARGET_PLATFORM) != haiku {
6	UseHeaders [ FDirName $(HAIKU_TOP) headers os drivers ] : true ;
7                # We need the public usb headers also when not compiling for Haiku.
8}
9
10KernelAddon usb_midi : kernel drivers bin :
11	usb_midi.c
12	devlist.c
13;
14
15ObjectHdrs [ FGristFiles usb_midi$(SUFOBJ) ]
16	: [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR) preferences devices ] ;
17
18Includes [ FGristFiles usb_midi.c ] :
19	<src!preferences!devices>usbdevs.h <src!preferences!devices>usbdevs_data.h ;
20
21Package haiku-usbmidi-cvs
22	:
23	usb_midi
24	:
25	boot home config add-ons kernel drivers bin ;
26
27PackageDriverSymLink haiku-usbmidi-cvs : midi usb_midi ;
28
29