xref: /haiku/src/kits/media/Jamfile (revision df2639bf609ad25078e83bea707328eca8b61b25)
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			MediaEncoder.cpp
31			MediaEventLooper.cpp
32			MediaFile.cpp
33			MediaFiles.cpp
34			MediaFormats.cpp
35			MediaNode.cpp
36			MediaRecorder.cpp
37			MediaRoster.cpp
38			MediaTheme.cpp
39			MediaTrack.cpp
40			ParameterWeb.cpp
41			PlaySound.cpp
42			RealtimeAlloc.cpp
43			Sound.cpp
44			SoundFile.cpp
45			SoundPlayer.cpp
46			TimeCode.cpp
47			TimedEventQueue.cpp
48			TimeSource.cpp
49
50			# Experimental Media Kit
51			MediaClient.cpp
52			MediaClientDefs.cpp
53			MediaClientNode.cpp
54			MediaConnection.cpp
55			SimpleMediaClient.cpp
56
57			# Internal Functionality
58			BufferCache.cpp
59			DataExchange.cpp
60			DefaultMediaTheme.cpp
61			DormantNodeManager.cpp
62			MediaRecorderNode.cpp
63			Notifications.cpp
64			request_data.cpp
65			SharedBufferList.cpp
66			TrackReader.cpp
67			TimedEventQueuePrivate.cpp
68			TimeSourceObject.cpp
69			TimeSourceObjectManager.cpp
70			SoundPlayNode.cpp
71
72			# Old (R3) Media Kit (built only for GCC2)
73			OldAudioModule.cpp
74			OldAudioStream.cpp
75			OldBufferStream.cpp
76			OldBufferStreamManager.cpp
77			OldMediaModule.cpp
78			OldSubscriber.cpp
79
80			# Compat Media Kit
81			!missing_symbols.cpp
82			Deprecated.cpp
83			:
84			be libcodec.so localestub shared
85			[ TargetLibsupc++ ] [ TargetLibstdc++ ]
86			;
87	}
88}
89
90DoCatalogs libbe.so
91	: x-vnd.Haiku-libmedia
92	:
93	MediaDefs.cpp
94	;
95