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 20 SEARCH_SOURCE += [ FDirName $(SUBDIR) legacy ] ; 21 22 SharedLibrary [ MultiArchDefaultGristFiles libmedia.so ] : 23 # Private Media Kit 24 !missing_symbols.cpp 25 Deprecated.cpp 26 MediaRecorder.cpp 27 MediaIO.cpp 28 AdapterIO.cpp 29 30 # Public Media Kit 31 Buffer.cpp 32 BufferConsumer.cpp 33 BufferGroup.cpp 34 BufferProducer.cpp 35 Controllable.cpp 36 FileInterface.cpp 37 MediaAddOn.cpp 38 MediaDecoder.cpp 39 MediaDefs.cpp 40 MediaEncoder.cpp 41 MediaEventLooper.cpp 42 MediaFile.cpp 43 MediaFiles.cpp 44 MediaFormats.cpp 45 MediaNode.cpp 46 MediaRoster.cpp 47 MediaTheme.cpp 48 MediaTrack.cpp 49 ParameterWeb.cpp 50 PlaySound.cpp 51 RealtimeAlloc.cpp 52 Sound.cpp 53 SoundFile.cpp 54 SoundPlayer.cpp 55 TimeCode.cpp 56 TimedEventQueue.cpp 57 TimeSource.cpp 58 59 # Internal Functionality 60 AddOnManager.cpp 61 BufferCache.cpp 62 DataExchange.cpp 63 DefaultMediaTheme.cpp 64 DormantNodeManager.cpp 65 FormatManager.cpp 66 MediaRecorderNode.cpp 67 Notifications.cpp 68 request_data.cpp 69 SharedBufferList.cpp 70 TrackReader.cpp 71 TimedEventQueuePrivate.cpp 72 TimeSourceObject.cpp 73 TimeSourceObjectManager.cpp 74 SoundPlayNode.cpp 75 76 # Old (R3) Media Kit (built only for GCC2) 77 OldAudioModule.cpp 78 OldAudioStream.cpp 79 OldBufferStream.cpp 80 OldBufferStreamManager.cpp 81 OldMediaModule.cpp 82 OldSubscriber.cpp 83 84 # Codec Plugin API 85 ChunkCache.cpp 86 DecoderPlugin.cpp 87 EncoderPlugin.cpp 88 MediaExtractor.cpp 89 MediaPlugin.cpp 90 MediaWriter.cpp 91 PluginManager.cpp 92 ReaderPlugin.cpp 93 StreamerPlugin.cpp 94 WriterPlugin.cpp 95 : 96 be localestub shared [ TargetLibsupc++ ] [ TargetLibstdc++ ] 97 ; 98 } 99} 100