xref: /haiku/src/kits/media/Jamfile (revision 4055af5143236b53cf20809bbfe411e977ecf13c)
1SubDir HAIKU_TOP src kits media ;
2
3AddResources libmedia.so : libmedia.rdef ;
4
5UsePrivateHeaders app media kernel shared ;
6UsePrivateHeaders [ FDirName media experimental ] ;
7UsePrivateHeaders [ FDirName interface ] ;
8
9if $(CHECK_MALLOC) {
10	SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
11}
12
13local architectureObject ;
14for architectureObject in [ MultiArchSubDirSetup ] {
15	on $(architectureObject) {
16
17		SEARCH_SOURCE += [ FDirName $(SUBDIR) experimental ] ;
18		SEARCH_SOURCE += [ FDirName $(SUBDIR) legacy ] ;
19
20		SharedLibrary [ MultiArchDefaultGristFiles libmedia.so ] :
21			# Public Media Kit
22			Buffer.cpp
23			BufferConsumer.cpp
24			BufferGroup.cpp
25			BufferProducer.cpp
26			Controllable.cpp
27			FileInterface.cpp
28			MediaAddOn.cpp
29			MediaDecoder.cpp
30			MediaDefs.cpp
31			MediaEncoder.cpp
32			MediaEventLooper.cpp
33			MediaFile.cpp
34			MediaFiles.cpp
35			MediaFormats.cpp
36			MediaNode.cpp
37			MediaRecorder.cpp
38			MediaRoster.cpp
39			MediaTheme.cpp
40			MediaTrack.cpp
41			ParameterWeb.cpp
42			PlaySound.cpp
43			RealtimeAlloc.cpp
44			Sound.cpp
45			SoundFile.cpp
46			SoundPlayer.cpp
47			TimeCode.cpp
48			TimedEventQueue.cpp
49			TimeSource.cpp
50
51			# Experimental Media Kit
52			AdapterIO.cpp
53			MediaClient.cpp
54			MediaClientDefs.cpp
55			MediaClientNode.cpp
56			MediaConnection.cpp
57			MediaIO.cpp
58			SimpleMediaClient.cpp
59
60			# Internal Functionality
61			AddOnManager.cpp
62			BufferCache.cpp
63			DataExchange.cpp
64			DefaultMediaTheme.cpp
65			DormantNodeManager.cpp
66			FormatManager.cpp
67			MediaRecorderNode.cpp
68			Notifications.cpp
69			PortPool.cpp
70			request_data.cpp
71			SharedBufferList.cpp
72			TrackReader.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