SubDir HAIKU_TOP src kits midi ; SetSubDirSupportedPlatformsBeOSCompatible ; if $(TARGET_PLATFORM) != haiku { UseHeaders [ FDirName $(HAIKU_TOP) headers os midi ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers os midi2 ] : true ; UseHeaders [ FDirName $(HAIKU_TOP) headers os ] : true ; } UsePrivateHeaders midi ; local architectureObject ; for architectureObject in [ MultiArchSubDirSetup ] { on $(architectureObject) { if ! [ FIsBuildFeatureEnabled fluidlite ] { continue ; } UseBuildFeatureHeaders fluidlite ; Includes [ FGristFiles MidiSynth.cpp MidiSynthFile.cpp SoftSynth.cpp Synth.cpp ] : [ BuildFeatureAttribute fluidlite : headers ] ; SharedLibrary [ MultiArchDefaultGristFiles libmidi.so ] : Midi.cpp MidiGlue.cpp MidiPort.cpp MidiSettings.cpp MidiStore.cpp MidiSynth.cpp MidiSynthFile.cpp MidiText.cpp Samples.cpp SoftSynth.cpp Synth.cpp : be midi2 media [ BuildFeatureAttribute libvorbis : library ] [ BuildFeatureAttribute fluidlite : library ] [ TargetLibsupc++ ] ; } }