xref: /haiku/src/kits/media/Jamfile (revision 4055af5143236b53cf20809bbfe411e977ecf13c)
1338b8dc3SIngo WeinholdSubDir HAIKU_TOP src kits media ;
219f0c92eSIngo Weinhold
3765a734aSNiels Sascha ReedijkAddResources libmedia.so : libmedia.rdef ;
4765a734aSNiels Sascha Reedijk
5*4055af51SAugustin CavalierUsePrivateHeaders app media kernel shared ;
67561d9acSDario CasalinuovoUsePrivateHeaders [ FDirName media experimental ] ;
76b49a15bSAlexander von Gluck IVUsePrivateHeaders [ FDirName interface ] ;
819f0c92eSIngo Weinhold
9e5c72c15SAxel Dörflerif $(CHECK_MALLOC) {
10e5c72c15SAxel Dörfler	SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
11e5c72c15SAxel Dörfler}
12e5c72c15SAxel Dörfler
13225b6382SIngo Weinholdlocal architectureObject ;
14225b6382SIngo Weinholdfor architectureObject in [ MultiArchSubDirSetup ] {
15225b6382SIngo Weinhold	on $(architectureObject) {
1644cd1f48SDario Casalinuovo
177561d9acSDario Casalinuovo		SEARCH_SOURCE += [ FDirName $(SUBDIR) experimental ] ;
1844cd1f48SDario Casalinuovo		SEARCH_SOURCE += [ FDirName $(SUBDIR) legacy ] ;
1944cd1f48SDario Casalinuovo
20225b6382SIngo Weinhold		SharedLibrary [ MultiArchDefaultGristFiles libmedia.so ] :
2119f0c92eSIngo Weinhold			# Public Media Kit
2219f0c92eSIngo Weinhold			Buffer.cpp
2319f0c92eSIngo Weinhold			BufferConsumer.cpp
2419f0c92eSIngo Weinhold			BufferGroup.cpp
2519f0c92eSIngo Weinhold			BufferProducer.cpp
2619f0c92eSIngo Weinhold			Controllable.cpp
2719f0c92eSIngo Weinhold			FileInterface.cpp
2819f0c92eSIngo Weinhold			MediaAddOn.cpp
2919f0c92eSIngo Weinhold			MediaDecoder.cpp
3019f0c92eSIngo Weinhold			MediaDefs.cpp
3119f0c92eSIngo Weinhold			MediaEncoder.cpp
3219f0c92eSIngo Weinhold			MediaEventLooper.cpp
3319f0c92eSIngo Weinhold			MediaFile.cpp
3419f0c92eSIngo Weinhold			MediaFiles.cpp
3519f0c92eSIngo Weinhold			MediaFormats.cpp
3619f0c92eSIngo Weinhold			MediaNode.cpp
377561d9acSDario Casalinuovo			MediaRecorder.cpp
3819f0c92eSIngo Weinhold			MediaRoster.cpp
3919f0c92eSIngo Weinhold			MediaTheme.cpp
4019f0c92eSIngo Weinhold			MediaTrack.cpp
4119f0c92eSIngo Weinhold			ParameterWeb.cpp
4219f0c92eSIngo Weinhold			PlaySound.cpp
4319f0c92eSIngo Weinhold			RealtimeAlloc.cpp
4419f0c92eSIngo Weinhold			Sound.cpp
4519f0c92eSIngo Weinhold			SoundFile.cpp
4619f0c92eSIngo Weinhold			SoundPlayer.cpp
4719f0c92eSIngo Weinhold			TimeCode.cpp
4819f0c92eSIngo Weinhold			TimedEventQueue.cpp
4919f0c92eSIngo Weinhold			TimeSource.cpp
5019f0c92eSIngo Weinhold
517561d9acSDario Casalinuovo			# Experimental Media Kit
52218a8c03SAugustin Cavalier			AdapterIO.cpp
537561d9acSDario Casalinuovo			MediaClient.cpp
547561d9acSDario Casalinuovo			MediaClientDefs.cpp
557561d9acSDario Casalinuovo			MediaClientNode.cpp
567561d9acSDario Casalinuovo			MediaConnection.cpp
57218a8c03SAugustin Cavalier			MediaIO.cpp
587561d9acSDario Casalinuovo			SimpleMediaClient.cpp
597561d9acSDario Casalinuovo
6019f0c92eSIngo Weinhold			# Internal Functionality
61218a8c03SAugustin Cavalier			AddOnManager.cpp
629dec2310SAxel Dörfler			BufferCache.cpp
63f4925104Sbeveloper			DataExchange.cpp
649a232d4eSbeveloper			DefaultMediaTheme.cpp
6519f0c92eSIngo Weinhold			DormantNodeManager.cpp
66fa911df6SBarrett17			FormatManager.cpp
67683cf2ffSHamish Morrison			MediaRecorderNode.cpp
68f4925104Sbeveloper			Notifications.cpp
69472d26a3SRyan Leavengood			PortPool.cpp
706cafce94SAxel Dörfler			request_data.cpp
7119f0c92eSIngo Weinhold			SharedBufferList.cpp
7219f0c92eSIngo Weinhold			TrackReader.cpp
73287f7492Sbeveloper			TimeSourceObject.cpp
74287f7492Sbeveloper			TimeSourceObjectManager.cpp
7519f0c92eSIngo Weinhold			SoundPlayNode.cpp
7619f0c92eSIngo Weinhold
77505e5a0bSAxel Dörfler			# Old (R3) Media Kit (built only for GCC2)
78505e5a0bSAxel Dörfler			OldAudioModule.cpp
79505e5a0bSAxel Dörfler			OldAudioStream.cpp
80505e5a0bSAxel Dörfler			OldBufferStream.cpp
81505e5a0bSAxel Dörfler			OldBufferStreamManager.cpp
82505e5a0bSAxel Dörfler			OldMediaModule.cpp
83505e5a0bSAxel Dörfler			OldSubscriber.cpp
84ca16f5cbSbeveloper
85218a8c03SAugustin Cavalier			# Codec Plugin API
86218a8c03SAugustin Cavalier			ChunkCache.cpp
87218a8c03SAugustin Cavalier			DecoderPlugin.cpp
88218a8c03SAugustin Cavalier			EncoderPlugin.cpp
89218a8c03SAugustin Cavalier			MediaExtractor.cpp
90218a8c03SAugustin Cavalier			MediaPlugin.cpp
91218a8c03SAugustin Cavalier			MediaStreamer.cpp
92218a8c03SAugustin Cavalier			MediaWriter.cpp
93218a8c03SAugustin Cavalier			PluginManager.cpp
94218a8c03SAugustin Cavalier			ReaderPlugin.cpp
95218a8c03SAugustin Cavalier			StreamerPlugin.cpp
96218a8c03SAugustin Cavalier			WriterPlugin.cpp
97218a8c03SAugustin Cavalier
987561d9acSDario Casalinuovo			# Compat Media Kit
997561d9acSDario Casalinuovo			!missing_symbols.cpp
1007561d9acSDario Casalinuovo			Deprecated.cpp
101338b8dc3SIngo Weinhold			:
102218a8c03SAugustin Cavalier			be localestub shared
1030ba82236SDario Casalinuovo			[ TargetLibsupc++ ] [ TargetLibstdc++ ]
10419f0c92eSIngo Weinhold			;
105225b6382SIngo Weinhold	}
106225b6382SIngo Weinhold}
107bc622f6bSHumdinger
108e6aa2145SAdrien DestuguesDoCatalogs libmedia.so
109bc622f6bSHumdinger	: x-vnd.Haiku-libmedia
110bc622f6bSHumdinger	:
111bc622f6bSHumdinger	MediaDefs.cpp
112bc622f6bSHumdinger	;
113