xref: /haiku/src/kits/media/Jamfile (revision f2b4344867e97c3f4e742a1b4a15e6879644601a)
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
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	MediaRoster.cpp
37	MediaTheme.cpp
38	MediaTrack.cpp
39	ParameterWeb.cpp
40	PlaySound.cpp
41	RealtimeAlloc.cpp
42	Sound.cpp
43	SoundFile.cpp
44	SoundPlayer.cpp
45	TimeCode.cpp
46	TimedEventQueue.cpp
47	TimeSource.cpp
48
49	# Internal Functionality
50	BufferCache.cpp
51	DataExchange.cpp
52	DefaultMediaTheme.cpp
53	DormantNodeManager.cpp
54	Notifications.cpp
55	request_data.cpp
56	SharedBufferList.cpp
57	TrackReader.cpp
58	TimedEventQueuePrivate.cpp
59	TimeSourceObject.cpp
60	TimeSourceObjectManager.cpp
61	SoundPlayNode.cpp
62
63	# Old (R3) Media Kit (built only for GCC2)
64	OldAudioModule.cpp
65	OldAudioStream.cpp
66	OldBufferStream.cpp
67	OldBufferStreamManager.cpp
68	OldMediaModule.cpp
69	OldSubscriber.cpp
70
71	# Codec Plugin API
72	ChunkCache.cpp
73	DecoderPlugin.cpp
74	EncoderPlugin.cpp
75	MediaExtractor.cpp
76	MediaPlugin.cpp
77	MediaWriter.cpp
78	PluginManager.cpp
79	ReaderPlugin.cpp
80	WriterPlugin.cpp
81	:
82	be $(TARGET_LIBSUPC++) $(TARGET_LIBSTDC++)
83;
84