xref: /haiku/src/kits/media/Jamfile (revision 0e50eab75e25d0d82090e22dbff766dfaa6f5e86)
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	UseHeaders [ FDirName $(HAIKU_TOP) headers os ] : true ;
9		# We need the public headers also when not compiling for Haiku.
10	UseHeaders [ FDirName $(HAIKU_TOP) headers posix ] : true ;
11		# We need the public posix headers also when not compiling for Haiku.
12	UseHeaders [ FDirName $(HAIKU_TOP) headers os support ] : true ;
13		# We need the public support headers also when not compiling for Haiku.
14	UseHeaders [ FDirName $(HAIKU_TOP) headers os app ] : true ;
15		# We need the public app headers also when not compiling for Haiku.
16}
17
18UsePrivateHeaders media shared ;
19
20if $(CHECK_MALLOC) {
21	SubDirC++Flags -D_NO_INLINE_ASM -fcheck-memory-usage ;
22}
23
24# That's ugly. The header (ServerInterface.h) should reside in
25# headers/private/media.
26SubDirHdrs [ FDirName $(HAIKU_TOP) src servers media ] ;
27SubDirSysHdrs $(SUBDIR) ; # for the Old*.h headers
28
29SharedLibrary libmedia.so :
30	# Private Media Kit
31	!missing_symbols.cpp
32
33	# Public Media Kit
34	Buffer.cpp
35	BufferConsumer.cpp
36	BufferGroup.cpp
37	BufferProducer.cpp
38	Controllable.cpp
39	FileInterface.cpp
40	MediaAddOn.cpp
41	MediaDecoder.cpp
42	MediaDefs.cpp
43	MediaEncoder.cpp
44	MediaEventLooper.cpp
45	MediaFile.cpp
46	MediaFiles.cpp
47	MediaFormats.cpp
48	MediaNode.cpp
49	MediaRoster.cpp
50	MediaTheme.cpp
51	MediaTrack.cpp
52	ParameterWeb.cpp
53	PlaySound.cpp
54	RealtimeAlloc.cpp
55	Sound.cpp
56	SoundFile.cpp
57	SoundPlayer.cpp
58	TimeCode.cpp
59	TimedEventQueue.cpp
60	TimeSource.cpp
61
62	# Internal Functionality
63	BufferIdCache.cpp
64	DataExchange.cpp
65	DefaultMediaTheme.cpp
66	DormantNodeManager.cpp
67	Notifications.cpp
68	PortPool.cpp
69	SharedBufferList.cpp
70	TrackReader.cpp
71	TimedEventQueuePrivate.cpp
72	TimeSourceObject.cpp
73	TimeSourceObjectManager.cpp
74	SoundPlayNode.cpp
75
76	# Old (R3) Media Kit
77	OldAudioModule.cpp
78	OldAudioStream.cpp
79	OldBufferStream.cpp
80	OldBufferStreamManager.cpp
81	OldMediaModule.cpp
82	OldSoundFile.cpp
83	OldSubscriber.cpp
84
85	# Codec Plugin API
86	ChunkCache.cpp
87	DecoderPlugin.cpp
88	MediaExtractor.cpp
89	MediaPlugin.cpp
90	PluginManager.cpp
91	ReaderPlugin.cpp
92	:
93	be
94;
95