1SubDir HAIKU_TOP src kits midi ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5if $(TARGET_PLATFORM) != haiku { 6 UseHeaders [ FDirName $(HAIKU_TOP) headers os midi ] : true ; 7 UseHeaders [ FDirName $(HAIKU_TOP) headers os midi2 ] : true ; 8 UseHeaders [ FDirName $(HAIKU_TOP) headers os ] : true ; 9} 10 11UsePrivateHeaders midi ; 12 13 14local architectureObject ; 15for architectureObject in [ MultiArchSubDirSetup ] { 16 on $(architectureObject) { 17 if ! [ FIsBuildFeatureEnabled fluidlite ] { 18 continue ; 19 } 20 21 UseBuildFeatureHeaders fluidlite ; 22 Includes [ FGristFiles MidiSynth.cpp MidiSynthFile.cpp 23 SoftSynth.cpp Synth.cpp ] 24 : [ BuildFeatureAttribute fluidlite : headers ] ; 25 26 SharedLibrary [ MultiArchDefaultGristFiles libmidi.so ] : 27 Midi.cpp 28 MidiGlue.cpp 29 MidiPort.cpp 30 MidiSettings.cpp 31 MidiStore.cpp 32 MidiSynth.cpp 33 MidiSynthFile.cpp 34 MidiText.cpp 35 Samples.cpp 36 SoftSynth.cpp 37 Synth.cpp 38 : 39 be 40 midi2 41 media 42 [ BuildFeatureAttribute libvorbis : library ] 43 [ BuildFeatureAttribute fluidlite : library ] 44 [ TargetLibsupc++ ] 45 ; 46 } 47} 48