xref: /haiku/src/add-ons/kernel/drivers/midi/usb_midi/Jamfile (revision 820dca4df6c7bf955c46e8f6521b9408f50b2900)
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