xref: /haiku/src/kits/media/Jamfile (revision a72f3582be00f2151800fa7da036d7adc14e3272)
1SubDir HAIKU_TOP src kits media ;
2
3UsePrivateHeaders app media shared ;
4UsePrivateHeaders [ FDirName media experimental ] ;
5
6if $(CHECK_MALLOC) {
7	SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
8}
9
10local architectureObject ;
11for architectureObject in [ MultiArchSubDirSetup ] {
12	on $(architectureObject) {
13
14		SEARCH_SOURCE += [ FDirName $(SUBDIR) experimental ] ;
15		SEARCH_SOURCE += [ FDirName $(SUBDIR) legacy ] ;
16
17		SharedLibrary [ MultiArchDefaultGristFiles libmedia.so ] :
18			# Public Media Kit
19			Buffer.cpp
20			BufferConsumer.cpp
21			BufferGroup.cpp
22			BufferProducer.cpp
23			Controllable.cpp
24			FileInterface.cpp
25			MediaAddOn.cpp
26			MediaDecoder.cpp
27			MediaDefs.cpp
28			MediaEncoder.cpp
29			MediaEventLooper.cpp
30			MediaFile.cpp
31			MediaFiles.cpp
32			MediaFormats.cpp
33			MediaNode.cpp
34			MediaRecorder.cpp
35			MediaRoster.cpp
36			MediaTheme.cpp
37			MediaTrack.cpp
38			ParameterWeb.cpp
39			PlaySound.cpp
40			RealtimeAlloc.cpp
41			Sound.cpp
42			SoundFile.cpp
43			SoundPlayer.cpp
44			TimeCode.cpp
45			TimedEventQueue.cpp
46			TimeSource.cpp
47
48			# Experimental Media Kit
49			AdapterIO.cpp
50			MediaClient.cpp
51			MediaClientDefs.cpp
52			MediaClientNode.cpp
53			MediaConnection.cpp
54			MediaIO.cpp
55			SimpleMediaClient.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			PortPool.cpp
67			request_data.cpp
68			SharedBufferList.cpp
69			TrackReader.cpp
70			TimedEventQueuePrivate.cpp
71			TimeSourceObject.cpp
72			TimeSourceObjectManager.cpp
73			SoundPlayNode.cpp
74
75			# Old (R3) Media Kit (built only for GCC2)
76			OldAudioModule.cpp
77			OldAudioStream.cpp
78			OldBufferStream.cpp
79			OldBufferStreamManager.cpp
80			OldMediaModule.cpp
81			OldSubscriber.cpp
82
83			# Codec Plugin API
84			ChunkCache.cpp
85			DecoderPlugin.cpp
86			EncoderPlugin.cpp
87			MediaExtractor.cpp
88			MediaPlugin.cpp
89			MediaStreamer.cpp
90			MediaWriter.cpp
91			PluginManager.cpp
92			ReaderPlugin.cpp
93			StreamerPlugin.cpp
94			WriterPlugin.cpp
95
96			# Compat Media Kit
97			!missing_symbols.cpp
98			Deprecated.cpp
99			:
100			be localestub shared
101			[ TargetLibsupc++ ] [ TargetLibstdc++ ]
102			;
103	}
104}
105
106DoCatalogs libbe.so
107	: x-vnd.Haiku-libmedia
108	:
109	MediaDefs.cpp
110	;
111