1SubDir HAIKU_TOP src kits midi2 ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5if $(TARGET_PLATFORM) != haiku { 6 UseHeaders [ FDirName $(HAIKU_TOP) headers os midi2 ] : true ; 7 UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ; 8} 9 10UsePrivateHeaders midi ; 11 12local architectureObject ; 13for architectureObject in [ MultiArchSubDirSetup ] { 14 on $(architectureObject) { 15 SharedLibrary [ MultiArchDefaultGristFiles libmidi2.so ] : 16 MidiConsumer.cpp 17 MidiEndpoint.cpp 18 MidiLocalConsumer.cpp 19 MidiLocalProducer.cpp 20 MidiProducer.cpp 21 MidiRoster.cpp 22 MidiRosterLooper.cpp 23 : 24 be [ TargetLibsupc++ ] 25 ; 26 } 27} 28