xref: /haiku/src/kits/media/Jamfile (revision b2acee1cb986b696adfad7daabfe9279949a3e54)
1SubDir HAIKU_TOP src kits media ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UsePrivateHeaders app media shared ;
6UsePrivateHeaders [ FDirName media experimental ] ;
7
8if $(CHECK_MALLOC) {
9	SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
10}
11
12local architectureObject ;
13for architectureObject in [ MultiArchSubDirSetup ] {
14	on $(architectureObject) {
15
16		SEARCH_SOURCE += [ FDirName $(SUBDIR) experimental ] ;
17		SEARCH_SOURCE += [ FDirName $(SUBDIR) legacy ] ;
18
19		SharedLibrary [ MultiArchDefaultGristFiles libmedia.so ] :
20			# Public Media Kit
21			Buffer.cpp
22			BufferConsumer.cpp
23			BufferGroup.cpp
24			BufferProducer.cpp
25			Controllable.cpp
26			FileInterface.cpp
27			MediaAddOn.cpp
28			MediaDecoder.cpp
29			MediaDefs.cpp
30			MediaEncoder.cpp
31			MediaEventLooper.cpp
32			MediaFile.cpp
33			MediaFiles.cpp
34			MediaFormats.cpp
35			MediaNode.cpp
36			MediaRecorder.cpp
37			MediaRoster.cpp
38			MediaTheme.cpp
39			MediaTrack.cpp
40			ParameterWeb.cpp
41			PlaySound.cpp
42			RealtimeAlloc.cpp
43			Sound.cpp
44			SoundFile.cpp
45			SoundPlayer.cpp
46			TimeCode.cpp
47			TimedEventQueue.cpp
48			TimeSource.cpp
49
50			# Experimental Media Kit
51			AdapterIO.cpp
52			MediaClient.cpp
53			MediaClientDefs.cpp
54			MediaClientNode.cpp
55			MediaConnection.cpp
56			MediaIO.cpp
57			SimpleMediaClient.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			MediaStreamer.cpp
91			MediaWriter.cpp
92			PluginManager.cpp
93			ReaderPlugin.cpp
94			StreamerPlugin.cpp
95			WriterPlugin.cpp
96
97			# Compat Media Kit
98			!missing_symbols.cpp
99			Deprecated.cpp
100			:
101			be localestub shared
102			[ TargetLibsupc++ ] [ TargetLibstdc++ ]
103			;
104	}
105}
106