xref: /haiku/src/kits/media/Jamfile (revision 7bdeef54a24d3417300f251af891df962b638b9b)
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
20		SEARCH_SOURCE += [ FDirName $(SUBDIR) legacy ] ;
21
22		SharedLibrary [ MultiArchDefaultGristFiles libmedia.so ] :
23			# Private Media Kit
24			!missing_symbols.cpp
25			Deprecated.cpp
26
27			AdapterIO.cpp
28			MediaIO.cpp
29			MediaClient.cpp
30			MediaClientDefs.cpp
31			MediaConnection.cpp
32			MediaRecorder.cpp
33			SimpleMediaClient.cpp
34
35			# Public Media Kit
36			Buffer.cpp
37			BufferConsumer.cpp
38			BufferGroup.cpp
39			BufferProducer.cpp
40			Controllable.cpp
41			FileInterface.cpp
42			MediaAddOn.cpp
43			MediaDecoder.cpp
44			MediaDefs.cpp
45			MediaEncoder.cpp
46			MediaEventLooper.cpp
47			MediaFile.cpp
48			MediaFiles.cpp
49			MediaFormats.cpp
50			MediaNode.cpp
51			MediaRoster.cpp
52			MediaTheme.cpp
53			MediaTrack.cpp
54			ParameterWeb.cpp
55			PlaySound.cpp
56			RealtimeAlloc.cpp
57			Sound.cpp
58			SoundFile.cpp
59			SoundPlayer.cpp
60			TimeCode.cpp
61			TimedEventQueue.cpp
62			TimeSource.cpp
63
64			# Internal Functionality
65			AddOnManager.cpp
66			BufferCache.cpp
67			DataExchange.cpp
68			DefaultMediaTheme.cpp
69			DormantNodeManager.cpp
70			FormatManager.cpp
71			MediaClientNode.cpp
72			MediaRecorderNode.cpp
73			Notifications.cpp
74			request_data.cpp
75			SharedBufferList.cpp
76			TrackReader.cpp
77			TimedEventQueuePrivate.cpp
78			TimeSourceObject.cpp
79			TimeSourceObjectManager.cpp
80			SoundPlayNode.cpp
81
82			# Old (R3) Media Kit (built only for GCC2)
83			OldAudioModule.cpp
84			OldAudioStream.cpp
85			OldBufferStream.cpp
86			OldBufferStreamManager.cpp
87			OldMediaModule.cpp
88			OldSubscriber.cpp
89
90			# Codec Plugin API
91			ChunkCache.cpp
92			DecoderPlugin.cpp
93			EncoderPlugin.cpp
94			MediaExtractor.cpp
95			MediaPlugin.cpp
96			MediaWriter.cpp
97			PluginManager.cpp
98			ReaderPlugin.cpp
99			StreamerPlugin.cpp
100			WriterPlugin.cpp
101			:
102			be localestub shared bnetapi
103			[ TargetLibsupc++ ] [ TargetLibstdc++ ]
104			;
105	}
106}
107