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 ; 12UseLibraryHeaders fluidsynth ; 13 14local architectureObject ; 15for architectureObject in [ MultiArchSubDirSetup ] { 16 on $(architectureObject) { 17 SharedLibrary [ MultiArchDefaultGristFiles libmidi.so ] : 18 Midi.cpp 19 MidiGlue.cpp 20 MidiPort.cpp 21 MidiStore.cpp 22 MidiSynth.cpp 23 MidiSynthFile.cpp 24 MidiText.cpp 25 Samples.cpp 26 SoftSynth.cpp 27 Synth.cpp 28 : 29 be 30 midi2 31 media 32 [ MultiArchDefaultGristFiles libfluidsynth.so ] 33 [ TargetLibsupc++ ] 34 ; 35 } 36} 37