xref: /haiku/src/kits/media/Jamfile (revision 0ba82236bdd42192c263fcda6e1ba8475d0d88ac)
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
278c767985SDario Casalinuovo			MediaIO.cpp
28b660d95fSDario Casalinuovo			AdapterIO.cpp
2919f0c92eSIngo Weinhold
3019f0c92eSIngo Weinhold			# Public Media Kit
3119f0c92eSIngo Weinhold			Buffer.cpp
3219f0c92eSIngo Weinhold			BufferConsumer.cpp
3319f0c92eSIngo Weinhold			BufferGroup.cpp
3419f0c92eSIngo Weinhold			BufferProducer.cpp
3519f0c92eSIngo Weinhold			Controllable.cpp
3619f0c92eSIngo Weinhold			FileInterface.cpp
3719f0c92eSIngo Weinhold			MediaAddOn.cpp
3819f0c92eSIngo Weinhold			MediaDecoder.cpp
3919f0c92eSIngo Weinhold			MediaDefs.cpp
4019f0c92eSIngo Weinhold			MediaEncoder.cpp
4119f0c92eSIngo Weinhold			MediaEventLooper.cpp
4219f0c92eSIngo Weinhold			MediaFile.cpp
4319f0c92eSIngo Weinhold			MediaFiles.cpp
4419f0c92eSIngo Weinhold			MediaFormats.cpp
4519f0c92eSIngo Weinhold			MediaNode.cpp
4619f0c92eSIngo Weinhold			MediaRoster.cpp
4719f0c92eSIngo Weinhold			MediaTheme.cpp
4819f0c92eSIngo Weinhold			MediaTrack.cpp
4919f0c92eSIngo Weinhold			ParameterWeb.cpp
5019f0c92eSIngo Weinhold			PlaySound.cpp
5119f0c92eSIngo Weinhold			RealtimeAlloc.cpp
5219f0c92eSIngo Weinhold			Sound.cpp
5319f0c92eSIngo Weinhold			SoundFile.cpp
5419f0c92eSIngo Weinhold			SoundPlayer.cpp
5519f0c92eSIngo Weinhold			TimeCode.cpp
5619f0c92eSIngo Weinhold			TimedEventQueue.cpp
5719f0c92eSIngo Weinhold			TimeSource.cpp
5819f0c92eSIngo Weinhold
5919f0c92eSIngo Weinhold			# Internal Functionality
602feaa37fSAdrien Destugues			AddOnManager.cpp
619dec2310SAxel Dörfler			BufferCache.cpp
62f4925104Sbeveloper			DataExchange.cpp
639a232d4eSbeveloper			DefaultMediaTheme.cpp
6419f0c92eSIngo Weinhold			DormantNodeManager.cpp
652feaa37fSAdrien Destugues			FormatManager.cpp
66683cf2ffSHamish Morrison			MediaRecorderNode.cpp
67f4925104Sbeveloper			Notifications.cpp
686cafce94SAxel Dörfler			request_data.cpp
6919f0c92eSIngo Weinhold			SharedBufferList.cpp
7019f0c92eSIngo Weinhold			TrackReader.cpp
7119f0c92eSIngo Weinhold			TimedEventQueuePrivate.cpp
72287f7492Sbeveloper			TimeSourceObject.cpp
73287f7492Sbeveloper			TimeSourceObjectManager.cpp
7419f0c92eSIngo Weinhold			SoundPlayNode.cpp
7519f0c92eSIngo Weinhold
76505e5a0bSAxel Dörfler			# Old (R3) Media Kit (built only for GCC2)
77505e5a0bSAxel Dörfler			OldAudioModule.cpp
78505e5a0bSAxel Dörfler			OldAudioStream.cpp
79505e5a0bSAxel Dörfler			OldBufferStream.cpp
80505e5a0bSAxel Dörfler			OldBufferStreamManager.cpp
81505e5a0bSAxel Dörfler			OldMediaModule.cpp
82505e5a0bSAxel Dörfler			OldSubscriber.cpp
83ca16f5cbSbeveloper
84ca16f5cbSbeveloper			# Codec Plugin API
855c91a281Sbeveloper			ChunkCache.cpp
86ca16f5cbSbeveloper			DecoderPlugin.cpp
87f3d79634SStephan Aßmus			EncoderPlugin.cpp
88d8591482Sbeveloper			MediaExtractor.cpp
895c91a281Sbeveloper			MediaPlugin.cpp
90a07b059bSStephan Aßmus			MediaWriter.cpp
910f741a83Sbeveloper			PluginManager.cpp
925c91a281Sbeveloper			ReaderPlugin.cpp
9363e1708eSDario Casalinuovo			StreamerPlugin.cpp
94f3d79634SStephan Aßmus			WriterPlugin.cpp
95338b8dc3SIngo Weinhold			:
96*0ba82236SDario Casalinuovo			be localestub shared bnetapi
97*0ba82236SDario Casalinuovo			[ TargetLibsupc++ ] [ TargetLibstdc++ ]
9819f0c92eSIngo Weinhold			;
99225b6382SIngo Weinhold	}
100225b6382SIngo Weinhold}
101