xref: /haiku/src/kits/media/Jamfile (revision 9bd024edbe5d06358e4285100a3240e4d138a712)
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			MediaRecorder.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			AddOnManager.cpp
55			BufferCache.cpp
56			DataExchange.cpp
57			DefaultMediaTheme.cpp
58			DormantNodeManager.cpp
59			FormatManager.cpp
60			MediaRecorderNode.cpp
61			Notifications.cpp
62			request_data.cpp
63			SharedBufferList.cpp
64			TrackReader.cpp
65			TimedEventQueuePrivate.cpp
66			TimeSourceObject.cpp
67			TimeSourceObjectManager.cpp
68			SoundPlayNode.cpp
69
70			# Old (R3) Media Kit (built only for GCC2)
71			OldAudioModule.cpp
72			OldAudioStream.cpp
73			OldBufferStream.cpp
74			OldBufferStreamManager.cpp
75			OldMediaModule.cpp
76			OldSubscriber.cpp
77
78			# Codec Plugin API
79			ChunkCache.cpp
80			DecoderPlugin.cpp
81			EncoderPlugin.cpp
82			MediaExtractor.cpp
83			MediaPlugin.cpp
84			MediaWriter.cpp
85			PluginManager.cpp
86			ReaderPlugin.cpp
87			WriterPlugin.cpp
88			:
89			be [ TargetLibsupc++ ] [ TargetLibstdc++ ]
90			;
91	}
92}
93