xref: /haiku/src/kits/media/Jamfile (revision f84c53e4acb4c8a9e4dadd4ce165ca3a126114b1)
1SubDir HAIKU_TOP src kits media ;
2
3SetSubDirSupportedPlatformsBeOSCompatible ;
4
5UsePrivateHeaders app codec 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			MediaDefsNotify.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			MediaClient.cpp
53			MediaClientDefs.cpp
54			MediaClientNode.cpp
55			MediaConnection.cpp
56			SimpleMediaClient.cpp
57
58			# Internal Functionality
59			BufferCache.cpp
60			DataExchange.cpp
61			DefaultMediaTheme.cpp
62			DormantNodeManager.cpp
63			FormatManager.cpp
64			MediaRecorderNode.cpp
65			Notifications.cpp
66			request_data.cpp
67			SharedBufferList.cpp
68			TrackReader.cpp
69			TimedEventQueuePrivate.cpp
70			TimeSourceObject.cpp
71			TimeSourceObjectManager.cpp
72			SoundPlayNode.cpp
73
74			# Old (R3) Media Kit (built only for GCC2)
75			OldAudioModule.cpp
76			OldAudioStream.cpp
77			OldBufferStream.cpp
78			OldBufferStreamManager.cpp
79			OldMediaModule.cpp
80			OldSubscriber.cpp
81
82			# Compat Media Kit
83			!missing_symbols.cpp
84			Deprecated.cpp
85			:
86			be codec localestub shared
87			[ TargetLibsupc++ ] [ TargetLibstdc++ ]
88			;
89	}
90}
91
92DoCatalogs libbe.so
93	: x-vnd.Haiku-libmedia
94	:
95	MediaDefs.cpp
96	;
97