677a7d8757f519d8c1b1a575bbee7b698c253966
[vlc.git] / modules / audio_output / Modules.am
1 SOURCES_waveout = waveout.c windows_audio_common.h
2 SOURCES_auhal = TPCircularBuffer.h TPCircularBuffer.c auhal.c
3 SOURCES_audiounit_ios = TPCircularBuffer.h TPCircularBuffer.c audiounit_ios.c
4 SOURCES_audioqueue = audioqueue.c
5
6 libopensles_android_plugin_la_SOURCES = opensles_android.c
7 libopensles_android_plugin_la_CFLAGS = $(AM_CFLAGS)
8 libopensles_android_plugin_la_LIBADD = $(AM_LIBADD) -ldl -lm
9
10 libandroid_audiotrack_plugin_la_SOURCES = audiotrack.c
11 libandroid_audiotrack_plugin_la_CFLAGS = $(AM_CFLAGS)
12 libandroid_audiotrack_plugin_la_LIBADD = $(AM_LIBADD) -ldl
13
14 if HAVE_ANDROID
15 libvlc_LTLIBRARIES += libandroid_audiotrack_plugin.la libopensles_android_plugin.la
16 endif
17
18 libadummy_plugin_la_SOURCES = adummy.c
19 libadummy_plugin_la_CFLAGS = $(AM_CFLAGS)
20 libadummy_plugin_la_LIBADD = $(AM_LIBADD)
21 if HAVE_WIN32
22 libadummy_plugin_la_DEPENDENCIES = libadummy_plugin.rc.o
23 endif
24
25 libafile_plugin_la_SOURCES = file.c
26 libafile_plugin_la_CFLAGS = $(AM_CFLAGS)
27 libafile_plugin_la_LIBADD = $(AM_LIBADD)
28 if HAVE_WIN32
29 libafile_plugin_la_DEPENDENCIES = libafile_plugin.rc.o
30 endif
31
32 libamem_plugin_la_SOURCES = amem.c
33 libamem_plugin_la_CFLAGS = $(AM_CFLAGS)
34 libamem_plugin_la_LIBADD = $(AM_LIBADD)
35 if HAVE_WIN32
36 libamem_plugin_la_DEPENDENCIES = libamem_plugin.rc.o
37 endif
38
39 libvlc_LTLIBRARIES += \
40         libadummy_plugin.la \
41         libafile_plugin.la \
42         libamem_plugin.la
43
44 liboss_plugin_la_SOURCES = oss.c volume.h
45 liboss_plugin_la_CFLAGS = $(AM_CFLAGS)
46 liboss_plugin_la_LIBADD = $(AM_LIBADD) $(OSS_LIBS) $(LIBM)
47 if HAVE_OSS
48 libvlc_LTLIBRARIES += liboss_plugin.la
49 endif
50
51 libalsa_plugin_la_SOURCES = alsa.c volume.h
52 libalsa_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALSA_CFLAGS)
53 libalsa_plugin_la_LIBADD = $(AM_LIBADD) $(ALSA_LIBS) $(LIBM)
54 if HAVE_ALSA
55 libvlc_LTLIBRARIES += libalsa_plugin.la
56 endif
57
58 libpulse_plugin_la_SOURCES = pulse.c
59 libpulse_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
60 libpulse_plugin_la_LIBADD = ../libvlc_pulse.la \
61         $(AM_LIBADD) $(PULSE_LIBS) $(LIBM)
62 if HAVE_PULSE
63 libvlc_LTLIBRARIES += libpulse_plugin.la
64 endif
65
66 libjack_plugin_la_SOURCES = jack.c volume.h
67 libjack_plugin_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
68 libjack_plugin_la_LIBADD = $(AM_LIBADD) $(JACK_LIBS) $(LIBM)
69 if HAVE_JACK
70 libvlc_LTLIBRARIES += libjack_plugin.la
71 endif
72
73 libmmdevice_plugin_la_SOURCES = mmdevice.c mmdevice.h wasapi.c
74 libmmdevice_plugin_la_CFLAGS = $(AM_CFLAGS)
75 libmmdevice_plugin_la_LIBADD = $(AM_LIBADD) -lole32 -lksuser
76 if HAVE_WIN32
77 libmmdevice_plugin_la_DEPENDENCIES = libmmdevice_plugin.rc.o
78 endif
79 if HAVE_WASAPI
80 libvlc_LTLIBRARIES += libmmdevice_plugin.la
81 endif
82
83 libdirectsound_plugin_la_SOURCES = directx.c windows_audio_common.h
84 libdirectsound_plugin_la_CFLAGS = $(AM_CFLAGS)
85 libdirectsound_plugin_la_LIBADD = $(AM_LIBADD) -lole32
86 if HAVE_WIN32
87 libdirectsound_plugin_la_DEPENDENCIES = libdirectsound_plugin.rc.o
88 endif
89 if HAVE_DIRECTX
90 libvlc_LTLIBRARIES += libdirectsound_plugin.la
91 endif
92
93 libkai_plugin_la_SOURCES = kai.c
94 libkai_plugin_la_CFLAGS = $(AM_CFLAGS)
95 libkai_plugin_la_LIBADD = $(AM_LIBADD) $(KAI_LIBS)
96 if HAVE_KAI
97 libvlc_LTLIBRARIES += libkai_plugin.la
98 endif
99
100 libsndio_plugin_la_SOURCES = sndio.c
101 libsndio_plugin_la_CFLAGS = $(AM_CFLAGS)
102 libsndio_plugin_la_LIBADD = $(AM_LIBADD) -lsndio
103 if HAVE_SNDIO
104 libvlc_LTLIBRARIES += libsndio_plugin.la
105 endif