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