xref: /haiku/src/add-ons/kernel/drivers/midi/usb_midi/Jamfile (revision 93e30a47bed879ad448b3e2d9e10333d3f2e60ae)
1SubDir HAIKU_TOP src add-ons kernel drivers midi usb_midi ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5local buffer_impl = ;
6if $(TARGET_PLATFORM) != haiku {
7	UseHeaders [ FDirName $(HAIKU_TOP) headers os drivers ] : true ;
8                # We need the public usb headers also when not compiling for Haiku.
9	buffer_impl = ring_buffer.cpp ;
10}
11UsePrivateHeaders [ FDirName kernel util ] ;
12
13KernelAddon usb_midi :
14	usb_midi.cpp
15	devlist.cpp
16	$(buffer_impl)
17;
18
19SEARCH on [ FGristFiles ring_buffer.cpp ] = [ FDirName $(HAIKU_TOP) src system kernel util ] ;
20
21