xref: /haiku/src/kits/media/Jamfile (revision 1026b0a1a76dc88927bb8175c470f638dc5464ee)
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
16SharedLibrary libmedia.so :
17	# Private Media Kit
18	!missing_symbols.cpp
19	SoundConsumer.cpp
20
21	# Public Media Kit
22	Buffer.cpp
23	BufferConsumer.cpp
24	BufferGroup.cpp
25	BufferProducer.cpp
26	Controllable.cpp
27	FileInterface.cpp
28	MediaAddOn.cpp
29	MediaDecoder.cpp
30	MediaDefs.cpp
31	MediaEncoder.cpp
32	MediaEventLooper.cpp
33	MediaFile.cpp
34	MediaFiles.cpp
35	MediaFormats.cpp
36	MediaNode.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	# Internal Functionality
51	BufferCache.cpp
52	DataExchange.cpp
53	DefaultMediaTheme.cpp
54	DormantNodeManager.cpp
55	Notifications.cpp
56	request_data.cpp
57	SharedBufferList.cpp
58	TrackReader.cpp
59	TimedEventQueuePrivate.cpp
60	TimeSourceObject.cpp
61	TimeSourceObjectManager.cpp
62	SoundPlayNode.cpp
63	SoundUtils.cpp
64
65	# Old (R3) Media Kit (built only for GCC2)
66	OldAudioModule.cpp
67	OldAudioStream.cpp
68	OldBufferStream.cpp
69	OldBufferStreamManager.cpp
70	OldMediaModule.cpp
71	OldSubscriber.cpp
72
73	# Codec Plugin API
74	ChunkCache.cpp
75	DecoderPlugin.cpp
76	EncoderPlugin.cpp
77	MediaExtractor.cpp
78	MediaPlugin.cpp
79	MediaWriter.cpp
80	PluginManager.cpp
81	ReaderPlugin.cpp
82	WriterPlugin.cpp
83	:
84	be $(TARGET_LIBSUPC++) $(TARGET_LIBSTDC++)
85;
86