audio_filter: only one module for all simple channel mixers
[vlc.git] / modules / audio_filter / Makefile.am
1 audio_filterdir = $(pluginsdir)/audio_filter
2
3 libaudiobargraph_a_plugin_la_SOURCES = audio_filter/audiobargraph_a.c
4 libaudiobargraph_a_plugin_la_LIBADD = $(LIBM)
5 libchorus_flanger_plugin_la_SOURCES = audio_filter/chorus_flanger.c
6 libchorus_flanger_plugin_la_LIBADD = $(LIBM)
7 libcompressor_plugin_la_SOURCES = audio_filter/compressor.c
8 libcompressor_plugin_la_LIBADD = $(LIBM)
9 libequalizer_plugin_la_SOURCES = audio_filter/equalizer.c \
10         audio_filter/equalizer_presets.h
11 libequalizer_plugin_la_LIBADD = $(LIBM)
12 libkaraoke_plugin_la_SOURCES = audio_filter/karaoke.c
13 libnormvol_plugin_la_SOURCES = audio_filter/normvol.c
14 libnormvol_plugin_la_LIBADD = $(LIBM)
15 libgain_plugin_la_SOURCES = audio_filter/gain.c
16 libparam_eq_plugin_la_SOURCES = audio_filter/param_eq.c
17 libparam_eq_plugin_la_LIBADD = $(LIBM)
18 libscaletempo_plugin_la_SOURCES = audio_filter/scaletempo.c
19 libstereo_widen_plugin_la_SOURCES = audio_filter/stereo_widen.c
20 libspatializer_plugin_la_SOURCES = \
21         audio_filter/spatializer/allpass.cpp \
22         audio_filter/spatializer/allpass.hpp \
23         audio_filter/spatializer/comb.cpp \
24         audio_filter/spatializer/comb.hpp \
25         audio_filter/spatializer/denormals.h \
26         audio_filter/spatializer/denormals.c \
27         audio_filter/spatializer/tuning.h \
28         audio_filter/spatializer/revmodel.cpp \
29         audio_filter/spatializer/revmodel.hpp \
30         audio_filter/spatializer/spatializer.cpp
31 libspatializer_plugin_la_LIBADD = $(LIBM)
32
33 audio_filter_LTLIBRARIES = \
34         libaudiobargraph_a_plugin.la \
35         libchorus_flanger_plugin.la \
36         libcompressor_plugin.la \
37         libequalizer_plugin.la \
38         libkaraoke_plugin.la \
39         libnormvol_plugin.la \
40         libgain_plugin.la \
41         libparam_eq_plugin.la \
42         libscaletempo_plugin.la \
43         libspatializer_plugin.la \
44         libstereo_widen_plugin.la
45
46 # Channel mixers
47 libdolby_surround_decoder_plugin_la_SOURCES = \
48         audio_filter/channel_mixer/dolby.c
49 libheadphone_channel_mixer_plugin_la_SOURCES = \
50         audio_filter/channel_mixer/headphone.c
51 libheadphone_channel_mixer_plugin_la_LIBADD = $(LIBM)
52 libmono_plugin_la_SOURCES = audio_filter/channel_mixer/mono.c
53 libmono_plugin_la_LIBADD = $(LIBM)
54 libremap_plugin_la_SOURCES = audio_filter/channel_mixer/remap.c
55 libtrivial_channel_mixer_plugin_la_SOURCES = \
56         audio_filter/channel_mixer/trivial.c
57 libsimple_channel_mixer_plugin_la_SOURCES = \
58         audio_filter/channel_mixer/simple.c
59 if HAVE_NEON
60 libsimple_channel_mixer_plugin_la_SOURCES += arm_neon/simple_channel_mixer.S
61 endif
62
63 audio_filter_LTLIBRARIES += \
64         libdolby_surround_decoder_plugin.la \
65         libheadphone_channel_mixer_plugin.la \
66         libmono_plugin.la \
67         libremap_plugin.la \
68         libsimple_channel_mixer_plugin.la \
69         libtrivial_channel_mixer_plugin.la
70
71 # Converters
72 liba52tofloat32_plugin_la_SOURCES = audio_filter/converter/a52tofloat32.c
73 liba52tofloat32_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(CPPFLAGS_a52tofloat32)
74 liba52tofloat32_plugin_la_LIBADD = $(LIBM) $(LIBS_a52tofloat32)
75 liba52tofloat32_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(audio_filterdir)'
76 libdtstofloat32_plugin_la_SOURCES = audio_filter/converter/dtstofloat32.c
77 libdtstofloat32_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(DCA_CFLAGS)
78 libdtstofloat32_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(audio_filterdir)'
79 libdtstofloat32_plugin_la_LIBADD = $(LIBM) $(DCA_LIBS)
80 EXTRA_LTLIBRARIES += liba52tofloat32_plugin.la libdtstofloat32_plugin.la
81 audio_filter_LTLIBRARIES += $(LTLIBa52tofloat32) $(LTLIBdtstofloat32)
82
83 libmad_plugin_la_SOURCES = audio_filter/converter/mpgatofixed32.c
84 libmad_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(MAD_CFLAGS)
85 libmad_plugin_la_LIBADD = $(AM_LIBADD) $(MAD_LIBS)
86 if HAVE_MAD
87 audio_filter_LTLIBRARIES += libmad_plugin.la
88 endif
89
90 libaudio_format_plugin_la_SOURCES = audio_filter/converter/format.c
91 libaudio_format_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
92 libaudio_format_plugin_la_LIBADD = $(LIBM)
93
94 liba52tospdif_plugin_la_SOURCES = audio_filter/converter/a52tospdif.c
95 libdtstospdif_plugin_la_SOURCES = audio_filter/converter/dtstospdif.c
96
97 audio_filter_LTLIBRARIES += \
98         liba52tospdif_plugin.la \
99         libaudio_format_plugin.la \
100         libdtstospdif_plugin.la
101
102 # Resamplers
103 libbandlimited_resampler_plugin_la_SOURCES = \
104         audio_filter/resampler/bandlimited.c \
105         audio_filter/resampler/bandlimited.h
106 libugly_resampler_plugin_la_SOURCES = audio_filter/resampler/ugly.c
107 libsamplerate_plugin_la_SOURCES = audio_filter/resampler/src.c
108 libsamplerate_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) $(SAMPLERATE_CFLAGS)
109 libsamplerate_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(audio_filterdir)'
110 libsamplerate_plugin_la_LIBADD = $(LIBM) $(SAMPLERATE_LIBS)
111
112 audio_filter_LTLIBRARIES += \
113         $(LTLIBsamplerate) \
114         libugly_resampler_plugin.la
115 EXTRA_LTLIBRARIES += \
116         libbandlimited_resampler_plugin.la \
117         libsamplerate_plugin.la
118
119 libspeex_resampler_plugin_la_SOURCES = audio_filter/resampler/speex.c
120 libspeex_resampler_plugin_la_CFLAGS = $(AM_CFLAGS) $(SPEEXDSP_CFLAGS)
121 libspeex_resampler_plugin_la_LIBADD = $(SPEEXDSP_LIBS)
122 if HAVE_SPEEXDSP
123 audio_filter_LTLIBRARIES += libspeex_resampler_plugin.la
124 endif