xref: /haiku/src/kits/media/Jamfile (revision 2897df967633aab846ff4917b53e2af7d1e54eeb)
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			MediaRecorderNode.cpp
64			Notifications.cpp
65			request_data.cpp
66			SharedBufferList.cpp
67			TrackReader.cpp
68			TimedEventQueuePrivate.cpp
69			TimeSourceObject.cpp
70			TimeSourceObjectManager.cpp
71			SoundPlayNode.cpp
72
73			# Old (R3) Media Kit (built only for GCC2)
74			OldAudioModule.cpp
75			OldAudioStream.cpp
76			OldBufferStream.cpp
77			OldBufferStreamManager.cpp
78			OldMediaModule.cpp
79			OldSubscriber.cpp
80
81			# Compat Media Kit
82			!missing_symbols.cpp
83			Deprecated.cpp
84			:
85			be codec localestub shared
86			[ TargetLibsupc++ ] [ TargetLibstdc++ ]
87			;
88	}
89}
90
91DoCatalogs libbe.so
92	: x-vnd.Haiku-libmedia
93	:
94	MediaDefs.cpp
95	;
96