aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am68
1 files changed, 66 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index aadeb2508..5c53ca5c1 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,5 +1,5 @@
ACLOCAL_AMFLAGS = -I m4
-AUTOMAKE_OPTIONS = foreign 1.9 dist-bzip2
+AUTOMAKE_OPTIONS = foreign 1.10 dist-bzip2
AM_CPPFLAGS = -I$(srcdir)/src $(GLIB_CFLAGS)
@@ -42,6 +42,12 @@ mpd_headers = \
src/output_state.h \
src/output_print.h \
src/output_command.h \
+ src/filter_internal.h \
+ src/filter_plugin.h \
+ src/filter_registry.h \
+ src/filter/chain_filter_plugin.h \
+ src/filter/convert_filter_plugin.h \
+ src/filter/volume_filter_plugin.h \
src/buffer2array.h \
src/command.h \
src/idle.h \
@@ -90,6 +96,8 @@ mpd_headers = \
src/mixer_list.h \
src/event_pipe.h \
src/mixer_plugin.h \
+ src/mixer_type.h \
+ src/mixer/software_mixer_plugin.h \
src/daemon.h \
src/normalize.h \
src/compress.h \
@@ -168,6 +176,7 @@ src_mpd_SOURCES = \
$(ENCODER_SRC) \
$(OUTPUT_API_SRC) $(OUTPUT_SRC) \
$(MIXER_API_SRC) $(MIXER_SRC) \
+ $(FILTER_SRC) \
src/notify.c \
src/audio.c \
src/audio_parser.c \
@@ -188,6 +197,8 @@ src_mpd_SOURCES = \
src/database.c \
src/dirvec.c \
src/fifo_buffer.c \
+ src/filter_plugin.c \
+ src/filter_registry.c \
src/update.c \
src/client.c \
src/listen.c \
@@ -314,12 +325,14 @@ endif
DECODER_CFLAGS = \
$(VORBIS_CFLAGS) $(TREMOR_CFLAGS) \
$(patsubst -I%/FLAC,-I%,$(FLAC_CFLAGS)) \
+ $(SNDFILE_CFLAGS) \
$(AUDIOFILE_CFLAGS) \
$(LIBMIKMOD_CFLAGS) \
$(MODPLUG_CFLAGS) \
$(SIDPLAY_CFLAGS) \
$(FLUIDSYNTH_CFLAGS) \
$(WILDMIDI_CFLAGS) \
+ $(WAVPACK_CFLAGS) \
$(MAD_CFLAGS) \
$(FFMPEG_CFLAGS) \
$(CUE_CFLAGS)
@@ -327,11 +340,13 @@ DECODER_CFLAGS = \
DECODER_LIBS = \
$(VORBIS_LIBS) $(TREMOR_LIBS) \
$(FLAC_LIBS) \
+ $(SNDFILE_LIBS) \
$(AUDIOFILE_LIBS) $(LIBMIKMOD_LIBS) \
$(MODPLUG_LIBS) \
$(SIDPLAY_LIBS) \
$(FLUIDSYNTH_LIBS) \
$(WILDMIDI_LIBS) \
+ $(WAVPACK_LIBS) \
$(MAD_LIBS) \
$(MP4FF_LIBS) \
$(FFMPEG_LIBS) \
@@ -409,14 +424,20 @@ if HAVE_FFMPEG
DECODER_SRC += src/decoder/ffmpeg_plugin.c
endif
+if ENABLE_SNDFILE
+DECODER_SRC += src/decoder/sndfile_decoder_plugin.c
+endif
+
# encoder plugins
ENCODER_CFLAGS = \
$(LAME_CFLAGS) \
+ $(TWOLAME_CFLAGS) \
$(VORBISENC_CFLAGS)
ENCODER_LIBS = \
$(LAME_LIBS) \
+ $(TWOLAME_LIBS) \
$(VORBISENC_LIBS)
ENCODER_SRC =
@@ -431,6 +452,10 @@ endif
if ENABLE_LAME_ENCODER
ENCODER_SRC += src/encoder/lame_encoder.c
endif
+
+if ENABLE_TWOLAME_ENCODER
+ENCODER_SRC += src/encoder/twolame_encoder.c
+endif
endif
@@ -508,10 +533,12 @@ OUTPUT_SRC = \
MIXER_API_SRC = \
src/mixer_control.c \
+ src/mixer_type.c \
src/mixer_all.c \
src/mixer_api.c
-MIXER_SRC =
+MIXER_SRC = \
+ src/mixer/software_mixer_plugin.c
if HAVE_ALSA
OUTPUT_SRC += src/output/alsa_plugin.c
@@ -569,6 +596,17 @@ endif
#
+# Filter plugins
+#
+
+FILTER_SRC = \
+ src/filter/null_filter_plugin.c \
+ src/filter/chain_filter_plugin.c \
+ src/filter/convert_filter_plugin.c \
+ src/filter/volume_filter_plugin.c
+
+
+#
# Sparse code analysis
#
# sparse is a semantic parser
@@ -599,6 +637,7 @@ noinst_PROGRAMS = \
test/run_input \
test/run_decoder \
test/read_tags \
+ test/run_filter \
test/run_output \
test/read_mixer \
test/software_volume
@@ -661,6 +700,24 @@ test_read_tags_SOURCES = test/read_tags.c \
$(TAG_SRC) \
$(DECODER_SRC)
+test_run_filter_CPPFLAGS = $(AM_CPPFLAGS)
+test_run_filter_LDADD = $(MPD_LIBS) \
+ $(SAMPLERATE_LIBS) \
+ $(GLIB_LIBS)
+test_run_filter_SOURCES = test/run_filter.c \
+ src/filter_plugin.c \
+ src/filter_registry.c \
+ src/conf.c src/buffer2array.c src/utils.c \
+ src/pcm_volume.c src/pcm_convert.c \
+ src/pcm_format.c src/pcm_channels.c src/pcm_dither.c \
+ src/pcm_resample.c src/pcm_resample_fallback.c \
+ src/audio_parser.c \
+ $(FILTER_SRC)
+
+if HAVE_LIBSAMPLERATE
+test_run_filter_SOURCES += src/pcm_resample_libsamplerate.c
+endif
+
if ENABLE_ENCODER
noinst_PROGRAMS += test/run_encoder
test_run_encoder_SOURCES = test/run_encoder.c \
@@ -699,7 +756,12 @@ test_run_output_SOURCES = test/run_output.c \
$(ENCODER_SRC) \
src/mixer_api.c \
src/mixer_control.c \
+ src/mixer_type.c \
$(MIXER_SRC) \
+ src/filter_plugin.c src/filter/chain_filter_plugin.c \
+ src/filter/convert_filter_plugin.c \
+ src/filter/volume_filter_plugin.c \
+ src/pcm_volume.c \
$(OUTPUT_SRC)
test_read_mixer_CPPFLAGS = $(AM_CPPFLAGS) \
@@ -710,6 +772,8 @@ test_read_mixer_LDADD = $(MPD_LIBS) \
test_read_mixer_SOURCES = test/read_mixer.c \
src/conf.c src/buffer2array.c src/utils.c src/log.c \
src/mixer_control.c src/mixer_api.c \
+ src/filter_plugin.c \
+ src/filter/volume_filter_plugin.c \
$(MIXER_SRC)
endif