xref: /haiku/src/kits/media/Jamfile (revision 8c7679851f61f3e9d32951ea7eff7a89c78f9442)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src kits media ;
219f0c92eSIngo Weinhold
3843a7d9dSJérôme DuvalSetSubDirSupportedPlatformsBeOSCompatible ;
4843a7d9dSJérôme Duval
5843a7d9dSJérôme Duvalif $(TARGET_PLATFORM) != haiku {
6843a7d9dSJérôme Duval	UseHeaders [ FDirName $(HAIKU_TOP) headers os media ] : true ;
7843a7d9dSJérôme Duval		# We need the public media headers also when not compiling for Haiku.
8843a7d9dSJérôme Duval}
9843a7d9dSJérôme Duval
109dec2310SAxel DörflerUsePrivateHeaders app media shared ;
1119f0c92eSIngo Weinhold
12e5c72c15SAxel Dörflerif $(CHECK_MALLOC) {
13e5c72c15SAxel Dörfler	SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
14e5c72c15SAxel Dörfler}
15e5c72c15SAxel Dörfler
16225b6382SIngo Weinholdlocal architectureObject ;
17225b6382SIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup ] {
18225b6382SIngo Weinhold	on $(architectureObject) {
1944cd1f48SDario Casalinuovo
2044cd1f48SDario Casalinuovo		SEARCH_SOURCE += [ FDirName $(SUBDIR) legacy ] ;
2144cd1f48SDario Casalinuovo
22225b6382SIngo Weinhold		SharedLibrary [ MultiArchDefaultGristFiles libmedia.so ] :
2319f0c92eSIngo Weinhold			# Private Media Kit
2419f0c92eSIngo Weinhold			!missing_symbols.cpp
25226be011SDario Casalinuovo			Deprecated.cpp
26739fd34cSBarrett			MediaRecorder.cpp
27*8c767985SDario Casalinuovo			MediaIO.cpp
2819f0c92eSIngo Weinhold
2919f0c92eSIngo Weinhold			# Public Media Kit
3019f0c92eSIngo Weinhold			Buffer.cpp
3119f0c92eSIngo Weinhold			BufferConsumer.cpp
3219f0c92eSIngo Weinhold			BufferGroup.cpp
3319f0c92eSIngo Weinhold			BufferProducer.cpp
3419f0c92eSIngo Weinhold			Controllable.cpp
3519f0c92eSIngo Weinhold			FileInterface.cpp
3619f0c92eSIngo Weinhold			MediaAddOn.cpp
3719f0c92eSIngo Weinhold			MediaDecoder.cpp
3819f0c92eSIngo Weinhold			MediaDefs.cpp
3919f0c92eSIngo Weinhold			MediaEncoder.cpp
4019f0c92eSIngo Weinhold			MediaEventLooper.cpp
4119f0c92eSIngo Weinhold			MediaFile.cpp
4219f0c92eSIngo Weinhold			MediaFiles.cpp
4319f0c92eSIngo Weinhold			MediaFormats.cpp
4419f0c92eSIngo Weinhold			MediaNode.cpp
4519f0c92eSIngo Weinhold			MediaRoster.cpp
4619f0c92eSIngo Weinhold			MediaTheme.cpp
4719f0c92eSIngo Weinhold			MediaTrack.cpp
4819f0c92eSIngo Weinhold			ParameterWeb.cpp
4919f0c92eSIngo Weinhold			PlaySound.cpp
5019f0c92eSIngo Weinhold			RealtimeAlloc.cpp
5119f0c92eSIngo Weinhold			Sound.cpp
5219f0c92eSIngo Weinhold			SoundFile.cpp
5319f0c92eSIngo Weinhold			SoundPlayer.cpp
5419f0c92eSIngo Weinhold			TimeCode.cpp
5519f0c92eSIngo Weinhold			TimedEventQueue.cpp
5619f0c92eSIngo Weinhold			TimeSource.cpp
5719f0c92eSIngo Weinhold
5819f0c92eSIngo Weinhold			# Internal Functionality
592feaa37fSAdrien Destugues			AddOnManager.cpp
609dec2310SAxel Dörfler			BufferCache.cpp
61f4925104Sbeveloper			DataExchange.cpp
629a232d4eSbeveloper			DefaultMediaTheme.cpp
6319f0c92eSIngo Weinhold			DormantNodeManager.cpp
642feaa37fSAdrien Destugues			FormatManager.cpp
65683cf2ffSHamish Morrison			MediaRecorderNode.cpp
66f4925104Sbeveloper			Notifications.cpp
676cafce94SAxel Dörfler			request_data.cpp
6819f0c92eSIngo Weinhold			SharedBufferList.cpp
6919f0c92eSIngo Weinhold			TrackReader.cpp
7019f0c92eSIngo Weinhold			TimedEventQueuePrivate.cpp
71287f7492Sbeveloper			TimeSourceObject.cpp
72287f7492Sbeveloper			TimeSourceObjectManager.cpp
7319f0c92eSIngo Weinhold			SoundPlayNode.cpp
7419f0c92eSIngo Weinhold
75505e5a0bSAxel Dörfler			# Old (R3) Media Kit (built only for GCC2)
76505e5a0bSAxel Dörfler			OldAudioModule.cpp
77505e5a0bSAxel Dörfler			OldAudioStream.cpp
78505e5a0bSAxel Dörfler			OldBufferStream.cpp
79505e5a0bSAxel Dörfler			OldBufferStreamManager.cpp
80505e5a0bSAxel Dörfler			OldMediaModule.cpp
81505e5a0bSAxel Dörfler			OldSubscriber.cpp
82ca16f5cbSbeveloper
83ca16f5cbSbeveloper			# Codec Plugin API
845c91a281Sbeveloper			ChunkCache.cpp
85ca16f5cbSbeveloper			DecoderPlugin.cpp
86f3d79634SStephan Aßmus			EncoderPlugin.cpp
87d8591482Sbeveloper			MediaExtractor.cpp
885c91a281Sbeveloper			MediaPlugin.cpp
89a07b059bSStephan Aßmus			MediaWriter.cpp
900f741a83Sbeveloper			PluginManager.cpp
915c91a281Sbeveloper			ReaderPlugin.cpp
9263e1708eSDario Casalinuovo			StreamerPlugin.cpp
93f3d79634SStephan Aßmus			WriterPlugin.cpp
94338b8dc3SIngo Weinhold			:
958acd164fSDario Casalinuovo			be localestub [ TargetLibsupc++ ] [ TargetLibstdc++ ]
9619f0c92eSIngo Weinhold			;
97225b6382SIngo Weinhold	}
98225b6382SIngo Weinhold}
99