1SubDir HAIKU_TOP src kits media ; 2 3SetSubDirSupportedPlatformsBeOSCompatible ; 4 5if $(TARGET_PLATFORM) != haiku { 6 UseHeaders [ FDirName $(HAIKU_TOP) headers os media ] : true ; 7 # We need the public media headers also when not compiling for Haiku. 8} 9 10UsePrivateHeaders app media shared ; 11 12if $(CHECK_MALLOC) { 13 SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ; 14} 15 16local architectureObject ; 17for architectureObject in [ MultiArchSubDirSetup ] { 18 on $(architectureObject) { 19 SharedLibrary [ MultiArchDefaultGristFiles libmedia.so ] : 20 # Private Media Kit 21 !missing_symbols.cpp 22 SoundConsumer.cpp 23 24 # Public Media Kit 25 Buffer.cpp 26 BufferConsumer.cpp 27 BufferGroup.cpp 28 BufferProducer.cpp 29 Controllable.cpp 30 FileInterface.cpp 31 MediaAddOn.cpp 32 MediaDecoder.cpp 33 MediaDefs.cpp 34 MediaEncoder.cpp 35 MediaEventLooper.cpp 36 MediaFile.cpp 37 MediaFiles.cpp 38 MediaFormats.cpp 39 MediaNode.cpp 40 MediaRoster.cpp 41 MediaTheme.cpp 42 MediaTrack.cpp 43 ParameterWeb.cpp 44 PlaySound.cpp 45 RealtimeAlloc.cpp 46 Sound.cpp 47 SoundFile.cpp 48 SoundPlayer.cpp 49 TimeCode.cpp 50 TimedEventQueue.cpp 51 TimeSource.cpp 52 53 # Internal Functionality 54 BufferCache.cpp 55 DataExchange.cpp 56 DefaultMediaTheme.cpp 57 DormantNodeManager.cpp 58 Notifications.cpp 59 request_data.cpp 60 SharedBufferList.cpp 61 TrackReader.cpp 62 TimedEventQueuePrivate.cpp 63 TimeSourceObject.cpp 64 TimeSourceObjectManager.cpp 65 SoundPlayNode.cpp 66 SoundUtils.cpp 67 68 # Old (R3) Media Kit (built only for GCC2) 69 OldAudioModule.cpp 70 OldAudioStream.cpp 71 OldBufferStream.cpp 72 OldBufferStreamManager.cpp 73 OldMediaModule.cpp 74 OldSubscriber.cpp 75 76 # Codec Plugin API 77 ChunkCache.cpp 78 DecoderPlugin.cpp 79 EncoderPlugin.cpp 80 MediaExtractor.cpp 81 MediaPlugin.cpp 82 MediaWriter.cpp 83 PluginManager.cpp 84 ReaderPlugin.cpp 85 WriterPlugin.cpp 86 : 87 be $(TARGET_LIBSUPC++) $(TARGET_LIBSTDC++) 88 ; 89 } 90} 91