xref: /haiku/src/kits/media/Jamfile (revision 42f51416eb68b0a79f50fe185b6d0ecb064c62dc)
1SubDir HAIKU_TOP src kits media ;
2
3AddResources libmedia.so : libmedia.rdef ;
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			PortPool.cpp
69			request_data.cpp
70			SharedBufferList.cpp
71			TrackReader.cpp
72			TimedEventQueuePrivate.cpp
73			TimeSourceObject.cpp
74			TimeSourceObjectManager.cpp
75			SoundPlayNode.cpp
76
77			# Old (R3) Media Kit (built only for GCC2)
78			OldAudioModule.cpp
79			OldAudioStream.cpp
80			OldBufferStream.cpp
81			OldBufferStreamManager.cpp
82			OldMediaModule.cpp
83			OldSubscriber.cpp
84
85			# Codec Plugin API
86			ChunkCache.cpp
87			DecoderPlugin.cpp
88			EncoderPlugin.cpp
89			MediaExtractor.cpp
90			MediaPlugin.cpp
91			MediaStreamer.cpp
92			MediaWriter.cpp
93			PluginManager.cpp
94			ReaderPlugin.cpp
95			StreamerPlugin.cpp
96			WriterPlugin.cpp
97
98			# Compat Media Kit
99			!missing_symbols.cpp
100			Deprecated.cpp
101			:
102			be localestub shared
103			[ TargetLibsupc++ ] [ TargetLibstdc++ ]
104			;
105	}
106}
107
108DoCatalogs libmedia.so
109	: x-vnd.Haiku-libmedia
110	:
111	MediaDefs.cpp
112	;
113