2008-09-23 22:38:46 +02:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2011-10-09 16:04:09 +02:00
|
|
|
AUTOMAKE_OPTIONS = foreign 1.11 dist-bzip2 subdir-objects
|
2004-03-12 16:26:41 +01:00
|
|
|
|
2011-09-16 07:34:52 +02:00
|
|
|
AM_CPPFLAGS += -I$(srcdir)/src $(GLIB_CFLAGS)
|
2009-02-18 19:27:05 +01:00
|
|
|
|
2009-07-28 16:17:18 +02:00
|
|
|
AM_CPPFLAGS += -DSYSTEM_CONFIG_FILE_LOCATION='"$(sysconfdir)/mpd.conf"'
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
bin_PROGRAMS = src/mpd
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
noinst_LIBRARIES = \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2011-10-09 16:18:03 +02:00
|
|
|
libpcm.a \
|
2011-10-09 14:29:36 +02:00
|
|
|
libtag.a \
|
|
|
|
libinput.a \
|
2012-08-02 19:23:11 +02:00
|
|
|
libdb_plugins.a \
|
2011-10-09 14:29:36 +02:00
|
|
|
libplaylist_plugins.a \
|
|
|
|
libdecoder_plugins.a \
|
|
|
|
libfilter_plugins.a \
|
|
|
|
libmixer_plugins.a \
|
|
|
|
liboutput_plugins.a
|
2011-01-09 18:21:27 +01:00
|
|
|
|
2009-02-25 16:45:23 +01:00
|
|
|
src_mpd_CPPFLAGS = $(AM_CPPFLAGS) \
|
2011-09-01 10:09:46 +02:00
|
|
|
$(AVAHI_CFLAGS) \
|
2010-01-20 21:04:07 +01:00
|
|
|
$(LIBWRAP_CFLAGS) \
|
2011-10-09 16:18:03 +02:00
|
|
|
$(SQLITE_CFLAGS)
|
2011-10-09 17:33:09 +02:00
|
|
|
src_mpd_LDADD = \
|
2012-08-02 19:23:11 +02:00
|
|
|
$(DB_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(PLAYLIST_LIBS) \
|
2011-09-01 10:09:46 +02:00
|
|
|
$(AVAHI_LIBS) \
|
2010-01-20 21:04:07 +01:00
|
|
|
$(LIBWRAP_LDFLAGS) \
|
2009-02-23 10:04:51 +01:00
|
|
|
$(SQLITE_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(DECODER_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(INPUT_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(ARCHIVE_LIBS) \
|
2009-04-25 13:21:28 +02:00
|
|
|
$(TAG_LIBS) \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(OUTPUT_LIBS) \
|
2009-03-28 21:38:44 +01:00
|
|
|
$(FILTER_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(ENCODER_LIBS) \
|
2011-11-13 23:19:38 +01:00
|
|
|
$(MIXER_LIBS) \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2012-02-13 20:48:51 +01:00
|
|
|
$(SYSTEMD_DAEMON_LIBS) \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(GLIB_LIBS)
|
2009-02-23 10:04:51 +01:00
|
|
|
|
|
|
|
mpd_headers = \
|
2009-11-12 09:12:38 +01:00
|
|
|
src/check.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/notify.h \
|
|
|
|
src/ack.h \
|
2010-11-18 21:44:24 +01:00
|
|
|
src/ape.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/audio_format.h \
|
2009-11-10 19:00:41 +01:00
|
|
|
src/audio_check.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/audio_parser.h \
|
|
|
|
src/output_internal.h \
|
|
|
|
src/output_api.h \
|
|
|
|
src/output_list.h \
|
|
|
|
src/output_all.h \
|
|
|
|
src/output_thread.h \
|
|
|
|
src/output_control.h \
|
|
|
|
src/output_state.h \
|
|
|
|
src/output_print.h \
|
|
|
|
src/output_command.h \
|
2009-07-03 01:02:53 +02:00
|
|
|
src/filter_internal.h \
|
2009-12-14 21:09:28 +01:00
|
|
|
src/filter_config.h \
|
2009-07-03 01:02:53 +02:00
|
|
|
src/filter_plugin.h \
|
|
|
|
src/filter_registry.h \
|
2009-12-25 16:41:01 +01:00
|
|
|
src/filter/autoconvert_filter_plugin.h \
|
2009-07-06 10:01:02 +02:00
|
|
|
src/filter/chain_filter_plugin.h \
|
2009-07-06 10:01:02 +02:00
|
|
|
src/filter/convert_filter_plugin.h \
|
2010-02-14 17:04:39 +01:00
|
|
|
src/filter/replay_gain_filter_plugin.h \
|
2009-07-05 16:31:47 +02:00
|
|
|
src/filter/volume_filter_plugin.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/command.h \
|
|
|
|
src/idle.h \
|
|
|
|
src/cmdline.h \
|
|
|
|
src/conf.h \
|
|
|
|
src/crossfade.h \
|
|
|
|
src/dbUtils.h \
|
|
|
|
src/decoder_thread.h \
|
|
|
|
src/decoder_control.h \
|
|
|
|
src/decoder_plugin.h \
|
|
|
|
src/decoder_command.h \
|
|
|
|
src/decoder_buffer.h \
|
|
|
|
src/decoder_api.h \
|
|
|
|
src/decoder_plugin.h \
|
|
|
|
src/decoder_internal.h \
|
|
|
|
src/directory.h \
|
|
|
|
src/directory_save.h \
|
|
|
|
src/database.h \
|
|
|
|
src/encoder_plugin.h \
|
|
|
|
src/encoder_list.h \
|
|
|
|
src/encoder_api.h \
|
2009-10-16 18:11:43 +02:00
|
|
|
src/exclude.h \
|
2009-11-07 18:55:16 +01:00
|
|
|
src/fd_util.h \
|
2012-08-02 18:20:46 +02:00
|
|
|
src/gerror.h \
|
2009-12-14 23:26:23 +01:00
|
|
|
src/glib_compat.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/update.h \
|
2009-09-25 18:32:00 +02:00
|
|
|
src/inotify_source.h \
|
|
|
|
src/inotify_queue.h \
|
|
|
|
src/inotify_update.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/gcc.h \
|
|
|
|
src/decoder_list.h \
|
2009-11-07 15:57:22 +01:00
|
|
|
src/decoder_print.h \
|
2009-11-11 16:43:34 +01:00
|
|
|
src/decoder/flac_compat.h \
|
2009-11-11 07:50:40 +01:00
|
|
|
src/decoder/flac_metadata.h \
|
2009-11-11 07:59:22 +01:00
|
|
|
src/decoder/flac_pcm.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/decoder/_flac_common.h \
|
|
|
|
src/decoder/_ogg_common.h \
|
2010-12-22 09:08:12 +01:00
|
|
|
src/decoder/pcm_decoder_plugin.h \
|
2009-12-14 22:53:13 +01:00
|
|
|
src/input_init.h \
|
2009-03-02 20:13:08 +01:00
|
|
|
src/input_plugin.h \
|
2009-12-14 22:41:29 +01:00
|
|
|
src/input_registry.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/input_stream.h \
|
2009-03-02 20:40:31 +01:00
|
|
|
src/input/file_input_plugin.h \
|
2010-05-18 20:48:52 +02:00
|
|
|
src/input/ffmpeg_input_plugin.h \
|
2009-03-02 20:40:31 +01:00
|
|
|
src/input/curl_input_plugin.h \
|
2009-12-29 23:55:40 +01:00
|
|
|
src/input/rewind_input_plugin.h \
|
2009-03-02 20:40:31 +01:00
|
|
|
src/input/mms_input_plugin.h \
|
2011-03-27 08:41:40 +02:00
|
|
|
src/input/despotify_input_plugin.h \
|
2010-12-21 22:23:01 +01:00
|
|
|
src/input/cdio_paranoia_input_plugin.h \
|
2011-03-27 08:41:40 +02:00
|
|
|
src/despotify_utils.h \
|
2009-11-01 15:37:16 +01:00
|
|
|
src/text_file.h \
|
2009-10-12 22:30:59 +02:00
|
|
|
src/text_input_stream.h \
|
2009-04-13 19:35:02 +02:00
|
|
|
src/icy_server.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/icy_metadata.h \
|
|
|
|
src/client.h \
|
2009-07-28 16:42:40 +02:00
|
|
|
src/client_internal.h \
|
2010-10-05 20:29:41 +02:00
|
|
|
src/server_socket.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/listen.h \
|
|
|
|
src/log.h \
|
|
|
|
src/ls.h \
|
|
|
|
src/main.h \
|
2009-03-14 11:35:40 +01:00
|
|
|
src/mixer_all.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/mixer_api.h \
|
2009-03-12 18:34:37 +01:00
|
|
|
src/mixer_control.h \
|
2009-03-14 11:36:59 +01:00
|
|
|
src/mixer_list.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/event_pipe.h \
|
2009-03-14 11:33:51 +01:00
|
|
|
src/mixer_plugin.h \
|
2009-07-06 07:37:37 +02:00
|
|
|
src/mixer_type.h \
|
2009-07-06 21:52:15 +02:00
|
|
|
src/mixer/software_mixer_plugin.h \
|
2009-10-23 10:33:26 +02:00
|
|
|
src/mixer/pulse_mixer_plugin.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/daemon.h \
|
2009-12-15 07:38:30 +01:00
|
|
|
src/AudioCompress/config.h \
|
2009-12-02 18:11:53 +01:00
|
|
|
src/AudioCompress/compress.h \
|
2009-03-06 00:42:03 +01:00
|
|
|
src/buffer.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/pipe.h \
|
2009-03-03 22:23:25 +01:00
|
|
|
src/chunk.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/path.h \
|
|
|
|
src/mapper.h \
|
2010-06-08 21:40:51 +02:00
|
|
|
src/open.h \
|
httpd: new output plugin to replace "shout"
Let's get rid of the "shout" plugin, and the awfully complicated
icecast daemon setup! MPD can do better if it's doing the HTTP server
stuff on its own. This new plugin has several advantages:
- easier to set up - only one daemon, no password settings, no mount
settings
- MPD controls the encoder and thus already knows the packet
boundaries - icecast has to parse them
- MPD doesn't bother to encode data while nobody is listening
This implementation is very experimental (no header parsing, ignores
request URI, no icy-metadata, ...). It should be able to suport
several encoders in parallel in the future (with different bit rates,
different codec, ...), to make MPD the perfect streaming server. Once
MPD gets multi-player support, we can even mount several different
radio stations on one server.
2009-03-15 03:32:34 +01:00
|
|
|
src/output/httpd_client.h \
|
|
|
|
src/output/httpd_internal.h \
|
2009-03-15 02:29:12 +01:00
|
|
|
src/page.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/permission.h \
|
|
|
|
src/player_thread.h \
|
|
|
|
src/player_control.h \
|
|
|
|
src/playlist.h \
|
2011-09-11 07:51:27 +02:00
|
|
|
src/playlist_error.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/playlist_internal.h \
|
|
|
|
src/playlist_print.h \
|
|
|
|
src/playlist_save.h \
|
|
|
|
src/playlist_state.h \
|
2009-10-12 22:34:04 +02:00
|
|
|
src/playlist_plugin.h \
|
|
|
|
src/playlist_list.h \
|
2010-02-08 10:56:28 +01:00
|
|
|
src/playlist_mapper.h \
|
2010-06-25 21:45:04 +02:00
|
|
|
src/playlist_any.h \
|
2010-02-08 10:28:12 +01:00
|
|
|
src/playlist_song.h \
|
2009-10-13 18:53:33 +02:00
|
|
|
src/playlist_queue.h \
|
2010-07-21 08:58:15 +02:00
|
|
|
src/playlist_vector.h \
|
|
|
|
src/playlist_database.h \
|
2009-11-06 00:41:42 +01:00
|
|
|
src/playlist/extm3u_playlist_plugin.h \
|
2009-10-12 22:34:04 +02:00
|
|
|
src/playlist/m3u_playlist_plugin.h \
|
2009-10-15 00:08:06 +02:00
|
|
|
src/playlist/pls_playlist_plugin.h \
|
2009-10-13 16:31:07 +02:00
|
|
|
src/playlist/xspf_playlist_plugin.h \
|
2009-10-21 23:39:47 +02:00
|
|
|
src/playlist/asx_playlist_plugin.h \
|
2010-10-11 20:25:05 +02:00
|
|
|
src/playlist/rss_playlist_plugin.h \
|
2009-10-13 16:32:10 +02:00
|
|
|
src/playlist/lastfm_playlist_plugin.h \
|
2011-03-27 08:41:40 +02:00
|
|
|
src/playlist/despotify_playlist_plugin.h \
|
2009-12-16 20:04:36 +01:00
|
|
|
src/playlist/cue_playlist_plugin.h \
|
2009-03-09 19:09:30 +01:00
|
|
|
src/poison.h \
|
2009-03-02 18:00:46 +01:00
|
|
|
src/riff.h \
|
2009-03-02 18:12:44 +01:00
|
|
|
src/aiff.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/queue.h \
|
|
|
|
src/queue_print.h \
|
|
|
|
src/queue_save.h \
|
2010-06-14 04:49:38 +02:00
|
|
|
src/refcount.h \
|
2010-01-04 20:58:17 +01:00
|
|
|
src/replay_gain_config.h \
|
2010-01-04 20:43:19 +01:00
|
|
|
src/replay_gain_info.h \
|
2010-11-18 22:25:11 +01:00
|
|
|
src/replay_gain_ape.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/sig_handlers.h \
|
|
|
|
src/song.h \
|
|
|
|
src/song_print.h \
|
|
|
|
src/song_save.h \
|
|
|
|
src/song_sticker.h \
|
2012-01-24 21:33:09 +01:00
|
|
|
src/song_sort.c src/song_sort.h \
|
2009-02-28 15:12:24 +01:00
|
|
|
src/socket_util.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/state_file.h \
|
|
|
|
src/stats.h \
|
|
|
|
src/sticker.h \
|
2009-04-01 17:30:56 +02:00
|
|
|
src/sticker_print.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/tag.h \
|
|
|
|
src/tag_internal.h \
|
|
|
|
src/tag_pool.h \
|
2010-05-30 22:39:09 +02:00
|
|
|
src/tag_table.h \
|
2009-02-28 16:44:41 +01:00
|
|
|
src/tag_ape.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/tag_id3.h \
|
2010-07-20 18:38:10 +02:00
|
|
|
src/tag_rva2.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/tag_print.h \
|
|
|
|
src/tag_save.h \
|
2009-07-19 15:11:36 +02:00
|
|
|
src/tokenizer.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/strset.h \
|
2009-02-25 16:44:06 +01:00
|
|
|
src/uri.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/utils.h \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/string_util.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/volume.h \
|
|
|
|
src/zeroconf.h src/zeroconf-internal.h \
|
|
|
|
src/locate.h \
|
|
|
|
src/stored_playlist.h \
|
|
|
|
src/timer.h \
|
|
|
|
src/archive_api.h \
|
|
|
|
src/archive_internal.h \
|
|
|
|
src/archive_list.h \
|
2009-12-15 17:36:21 +01:00
|
|
|
src/archive_plugin.h \
|
2009-12-16 16:11:45 +01:00
|
|
|
src/archive/bz2_archive_plugin.h \
|
|
|
|
src/archive/iso9660_archive_plugin.h \
|
|
|
|
src/archive/zzip_archive_plugin.h \
|
2009-03-31 21:48:04 +02:00
|
|
|
src/input/archive_input_plugin.h \
|
2010-10-03 19:34:45 +02:00
|
|
|
src/mpd_error.h
|
2009-02-23 10:04:51 +01:00
|
|
|
|
|
|
|
src_mpd_SOURCES = \
|
|
|
|
$(mpd_headers) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(DECODER_SRC) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(OUTPUT_API_SRC) \
|
|
|
|
$(MIXER_API_SRC) \
|
2011-09-19 20:40:33 +02:00
|
|
|
src/glib_socket.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/notify.c \
|
2011-10-10 08:57:51 +02:00
|
|
|
src/audio_config.c src/audio_config.h \
|
2009-11-10 19:00:41 +01:00
|
|
|
src/audio_check.c \
|
2009-11-10 17:57:14 +01:00
|
|
|
src/audio_format.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/audio_parser.c \
|
2012-02-14 19:13:04 +01:00
|
|
|
src/protocol/argparser.c src/protocol/argparser.h \
|
2012-02-14 18:46:30 +01:00
|
|
|
src/protocol/result.c src/protocol/result.h \
|
2012-08-07 22:26:14 +02:00
|
|
|
src/CommandError.cxx src/CommandError.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/command.c \
|
2012-08-07 21:55:11 +02:00
|
|
|
src/DatabaseCommands.cxx \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/idle.c \
|
|
|
|
src/cmdline.c \
|
|
|
|
src/conf.c \
|
|
|
|
src/crossfade.c \
|
2012-02-10 00:12:29 +01:00
|
|
|
src/cue/cue_parser.c src/cue/cue_parser.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/decoder_thread.c \
|
|
|
|
src/decoder_control.c \
|
|
|
|
src/decoder_api.c \
|
2009-03-06 00:42:01 +01:00
|
|
|
src/decoder_internal.c \
|
2009-11-07 15:57:22 +01:00
|
|
|
src/decoder_print.c \
|
2012-07-30 07:26:08 +02:00
|
|
|
src/Directory.cxx \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/directory_save.c \
|
2012-07-30 07:26:08 +02:00
|
|
|
src/DatabaseGlue.cxx \
|
2012-08-07 23:10:34 +02:00
|
|
|
src/DatabasePrint.cxx src/DatabasePrint.hxx \
|
2012-08-07 22:57:18 +02:00
|
|
|
src/DatabaseQueue.cxx src/DatabaseQueue.hxx \
|
|
|
|
src/DatabasePlaylist.cxx src/DatabasePlaylist.hxx \
|
2011-09-10 19:24:30 +02:00
|
|
|
src/db_error.h \
|
2012-01-21 10:47:13 +01:00
|
|
|
src/db_lock.c src/db_lock.h \
|
2011-09-10 07:33:13 +02:00
|
|
|
src/db_save.c src/db_save.h \
|
2011-09-10 19:24:30 +02:00
|
|
|
src/db_visitor.h \
|
2012-07-30 07:26:08 +02:00
|
|
|
src/DatabasePlugin.hxx \
|
|
|
|
src/DatabaseVisitor.hxx \
|
2012-08-07 23:06:41 +02:00
|
|
|
src/DatabaseSelection.hxx \
|
2009-10-16 18:11:43 +02:00
|
|
|
src/exclude.c \
|
2009-11-07 18:55:16 +01:00
|
|
|
src/fd_util.c \
|
2011-11-28 07:48:07 +01:00
|
|
|
src/fifo_buffer.c src/fifo_buffer.h \
|
|
|
|
src/growing_fifo.c src/growing_fifo.h \
|
2009-12-14 21:09:28 +01:00
|
|
|
src/filter_config.c \
|
2009-07-03 01:02:53 +02:00
|
|
|
src/filter_plugin.c \
|
|
|
|
src/filter_registry.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/update.c \
|
2012-06-13 21:38:28 +02:00
|
|
|
src/update_queue.c src/update_queue.h \
|
2012-02-12 17:00:00 +01:00
|
|
|
src/update_io.c src/update_io.h \
|
2012-02-12 17:06:34 +01:00
|
|
|
src/update_db.c src/update_db.h \
|
2012-06-13 21:38:28 +02:00
|
|
|
src/update_walk.c src/update_walk.h \
|
2012-06-13 22:14:16 +02:00
|
|
|
src/update_song.c src/update_song.h \
|
2012-06-13 22:07:15 +02:00
|
|
|
src/update_container.c src/update_container.h \
|
2012-06-13 21:28:26 +02:00
|
|
|
src/update_internal.h \
|
2012-06-27 10:11:21 +02:00
|
|
|
src/update_remove.c src/update_remove.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/client.c \
|
2009-07-28 17:17:23 +02:00
|
|
|
src/client_event.c \
|
|
|
|
src/client_expire.c \
|
|
|
|
src/client_global.c \
|
2011-06-03 17:27:43 +02:00
|
|
|
src/client_idle.h \
|
2009-07-28 17:17:23 +02:00
|
|
|
src/client_idle.c \
|
|
|
|
src/client_list.c \
|
|
|
|
src/client_new.c \
|
|
|
|
src/client_process.c \
|
|
|
|
src/client_read.c \
|
|
|
|
src/client_write.c \
|
2011-01-29 09:26:22 +01:00
|
|
|
src/client_message.h \
|
|
|
|
src/client_message.c \
|
|
|
|
src/client_subscribe.h \
|
|
|
|
src/client_subscribe.c \
|
2012-03-06 22:01:24 +01:00
|
|
|
src/client_file.c src/client_file.h \
|
2010-10-05 20:29:41 +02:00
|
|
|
src/server_socket.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/listen.c \
|
|
|
|
src/log.c \
|
|
|
|
src/ls.c \
|
2011-08-24 02:34:28 +02:00
|
|
|
src/io_thread.c src/io_thread.h \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/main.c \
|
2010-09-21 03:28:08 +02:00
|
|
|
src/main_win32.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/event_pipe.c \
|
|
|
|
src/daemon.c \
|
2009-12-02 18:11:53 +01:00
|
|
|
src/AudioCompress/compress.c \
|
2009-03-06 00:42:03 +01:00
|
|
|
src/buffer.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/pipe.c \
|
2009-03-03 22:23:25 +01:00
|
|
|
src/chunk.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/path.c \
|
|
|
|
src/mapper.c \
|
2009-03-15 02:29:12 +01:00
|
|
|
src/page.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/permission.c \
|
|
|
|
src/player_thread.c \
|
|
|
|
src/player_control.c \
|
|
|
|
src/playlist.c \
|
|
|
|
src/playlist_global.c \
|
|
|
|
src/playlist_control.c \
|
|
|
|
src/playlist_edit.c \
|
|
|
|
src/playlist_print.c \
|
|
|
|
src/playlist_save.c \
|
2010-02-08 10:56:28 +01:00
|
|
|
src/playlist_mapper.c \
|
2010-06-25 21:45:04 +02:00
|
|
|
src/playlist_any.c \
|
2010-02-08 10:28:12 +01:00
|
|
|
src/playlist_song.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/playlist_state.c \
|
2009-10-13 18:53:33 +02:00
|
|
|
src/playlist_queue.c \
|
2010-07-21 08:58:15 +02:00
|
|
|
src/playlist_vector.c \
|
|
|
|
src/playlist_database.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/queue.c \
|
|
|
|
src/queue_print.c \
|
|
|
|
src/queue_save.c \
|
2010-01-04 20:58:17 +01:00
|
|
|
src/replay_gain_config.c \
|
2010-01-04 20:43:19 +01:00
|
|
|
src/replay_gain_info.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/sig_handlers.c \
|
|
|
|
src/song.c \
|
2009-10-12 22:30:50 +02:00
|
|
|
src/song_update.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/song_print.c \
|
|
|
|
src/song_save.c \
|
2011-09-20 07:56:59 +02:00
|
|
|
src/resolver.c src/resolver.h \
|
2009-02-28 15:12:24 +01:00
|
|
|
src/socket_util.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/state_file.c \
|
2012-08-02 18:55:53 +02:00
|
|
|
src/Stats.cxx \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/tag.c \
|
|
|
|
src/tag_pool.c \
|
|
|
|
src/tag_print.c \
|
|
|
|
src/tag_save.c \
|
2012-02-11 19:12:02 +01:00
|
|
|
src/tag_handler.c src/tag_handler.h \
|
2012-02-12 15:20:38 +01:00
|
|
|
src/tag_file.c src/tag_file.h \
|
2009-07-19 15:11:36 +02:00
|
|
|
src/tokenizer.c \
|
2009-11-01 15:37:16 +01:00
|
|
|
src/text_file.c \
|
2009-10-12 22:30:59 +02:00
|
|
|
src/text_input_stream.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/strset.c \
|
2009-02-25 16:44:06 +01:00
|
|
|
src/uri.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/utils.c \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/string_util.c \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/volume.c \
|
|
|
|
src/locate.c \
|
|
|
|
src/stored_playlist.c \
|
|
|
|
src/timer.c
|
|
|
|
|
2012-02-18 12:33:49 +01:00
|
|
|
#
|
|
|
|
# Windows resource file
|
|
|
|
#
|
|
|
|
|
|
|
|
src/win/mpd_win32_rc.$(OBJEXT): src/win/mpd_win32_rc.rc
|
|
|
|
$(WINDRES) -i $< -o $@
|
|
|
|
|
|
|
|
if HAVE_WINDOWS
|
|
|
|
noinst_DATA = src/win/mpd_win32_rc.rc
|
|
|
|
|
|
|
|
src_mpd_DEPENDENCIES = src/win/mpd_win32_rc.$(OBJEXT)
|
|
|
|
src_mpd_LDFLAGS = -Wl,src/win/mpd_win32_rc.$(OBJEXT)
|
|
|
|
endif
|
|
|
|
|
2011-03-27 08:41:40 +02:00
|
|
|
if ENABLE_DESPOTIFY
|
|
|
|
src_mpd_SOURCES += \
|
|
|
|
src/despotify_utils.c
|
|
|
|
endif
|
|
|
|
|
2009-10-24 18:24:29 +02:00
|
|
|
if ENABLE_INOTIFY
|
2009-09-25 18:32:00 +02:00
|
|
|
src_mpd_SOURCES += \
|
|
|
|
src/inotify_source.c \
|
|
|
|
src/inotify_queue.c \
|
|
|
|
src/inotify_update.c
|
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if ENABLE_SQLITE
|
2009-04-01 17:30:56 +02:00
|
|
|
src_mpd_SOURCES += \
|
|
|
|
src/sticker.c \
|
|
|
|
src/sticker_print.c \
|
|
|
|
src/song_sticker.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2012-03-21 18:50:18 +01:00
|
|
|
# Generic utility library
|
|
|
|
|
|
|
|
libutil_a_SOURCES = \
|
|
|
|
src/util/list.h \
|
|
|
|
src/util/list_sort.c src/util/list_sort.h \
|
2012-03-21 18:45:51 +01:00
|
|
|
src/util/byte_reverse.c src/util/byte_reverse.h \
|
2012-03-21 18:50:18 +01:00
|
|
|
src/util/bit_reverse.c src/util/bit_reverse.h
|
|
|
|
|
2011-10-09 16:18:03 +02:00
|
|
|
# PCM library
|
|
|
|
|
|
|
|
libpcm_a_SOURCES = \
|
2011-10-10 08:17:39 +02:00
|
|
|
src/pcm_buffer.c src/pcm_buffer.h \
|
2012-03-21 19:54:35 +01:00
|
|
|
src/pcm_export.c src/pcm_export.h \
|
2011-10-09 16:18:03 +02:00
|
|
|
src/pcm_convert.c src/pcm_convert.h \
|
2012-03-01 00:57:33 +01:00
|
|
|
src/dsd2pcm/dsd2pcm.c src/dsd2pcm/dsd2pcm.h \
|
|
|
|
src/pcm_dsd.c src/pcm_dsd.h \
|
2012-03-20 01:01:12 +01:00
|
|
|
src/pcm_dsd_usb.c src/pcm_dsd_usb.h \
|
2011-10-09 16:18:03 +02:00
|
|
|
src/pcm_volume.c src/pcm_volume.h \
|
|
|
|
src/pcm_mix.c src/pcm_mix.h \
|
|
|
|
src/pcm_channels.c src/pcm_channels.h \
|
|
|
|
src/pcm_pack.c src/pcm_pack.h \
|
|
|
|
src/pcm_format.c src/pcm_format.h \
|
|
|
|
src/pcm_resample.c src/pcm_resample.h \
|
|
|
|
src/pcm_resample_fallback.c \
|
|
|
|
src/pcm_resample_internal.h \
|
|
|
|
src/pcm_dither.c src/pcm_dither.h \
|
|
|
|
src/pcm_prng.h \
|
|
|
|
src/pcm_utils.h
|
|
|
|
libpcm_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2009-03-28 21:38:44 +01:00
|
|
|
$(SAMPLERATE_CFLAGS)
|
2011-10-09 16:18:03 +02:00
|
|
|
|
|
|
|
PCM_LIBS = \
|
|
|
|
libpcm.a \
|
2009-03-28 21:38:44 +01:00
|
|
|
$(SAMPLERATE_LIBS)
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_LIBSAMPLERATE
|
2011-10-09 16:18:03 +02:00
|
|
|
libpcm_a_SOURCES += src/pcm_resample_libsamplerate.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2012-08-02 19:23:11 +02:00
|
|
|
# database plugins
|
|
|
|
|
|
|
|
libdb_plugins_a_SOURCES = \
|
2012-08-07 20:07:17 +02:00
|
|
|
src/DatabaseRegistry.cxx src/DatabaseRegistry.hxx \
|
2012-08-02 19:23:11 +02:00
|
|
|
src/db/SimpleDatabasePlugin.cxx src/db/SimpleDatabasePlugin.hxx
|
|
|
|
|
|
|
|
DB_LIBS = \
|
|
|
|
libdb_plugins.a
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
# archive plugins
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
if ENABLE_ARCHIVE
|
|
|
|
|
|
|
|
noinst_LIBRARIES += libarchive.a
|
|
|
|
|
2012-06-13 21:28:26 +02:00
|
|
|
src_mpd_SOURCES += \
|
|
|
|
src/update_archive.c src/update_archive.h
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libarchive_a_SOURCES = \
|
|
|
|
src/archive_api.c \
|
|
|
|
src/archive_list.c \
|
|
|
|
src/archive_plugin.c \
|
|
|
|
src/input/archive_input_plugin.c
|
|
|
|
libarchive_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2011-10-09 17:58:36 +02:00
|
|
|
$(BZ2_CFLAGS) \
|
2009-04-13 20:47:28 +02:00
|
|
|
$(ISO9660_CFLAGS) \
|
2009-04-13 20:46:31 +02:00
|
|
|
$(ZZIP_CFLAGS)
|
|
|
|
|
|
|
|
ARCHIVE_LIBS = \
|
2011-10-09 14:29:36 +02:00
|
|
|
libarchive.a \
|
2011-10-09 17:56:46 +02:00
|
|
|
$(BZ2_LIBS) \
|
2009-04-13 20:47:28 +02:00
|
|
|
$(ISO9660_LIBS) \
|
2009-04-13 20:46:31 +02:00
|
|
|
$(ZZIP_LIBS)
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_BZ2
|
2011-10-09 14:29:36 +02:00
|
|
|
libarchive_a_SOURCES += src/archive/bz2_archive_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-12-15 20:29:44 +01:00
|
|
|
if HAVE_ZZIP
|
2011-10-09 14:29:36 +02:00
|
|
|
libarchive_a_SOURCES += src/archive/zzip_archive_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-12-16 16:06:16 +01:00
|
|
|
if HAVE_ISO9660
|
2011-10-09 14:29:36 +02:00
|
|
|
libarchive_a_SOURCES += src/archive/iso9660_archive_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
else
|
|
|
|
ARCHIVE_LIBS =
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2009-04-25 13:21:28 +02:00
|
|
|
# tag plugins
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libtag_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2009-04-25 13:21:28 +02:00
|
|
|
$(ID3TAG_CFLAGS)
|
|
|
|
TAG_LIBS = \
|
2011-10-09 14:29:36 +02:00
|
|
|
libtag.a \
|
2009-04-25 13:21:28 +02:00
|
|
|
$(ID3TAG_LIBS)
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libtag_a_SOURCES =\
|
2010-11-18 21:44:24 +01:00
|
|
|
src/ape.c \
|
2010-11-18 22:25:11 +01:00
|
|
|
src/replay_gain_ape.c \
|
2009-04-25 13:21:28 +02:00
|
|
|
src/tag_ape.c
|
|
|
|
|
|
|
|
if HAVE_ID3TAG
|
2011-10-09 14:29:36 +02:00
|
|
|
libtag_a_SOURCES += \
|
|
|
|
src/tag_id3.c \
|
2010-07-20 18:38:10 +02:00
|
|
|
src/tag_rva2.c \
|
2009-04-25 13:21:28 +02:00
|
|
|
src/riff.c src/aiff.c
|
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
# decoder plugins
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES = \
|
|
|
|
src/decoder/pcm_decoder_plugin.c \
|
|
|
|
src/decoder/dsdiff_decoder_plugin.c \
|
|
|
|
src/decoder/dsdiff_decoder_plugin.h \
|
2012-06-16 13:46:42 +02:00
|
|
|
src/decoder/dsf_decoder_plugin.c \
|
|
|
|
src/decoder/dsf_decoder_plugin.h \
|
|
|
|
src/decoder/dsdlib.c \
|
|
|
|
src/decoder/dsdlib.h \
|
2011-10-09 14:29:36 +02:00
|
|
|
src/decoder_buffer.c \
|
|
|
|
src/decoder_plugin.c \
|
|
|
|
src/decoder_list.c
|
|
|
|
libdecoder_plugins_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2009-04-01 22:45:17 +02:00
|
|
|
$(VORBIS_CFLAGS) $(TREMOR_CFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(patsubst -I%/FLAC,-I%,$(FLAC_CFLAGS)) \
|
2009-07-07 08:58:51 +02:00
|
|
|
$(SNDFILE_CFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(AUDIOFILE_CFLAGS) \
|
|
|
|
$(LIBMIKMOD_CFLAGS) \
|
2010-04-10 10:05:16 +02:00
|
|
|
$(GME_CFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(SIDPLAY_CFLAGS) \
|
|
|
|
$(FLUIDSYNTH_CFLAGS) \
|
|
|
|
$(WILDMIDI_CFLAGS) \
|
2009-07-14 21:29:01 +02:00
|
|
|
$(WAVPACK_CFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(MAD_CFLAGS) \
|
2009-08-26 20:08:13 +02:00
|
|
|
$(MPG123_CFLAGS) \
|
2009-03-31 21:48:04 +02:00
|
|
|
$(FFMPEG_CFLAGS) \
|
2011-10-09 17:58:36 +02:00
|
|
|
$(MPCDEC_CFLAGS) \
|
2012-02-10 00:12:29 +01:00
|
|
|
$(FAAD_CFLAGS)
|
2009-02-25 16:44:11 +01:00
|
|
|
|
|
|
|
DECODER_LIBS = \
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins.a \
|
2009-04-01 22:45:17 +02:00
|
|
|
$(VORBIS_LIBS) $(TREMOR_LIBS) \
|
2009-04-01 22:45:00 +02:00
|
|
|
$(FLAC_LIBS) \
|
2009-07-07 08:58:51 +02:00
|
|
|
$(SNDFILE_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(AUDIOFILE_LIBS) $(LIBMIKMOD_LIBS) \
|
2010-04-10 10:05:16 +02:00
|
|
|
$(GME_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(SIDPLAY_LIBS) \
|
|
|
|
$(FLUIDSYNTH_LIBS) \
|
|
|
|
$(WILDMIDI_LIBS) \
|
2009-07-14 21:29:01 +02:00
|
|
|
$(WAVPACK_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(MAD_LIBS) \
|
2009-08-26 20:08:13 +02:00
|
|
|
$(MPG123_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(MP4FF_LIBS) \
|
2009-03-31 21:48:04 +02:00
|
|
|
$(FFMPEG_LIBS) \
|
2011-10-09 17:58:36 +02:00
|
|
|
$(MPCDEC_LIBS) \
|
2012-02-10 00:12:29 +01:00
|
|
|
$(FAAD_LIBS)
|
2009-02-25 16:44:11 +01:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
DECODER_SRC =
|
2009-02-25 16:44:11 +01:00
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_MAD
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/mad_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-08-26 20:08:13 +02:00
|
|
|
if HAVE_MPG123
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/mpg123_decoder_plugin.c
|
2009-08-26 20:08:13 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_MPCDEC
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/mpcdec_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_WAVPACK
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/wavpack_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_FAAD
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/faad_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_MP4
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/mp4ff_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_OGG_COMMON
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/_ogg_common.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_FLAC_COMMON
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
2009-11-11 07:50:40 +01:00
|
|
|
src/decoder/flac_metadata.c \
|
2009-11-11 07:59:22 +01:00
|
|
|
src/decoder/flac_pcm.c \
|
2009-11-11 07:50:40 +01:00
|
|
|
src/decoder/_flac_common.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-04-01 22:45:17 +02:00
|
|
|
if ENABLE_VORBIS_DECODER
|
2012-02-11 10:04:02 +01:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/vorbis_comments.c \
|
|
|
|
src/decoder/vorbis_comments.h \
|
|
|
|
src/decoder/vorbis_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_FLAC
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/flac_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_AUDIOFILE
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/audiofile_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-04-01 22:48:06 +02:00
|
|
|
if ENABLE_MIKMOD_DECODER
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/mikmod_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_MODPLUG
|
2011-01-09 18:21:27 +01:00
|
|
|
libmodplug_decoder_plugin_a_SOURCES = src/decoder/modplug_decoder_plugin.c
|
|
|
|
libmodplug_decoder_plugin_a_CFLAGS = $(src_mpd_CFLAGS) $(MODPLUG_CFLAGS)
|
|
|
|
libmodplug_decoder_plugin_a_CPPFLAGS = $(src_mpd_CPPFLAGS)
|
|
|
|
noinst_LIBRARIES += libmodplug_decoder_plugin.a
|
|
|
|
DECODER_LIBS += libmodplug_decoder_plugin.a $(MODPLUG_LIBS)
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_SIDPLAY
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/sidplay_decoder_plugin.cxx
|
|
|
|
DECODER_SRC += src/dummy.cxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_FLUIDSYNTH
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/fluidsynth_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_WILDMIDI
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/wildmidi_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_FFMPEG
|
2012-02-11 16:29:49 +01:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/ffmpeg_metadata.c \
|
|
|
|
src/decoder/ffmpeg_metadata.h \
|
|
|
|
src/decoder/ffmpeg_decoder_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-07-07 08:58:51 +02:00
|
|
|
if ENABLE_SNDFILE
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/sndfile_decoder_plugin.c
|
2009-07-07 08:58:51 +02:00
|
|
|
endif
|
|
|
|
|
2010-04-10 10:05:16 +02:00
|
|
|
if HAVE_GME
|
2011-10-09 14:29:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += src/decoder/gme_decoder_plugin.c
|
2010-04-10 10:05:16 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
# encoder plugins
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
if ENABLE_ENCODER
|
|
|
|
|
|
|
|
noinst_LIBRARIES += libencoder_plugins.a
|
|
|
|
|
|
|
|
libencoder_plugins_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2009-04-01 22:05:53 +02:00
|
|
|
$(LAME_CFLAGS) \
|
2009-07-14 23:07:41 +02:00
|
|
|
$(TWOLAME_CFLAGS) \
|
2009-11-17 19:41:35 +01:00
|
|
|
$(patsubst -I%/FLAC,-I%,$(FLAC_CFLAGS)) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(VORBISENC_CFLAGS)
|
|
|
|
|
|
|
|
ENCODER_LIBS = \
|
2011-10-09 14:29:36 +02:00
|
|
|
libencoder_plugins.a \
|
2009-04-01 22:05:53 +02:00
|
|
|
$(LAME_LIBS) \
|
2009-07-14 23:07:41 +02:00
|
|
|
$(TWOLAME_LIBS) \
|
2009-11-17 19:41:35 +01:00
|
|
|
$(FLAC_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(VORBISENC_LIBS)
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libencoder_plugins_a_SOURCES =
|
2009-02-25 16:44:11 +01:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libencoder_plugins_a_SOURCES += src/encoder_list.c
|
|
|
|
libencoder_plugins_a_SOURCES += src/encoder/null_encoder.c
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2009-11-10 23:29:54 +01:00
|
|
|
if ENABLE_WAVE_ENCODER
|
2011-10-09 14:29:36 +02:00
|
|
|
libencoder_plugins_a_SOURCES += src/encoder/wave_encoder.c
|
2009-11-10 23:29:54 +01:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if ENABLE_VORBIS_ENCODER
|
2011-10-09 14:29:36 +02:00
|
|
|
libencoder_plugins_a_SOURCES += src/encoder/vorbis_encoder.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_LAME_ENCODER
|
2011-10-09 14:29:36 +02:00
|
|
|
libencoder_plugins_a_SOURCES += src/encoder/lame_encoder.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
2009-07-14 23:07:41 +02:00
|
|
|
|
|
|
|
if ENABLE_TWOLAME_ENCODER
|
2011-10-09 14:29:36 +02:00
|
|
|
libencoder_plugins_a_SOURCES += src/encoder/twolame_encoder.c
|
2009-07-14 23:07:41 +02:00
|
|
|
endif
|
2009-11-17 19:41:35 +01:00
|
|
|
|
|
|
|
if ENABLE_FLAC_ENCODER
|
2011-10-09 14:29:36 +02:00
|
|
|
libencoder_plugins_a_SOURCES += src/encoder/flac_encoder.c
|
2009-11-17 19:41:35 +01:00
|
|
|
endif
|
2011-10-09 14:29:36 +02:00
|
|
|
|
|
|
|
else
|
|
|
|
ENCODER_LIBS =
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
if HAVE_ZEROCONF
|
|
|
|
src_mpd_SOURCES += src/zeroconf.c
|
|
|
|
|
|
|
|
if HAVE_AVAHI
|
|
|
|
src_mpd_SOURCES += src/zeroconf-avahi.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_BONJOUR
|
|
|
|
src_mpd_SOURCES += src/zeroconf-bonjour.c
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-02-25 16:44:11 +01:00
|
|
|
#
|
|
|
|
# input plugins
|
|
|
|
#
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libinput_a_SOURCES = \
|
|
|
|
src/input_init.c \
|
|
|
|
src/input_registry.c \
|
|
|
|
src/input_stream.c \
|
|
|
|
src/input_internal.c src/input_internal.h \
|
|
|
|
src/input/rewind_input_plugin.c \
|
|
|
|
src/input/file_input_plugin.c
|
|
|
|
|
|
|
|
libinput_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(CURL_CFLAGS) \
|
2011-08-24 03:23:12 +02:00
|
|
|
$(SOUP_CFLAGS) \
|
2010-12-21 22:23:01 +01:00
|
|
|
$(CDIO_PARANOIA_CFLAGS) \
|
2010-05-18 20:48:52 +02:00
|
|
|
$(FFMPEG_CFLAGS) \
|
2011-10-09 17:36:02 +02:00
|
|
|
$(DESPOTIFY_CFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(MMS_CFLAGS)
|
|
|
|
|
|
|
|
INPUT_LIBS = \
|
2011-10-09 14:29:36 +02:00
|
|
|
libinput.a \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(CURL_LIBS) \
|
2011-08-24 03:23:12 +02:00
|
|
|
$(SOUP_LIBS) \
|
2010-12-21 22:23:01 +01:00
|
|
|
$(CDIO_PARANOIA_LIBS) \
|
2010-05-18 20:48:52 +02:00
|
|
|
$(FFMPEG_LIBS) \
|
2011-10-09 17:36:02 +02:00
|
|
|
$(DESPOTIFY_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(MMS_LIBS)
|
|
|
|
|
2009-09-24 21:40:07 +02:00
|
|
|
if ENABLE_CURL
|
2011-10-09 14:29:36 +02:00
|
|
|
libinput_a_SOURCES += src/input/curl_input_plugin.c \
|
2009-12-29 23:55:40 +01:00
|
|
|
src/icy_metadata.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
2009-03-02 23:11:31 +01:00
|
|
|
|
2011-08-24 03:23:12 +02:00
|
|
|
if ENABLE_SOUP
|
2011-10-09 14:29:36 +02:00
|
|
|
libinput_a_SOURCES += \
|
2011-08-24 03:23:12 +02:00
|
|
|
src/input/soup_input_plugin.c \
|
|
|
|
src/input/soup_input_plugin.h
|
|
|
|
endif
|
|
|
|
|
2010-12-21 22:23:01 +01:00
|
|
|
if ENABLE_CDIO_PARANOIA
|
2011-10-09 14:29:36 +02:00
|
|
|
libinput_a_SOURCES += src/input/cdio_paranoia_input_plugin.c
|
2010-12-21 22:23:01 +01:00
|
|
|
endif
|
|
|
|
|
2010-05-18 20:48:52 +02:00
|
|
|
if HAVE_FFMPEG
|
2011-10-09 14:29:36 +02:00
|
|
|
libinput_a_SOURCES += src/input/ffmpeg_input_plugin.c
|
2010-05-18 20:48:52 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if ENABLE_MMS
|
2011-10-09 14:29:36 +02:00
|
|
|
libinput_a_SOURCES += src/input/mms_input_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2011-03-27 08:41:40 +02:00
|
|
|
if ENABLE_DESPOTIFY
|
2011-10-09 14:29:36 +02:00
|
|
|
libinput_a_SOURCES += src/input/despotify_input_plugin.c
|
2011-03-27 08:41:40 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(AO_CFLAGS) \
|
|
|
|
$(ALSA_CFLAGS) \
|
2010-10-03 21:07:55 +02:00
|
|
|
$(FFADO_CFLAGS) \
|
2009-03-28 21:38:53 +01:00
|
|
|
$(JACK_CFLAGS) \
|
2010-01-01 17:10:10 +01:00
|
|
|
$(OPENAL_CFLAGS) \
|
2011-08-29 09:21:00 +02:00
|
|
|
$(OPENSSL_CFLAGS) \
|
2009-03-28 21:39:26 +01:00
|
|
|
$(PULSE_CFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(SHOUT_CFLAGS)
|
|
|
|
|
|
|
|
OUTPUT_LIBS = \
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins.a \
|
2010-06-21 09:45:35 +02:00
|
|
|
$(LIBWRAP_LDFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(AO_LIBS) \
|
|
|
|
$(ALSA_LIBS) \
|
2011-02-08 00:17:58 +01:00
|
|
|
$(ROAR_LIBS) \
|
2010-10-03 21:07:55 +02:00
|
|
|
$(FFADO_LIBS) \
|
2009-03-28 21:38:53 +01:00
|
|
|
$(JACK_LIBS) \
|
2010-01-01 17:10:10 +01:00
|
|
|
$(OPENAL_LIBS) \
|
2009-03-28 21:39:26 +01:00
|
|
|
$(PULSE_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(SHOUT_LIBS)
|
|
|
|
|
2009-03-10 15:46:55 +01:00
|
|
|
OUTPUT_API_SRC = \
|
2009-02-25 16:44:11 +01:00
|
|
|
src/output_list.c \
|
|
|
|
src/output_all.c \
|
|
|
|
src/output_thread.c \
|
|
|
|
src/output_control.c \
|
|
|
|
src/output_state.c \
|
|
|
|
src/output_print.c \
|
|
|
|
src/output_command.c \
|
2011-09-16 23:31:48 +02:00
|
|
|
src/output_plugin.c src/output_plugin.h \
|
2011-08-30 22:28:15 +02:00
|
|
|
src/output_finish.c \
|
2009-03-10 15:46:55 +01:00
|
|
|
src/output_init.c
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES = \
|
2012-06-27 10:11:21 +02:00
|
|
|
src/output/null_output_plugin.h \
|
2011-09-17 08:54:50 +02:00
|
|
|
src/output/null_output_plugin.c
|
2009-02-25 16:44:11 +01:00
|
|
|
|
2011-11-13 23:19:38 +01:00
|
|
|
MIXER_LIBS = \
|
|
|
|
libmixer_plugins.a \
|
|
|
|
$(PULSE_LIBS)
|
|
|
|
|
2009-03-12 18:34:37 +01:00
|
|
|
MIXER_API_SRC = \
|
|
|
|
src/mixer_control.c \
|
2009-07-06 07:37:37 +02:00
|
|
|
src/mixer_type.c \
|
2009-03-14 11:35:40 +01:00
|
|
|
src/mixer_all.c \
|
2009-02-25 16:44:11 +01:00
|
|
|
src/mixer_api.c
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins_a_SOURCES = \
|
2009-07-06 21:52:15 +02:00
|
|
|
src/mixer/software_mixer_plugin.c
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
|
|
$(ALSA_CFLAGS) \
|
|
|
|
$(PULSE_CFLAGS)
|
2009-03-12 18:34:37 +01:00
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_ALSA
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2011-09-17 08:54:28 +02:00
|
|
|
src/output/alsa_output_plugin.c src/output/alsa_output_plugin.h
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/alsa_mixer_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2011-02-08 00:17:58 +01:00
|
|
|
if HAVE_ROAR
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2011-09-17 08:54:28 +02:00
|
|
|
src/output/roar_output_plugin.c src/output/roar_output_plugin.h
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/roar_mixer_plugin.c
|
2011-02-08 00:17:58 +01:00
|
|
|
endif
|
|
|
|
|
2010-10-03 21:07:55 +02:00
|
|
|
if ENABLE_FFADO_OUTPUT
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/ffado_output_plugin.c src/output/ffado_output_plugin.h
|
2010-10-03 21:07:55 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_AO
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/ao_output_plugin.c src/output/ao_output_plugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_FIFO
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/fifo_output_plugin.c src/output/fifo_output_plugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-02-28 16:11:59 +01:00
|
|
|
if ENABLE_PIPE_OUTPUT
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/pipe_output_plugin.c src/output/pipe_output_plugin.h
|
2009-02-28 16:11:59 +01:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_JACK
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/jack_output_plugin.c src/output/jack_output_plugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_MVP
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/mvp_output_plugin.c src/output/mvp_output_plugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_OSS
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/oss_output_plugin.c src/output/oss_output_plugin.h
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/oss_mixer_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-08-31 09:26:22 +02:00
|
|
|
if HAVE_OPENAL
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/openal_output_plugin.c src/output/openal_output_plugin.h
|
2009-08-31 09:26:22 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_OSX
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/osx_output_plugin.c src/output/osx_output_plugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_PULSE
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2011-09-17 08:54:28 +02:00
|
|
|
src/output/pulse_output_plugin.c src/output/pulse_output_plugin.h
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/pulse_mixer_plugin.c
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_SHOUT
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/shout_output_plugin.c src/output/shout_output_plugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-08-24 18:57:06 +02:00
|
|
|
if ENABLE_RECORDER_OUTPUT
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/recorder_output_plugin.c src/output/recorder_output_plugin.h
|
2009-08-24 18:57:06 +02:00
|
|
|
endif
|
|
|
|
|
httpd: new output plugin to replace "shout"
Let's get rid of the "shout" plugin, and the awfully complicated
icecast daemon setup! MPD can do better if it's doing the HTTP server
stuff on its own. This new plugin has several advantages:
- easier to set up - only one daemon, no password settings, no mount
settings
- MPD controls the encoder and thus already knows the packet
boundaries - icecast has to parse them
- MPD doesn't bother to encode data while nobody is listening
This implementation is very experimental (no header parsing, ignores
request URI, no icy-metadata, ...). It should be able to suport
several encoders in parallel in the future (with different bit rates,
different codec, ...), to make MPD the perfect streaming server. Once
MPD gets multi-player support, we can even mount several different
radio stations on one server.
2009-03-15 03:32:34 +01:00
|
|
|
if ENABLE_HTTPD_OUTPUT
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2009-04-13 19:35:02 +02:00
|
|
|
src/icy_server.c \
|
httpd: new output plugin to replace "shout"
Let's get rid of the "shout" plugin, and the awfully complicated
icecast daemon setup! MPD can do better if it's doing the HTTP server
stuff on its own. This new plugin has several advantages:
- easier to set up - only one daemon, no password settings, no mount
settings
- MPD controls the encoder and thus already knows the packet
boundaries - icecast has to parse them
- MPD doesn't bother to encode data while nobody is listening
This implementation is very experimental (no header parsing, ignores
request URI, no icy-metadata, ...). It should be able to suport
several encoders in parallel in the future (with different bit rates,
different codec, ...), to make MPD the perfect streaming server. Once
MPD gets multi-player support, we can even mount several different
radio stations on one server.
2009-03-15 03:32:34 +01:00
|
|
|
src/output/httpd_client.c \
|
2012-06-27 10:11:21 +02:00
|
|
|
src/output/httpd_output_plugin.c src/output/httpd_output_plugin.h
|
httpd: new output plugin to replace "shout"
Let's get rid of the "shout" plugin, and the awfully complicated
icecast daemon setup! MPD can do better if it's doing the HTTP server
stuff on its own. This new plugin has several advantages:
- easier to set up - only one daemon, no password settings, no mount
settings
- MPD controls the encoder and thus already knows the packet
boundaries - icecast has to parse them
- MPD doesn't bother to encode data while nobody is listening
This implementation is very experimental (no header parsing, ignores
request URI, no icy-metadata, ...). It should be able to suport
several encoders in parallel in the future (with different bit rates,
different codec, ...), to make MPD the perfect streaming server. Once
MPD gets multi-player support, we can even mount several different
radio stations on one server.
2009-03-15 03:32:34 +01:00
|
|
|
endif
|
|
|
|
|
2009-03-16 09:55:10 +01:00
|
|
|
if ENABLE_SOLARIS_OUTPUT
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/solaris_output_plugin.c src/output/solaris_output_plugin.h
|
2009-03-16 09:55:10 +01:00
|
|
|
endif
|
|
|
|
|
2010-10-08 19:55:14 +02:00
|
|
|
if ENABLE_WINMM_OUTPUT
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2011-09-17 08:54:28 +02:00
|
|
|
src/output/winmm_output_plugin.c src/output/winmm_output_plugin.h
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/winmm_mixer_plugin.c
|
2010-05-18 22:56:42 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2009-10-12 22:34:04 +02:00
|
|
|
#
|
|
|
|
# Playlist plugins
|
|
|
|
#
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libplaylist_plugins_a_SOURCES = \
|
2009-11-06 00:41:42 +01:00
|
|
|
src/playlist/extm3u_playlist_plugin.c \
|
2009-10-12 22:34:04 +02:00
|
|
|
src/playlist/m3u_playlist_plugin.c \
|
2009-10-15 00:08:06 +02:00
|
|
|
src/playlist/pls_playlist_plugin.c \
|
2009-10-13 16:31:07 +02:00
|
|
|
src/playlist/xspf_playlist_plugin.c \
|
2009-10-21 23:39:47 +02:00
|
|
|
src/playlist/asx_playlist_plugin.c \
|
2010-10-11 20:25:05 +02:00
|
|
|
src/playlist/rss_playlist_plugin.c \
|
2012-02-10 00:12:29 +01:00
|
|
|
src/playlist/cue_playlist_plugin.c \
|
2012-02-12 15:20:38 +01:00
|
|
|
src/playlist/embcue_playlist_plugin.c \
|
|
|
|
src/playlist/embcue_playlist_plugin.h \
|
2009-10-12 22:34:04 +02:00
|
|
|
src/playlist_list.c
|
2011-10-09 14:29:36 +02:00
|
|
|
libplaylist_plugins_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2012-03-19 21:16:48 +01:00
|
|
|
$(YAJL_CFLAGS) \
|
2012-02-10 00:12:29 +01:00
|
|
|
$(patsubst -I%/FLAC,-I%,$(FLAC_CFLAGS))
|
2011-10-09 14:29:36 +02:00
|
|
|
|
|
|
|
PLAYLIST_LIBS = \
|
|
|
|
libplaylist_plugins.a \
|
|
|
|
$(FLAC_LIBS)
|
2009-10-12 22:34:04 +02:00
|
|
|
|
2009-10-13 16:32:10 +02:00
|
|
|
if ENABLE_LASTFM
|
2011-10-09 14:29:36 +02:00
|
|
|
libplaylist_plugins_a_SOURCES += src/playlist/lastfm_playlist_plugin.c
|
2009-10-13 16:32:10 +02:00
|
|
|
endif
|
|
|
|
|
2011-03-27 08:41:40 +02:00
|
|
|
if ENABLE_DESPOTIFY
|
2011-10-09 14:29:36 +02:00
|
|
|
libplaylist_plugins_a_SOURCES += src/playlist/despotify_playlist_plugin.c
|
2011-03-27 08:41:40 +02:00
|
|
|
endif
|
|
|
|
|
2012-02-27 13:19:45 +01:00
|
|
|
if ENABLE_SOUNDCLOUD
|
|
|
|
libplaylist_plugins_a_SOURCES += \
|
|
|
|
src/playlist/soundcloud_playlist_plugin.h \
|
|
|
|
src/playlist/soundcloud_playlist_plugin.c
|
2012-03-01 20:18:16 +01:00
|
|
|
PLAYLIST_LIBS += $(YAJL_LIBS)
|
2012-02-27 13:19:45 +01:00
|
|
|
endif
|
2009-10-12 22:34:04 +02:00
|
|
|
|
2009-07-05 06:54:48 +02:00
|
|
|
#
|
|
|
|
# Filter plugins
|
|
|
|
#
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libfilter_plugins_a_SOURCES = \
|
2009-07-05 06:54:48 +02:00
|
|
|
src/filter/null_filter_plugin.c \
|
2009-07-06 10:01:02 +02:00
|
|
|
src/filter/chain_filter_plugin.c \
|
2009-12-25 16:41:01 +01:00
|
|
|
src/filter/autoconvert_filter_plugin.c \
|
2009-07-06 10:01:02 +02:00
|
|
|
src/filter/convert_filter_plugin.c \
|
2009-12-13 21:23:57 +01:00
|
|
|
src/filter/route_filter_plugin.c \
|
2009-12-02 21:59:06 +01:00
|
|
|
src/filter/normalize_filter_plugin.c \
|
2010-02-14 17:04:39 +01:00
|
|
|
src/filter/replay_gain_filter_plugin.c \
|
2009-07-05 06:54:48 +02:00
|
|
|
src/filter/volume_filter_plugin.c
|
|
|
|
|
2011-10-09 16:18:03 +02:00
|
|
|
FILTER_LIBS = \
|
|
|
|
libfilter_plugins.a \
|
|
|
|
$(PCM_LIBS)
|
|
|
|
|
2009-07-05 06:54:48 +02:00
|
|
|
|
2011-09-30 08:37:36 +02:00
|
|
|
#
|
|
|
|
# systemd unit
|
|
|
|
#
|
|
|
|
|
|
|
|
if HAVE_SYSTEMD
|
|
|
|
systemdsystemunit_DATA = \
|
|
|
|
mpd.service
|
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
#
|
|
|
|
# Sparse code analysis
|
|
|
|
#
|
|
|
|
# sparse is a semantic parser
|
|
|
|
# URL: git://www.kernel.org/pub/scm/devel/sparse/sparse.git
|
|
|
|
#
|
|
|
|
|
|
|
|
SPARSE = sparse
|
|
|
|
SPARSE_FLAGS =
|
|
|
|
SPARSE_CPPFLAGS = $(DEFAULT_INCLUDES) \
|
|
|
|
-I$(shell $(CC) -print-file-name=include) \
|
|
|
|
-I$(shell $(CC) -print-file-name=include-fixed)
|
2009-03-14 14:30:01 +01:00
|
|
|
SPARSE_CPPFLAGS += -D__SCHAR_MAX__=127 -D__SHRT_MAX__=32767 \
|
|
|
|
-D__INT_MAX__=2147483647 -D__LONG_MAX__=2147483647
|
2011-09-19 08:03:27 +02:00
|
|
|
SPARSE_SRC = $(addprefix $(top_srcdir)/,$(filter %.c,$(src_mpd_SOURCES)))
|
2009-02-23 10:04:51 +01:00
|
|
|
sparse-check:
|
2011-09-19 08:03:27 +02:00
|
|
|
$(SPARSE) -I. $(src_mpd_CFLAGS) $(src_mpd_CPPFLAGS) $(SPARSE_FLAGS) $(SPARSE_CPPFLAGS) $(SPARSE_SRC)
|
2009-02-23 10:04:51 +01:00
|
|
|
|
|
|
|
.PHONY: sparse-check
|
|
|
|
|
2009-02-18 19:27:05 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test programs
|
|
|
|
#
|
|
|
|
|
|
|
|
if ENABLE_TEST
|
|
|
|
|
2011-07-19 00:34:33 +02:00
|
|
|
C_TESTS = \
|
2012-03-21 19:08:32 +01:00
|
|
|
test/test_byte_reverse \
|
2011-10-09 13:22:08 +02:00
|
|
|
test/test_pcm \
|
2011-07-19 00:34:33 +02:00
|
|
|
test/test_queue_priority
|
|
|
|
|
|
|
|
TESTS = $(C_TESTS)
|
2009-12-31 11:11:14 +01:00
|
|
|
|
2009-02-25 17:09:09 +01:00
|
|
|
noinst_PROGRAMS = \
|
2011-07-19 00:34:33 +02:00
|
|
|
$(C_TESTS) \
|
2009-04-10 09:14:12 +02:00
|
|
|
test/read_conf \
|
2011-09-20 20:51:46 +02:00
|
|
|
test/run_resolver \
|
2012-08-07 20:08:50 +02:00
|
|
|
test/DumpDatabase \
|
2009-04-13 19:18:10 +02:00
|
|
|
test/run_input \
|
2012-03-19 19:59:30 +01:00
|
|
|
test/dump_text_file \
|
2009-10-12 22:34:04 +02:00
|
|
|
test/dump_playlist \
|
2009-02-25 17:09:09 +01:00
|
|
|
test/run_decoder \
|
2009-02-28 17:04:37 +01:00
|
|
|
test/read_tags \
|
2009-07-05 06:54:48 +02:00
|
|
|
test/run_filter \
|
2009-03-10 15:46:55 +01:00
|
|
|
test/run_output \
|
2009-11-19 21:00:46 +01:00
|
|
|
test/run_convert \
|
2009-12-02 21:56:02 +01:00
|
|
|
test/run_normalize \
|
2009-02-25 17:09:09 +01:00
|
|
|
test/software_volume
|
|
|
|
|
2012-04-23 22:30:06 +02:00
|
|
|
if HAVE_ID3TAG
|
|
|
|
noinst_PROGRAMS += test/dump_rva2
|
|
|
|
endif
|
|
|
|
|
2010-05-18 23:40:11 +02:00
|
|
|
if HAVE_ALSA
|
|
|
|
# this debug program is still ALSA specific
|
|
|
|
noinst_PROGRAMS += test/read_mixer
|
|
|
|
endif
|
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_read_conf_LDADD = \
|
2009-04-10 09:14:12 +02:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_read_conf_SOURCES = test/read_conf.c \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c
|
2009-04-10 09:14:12 +02:00
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_run_resolver_LDADD = \
|
2011-09-20 20:51:46 +02:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_run_resolver_SOURCES = test/run_resolver.c \
|
|
|
|
src/resolver.c
|
|
|
|
|
2012-08-07 20:08:50 +02:00
|
|
|
test_DumpDatabase_LDADD = \
|
|
|
|
libdb_plugins.a \
|
|
|
|
libutil.a \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \
|
|
|
|
src/DatabaseRegistry.cxx \
|
|
|
|
src/Directory.cxx src/directory_save.c \
|
|
|
|
src/playlist_vector.c src/playlist_database.c \
|
|
|
|
src/db_lock.c src/db_save.c \
|
|
|
|
src/song.c src/song_sort.c src/song_save.c \
|
|
|
|
src/tag.c src/tag_pool.c src/tag_save.c \
|
|
|
|
src/path.c \
|
|
|
|
src/text_file.c \
|
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c
|
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_run_input_LDADD = \
|
2009-04-13 19:18:10 +02:00
|
|
|
$(INPUT_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(ARCHIVE_LIBS) \
|
2009-04-13 19:18:10 +02:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_run_input_SOURCES = test/run_input.c \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2011-08-24 03:23:12 +02:00
|
|
|
src/io_thread.c src/io_thread.h \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c\
|
2009-04-13 19:18:10 +02:00
|
|
|
src/tag.c src/tag_pool.c src/tag_save.c \
|
2011-10-09 14:29:36 +02:00
|
|
|
src/fd_util.c
|
2009-04-13 19:18:10 +02:00
|
|
|
|
2012-03-19 19:59:30 +01:00
|
|
|
test_dump_text_file_LDADD = \
|
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_dump_text_file_SOURCES = test/dump_text_file.c \
|
|
|
|
test/stdbin.h \
|
|
|
|
src/io_thread.c src/io_thread.h \
|
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c\
|
|
|
|
src/tag.c src/tag_pool.c \
|
|
|
|
src/text_input_stream.c src/fifo_buffer.c \
|
|
|
|
src/fd_util.c
|
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_dump_playlist_LDADD = \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(PLAYLIST_LIBS) \
|
2010-01-05 21:46:32 +01:00
|
|
|
$(FLAC_LIBS) \
|
2009-10-12 22:34:04 +02:00
|
|
|
$(INPUT_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(ARCHIVE_LIBS) \
|
2012-02-12 15:20:38 +01:00
|
|
|
$(DECODER_LIBS) \
|
|
|
|
$(TAG_LIBS) \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2009-10-12 22:34:04 +02:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_dump_playlist_SOURCES = test/dump_playlist.c \
|
2012-02-12 15:20:38 +01:00
|
|
|
$(DECODER_SRC) \
|
2011-08-24 03:23:12 +02:00
|
|
|
src/io_thread.c src/io_thread.h \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c\
|
2009-10-12 22:34:04 +02:00
|
|
|
src/uri.c \
|
|
|
|
src/song.c src/tag.c src/tag_pool.c src/tag_save.c \
|
2012-02-12 15:20:38 +01:00
|
|
|
src/tag_handler.c src/tag_file.c \
|
|
|
|
src/audio_check.c src/pcm_buffer.c \
|
2009-10-12 22:34:04 +02:00
|
|
|
src/text_input_stream.c src/fifo_buffer.c \
|
2012-02-10 00:12:29 +01:00
|
|
|
src/cue/cue_parser.c src/cue/cue_parser.h \
|
2012-02-12 15:20:38 +01:00
|
|
|
src/timer.c \
|
2011-10-09 14:29:36 +02:00
|
|
|
src/fd_util.c
|
2009-10-12 22:34:04 +02:00
|
|
|
|
2010-01-05 21:46:32 +01:00
|
|
|
if HAVE_FLAC
|
|
|
|
test_dump_playlist_SOURCES += \
|
|
|
|
src/replay_gain_info.c \
|
|
|
|
src/decoder/flac_metadata.c
|
|
|
|
endif
|
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_run_decoder_LDADD = \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(DECODER_LIBS) \
|
2011-10-10 08:17:39 +02:00
|
|
|
libpcm.a \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(INPUT_LIBS) \
|
2009-04-13 20:46:31 +02:00
|
|
|
$(ARCHIVE_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(TAG_LIBS) \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(GLIB_LIBS)
|
2009-02-25 17:09:09 +01:00
|
|
|
test_run_decoder_SOURCES = test/run_decoder.c \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2011-08-24 03:23:12 +02:00
|
|
|
src/io_thread.c src/io_thread.h \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c src/log.c \
|
2012-02-11 19:12:02 +01:00
|
|
|
src/tag.c src/tag_pool.c src/tag_handler.c \
|
2010-01-04 20:43:19 +01:00
|
|
|
src/replay_gain_info.c \
|
2009-02-28 17:04:37 +01:00
|
|
|
src/uri.c \
|
2009-11-07 18:55:16 +01:00
|
|
|
src/fd_util.c \
|
2009-11-10 19:01:38 +01:00
|
|
|
src/audio_check.c \
|
2009-11-10 17:57:14 +01:00
|
|
|
src/audio_format.c \
|
2009-12-15 23:10:48 +01:00
|
|
|
src/timer.c \
|
2009-02-28 17:04:37 +01:00
|
|
|
$(ARCHIVE_SRC) \
|
|
|
|
$(INPUT_SRC) \
|
2009-04-25 13:21:28 +02:00
|
|
|
$(TAG_SRC) \
|
2009-02-28 17:04:37 +01:00
|
|
|
$(DECODER_SRC)
|
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_read_tags_LDADD = \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(DECODER_LIBS) \
|
2011-10-10 08:17:39 +02:00
|
|
|
libpcm.a \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(INPUT_LIBS) \
|
2009-04-13 20:46:31 +02:00
|
|
|
$(ARCHIVE_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(TAG_LIBS) \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(GLIB_LIBS)
|
2009-02-28 17:04:37 +01:00
|
|
|
test_read_tags_SOURCES = test/read_tags.c \
|
2011-08-24 03:23:12 +02:00
|
|
|
src/io_thread.c src/io_thread.h \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c src/log.c \
|
2012-02-11 19:12:02 +01:00
|
|
|
src/tag.c src/tag_pool.c src/tag_handler.c \
|
2010-01-04 20:43:19 +01:00
|
|
|
src/replay_gain_info.c \
|
2009-02-25 17:09:09 +01:00
|
|
|
src/uri.c \
|
2009-11-07 18:55:16 +01:00
|
|
|
src/fd_util.c \
|
2009-11-10 19:01:38 +01:00
|
|
|
src/audio_check.c \
|
2009-12-15 23:10:48 +01:00
|
|
|
src/timer.c \
|
2009-02-25 17:09:09 +01:00
|
|
|
$(DECODER_SRC)
|
2009-02-18 22:27:55 +01:00
|
|
|
|
2012-04-23 22:30:06 +02:00
|
|
|
if HAVE_ID3TAG
|
|
|
|
test_dump_rva2_LDADD = \
|
|
|
|
$(ID3TAG_LIBS) \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_dump_rva2_SOURCES = test/dump_rva2.c \
|
|
|
|
src/riff.c src/aiff.c \
|
|
|
|
src/tag_handler.c \
|
|
|
|
src/tag_id3.c \
|
|
|
|
src/tag_rva2.c
|
|
|
|
endif
|
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_run_filter_LDADD = \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(FILTER_LIBS) \
|
2009-07-05 06:54:48 +02:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_run_filter_SOURCES = test/run_filter.c \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2009-07-05 06:54:48 +02:00
|
|
|
src/filter_plugin.c \
|
|
|
|
src/filter_registry.c \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c \
|
2009-11-10 19:00:41 +01:00
|
|
|
src/audio_check.c \
|
2009-11-10 17:57:14 +01:00
|
|
|
src/audio_format.c \
|
2009-07-05 06:54:48 +02:00
|
|
|
src/audio_parser.c \
|
2010-02-14 17:04:39 +01:00
|
|
|
src/replay_gain_config.c \
|
|
|
|
src/replay_gain_info.c \
|
2011-10-09 14:29:36 +02:00
|
|
|
src/AudioCompress/compress.c
|
2009-07-05 06:54:48 +02:00
|
|
|
|
2011-03-27 08:41:40 +02:00
|
|
|
if ENABLE_DESPOTIFY
|
|
|
|
test_read_tags_SOURCES += \
|
|
|
|
src/despotify_utils.c
|
|
|
|
test_run_input_SOURCES += \
|
|
|
|
src/despotify_utils.c
|
2012-03-19 19:59:30 +01:00
|
|
|
test_dump_text_file_SOURCES += \
|
|
|
|
src/despotify_utils.c
|
2011-03-27 08:41:40 +02:00
|
|
|
test_dump_playlist_SOURCES += \
|
|
|
|
src/despotify_utils.c
|
|
|
|
test_run_decoder_SOURCES += \
|
|
|
|
src/despotify_utils.c
|
|
|
|
endif
|
|
|
|
|
2009-07-06 22:50:07 +02:00
|
|
|
if ENABLE_ENCODER
|
|
|
|
noinst_PROGRAMS += test/run_encoder
|
2009-02-25 17:12:14 +01:00
|
|
|
test_run_encoder_SOURCES = test/run_encoder.c \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2011-11-28 11:56:01 +01:00
|
|
|
src/fifo_buffer.c src/growing_fifo.c \
|
2009-07-19 15:11:37 +02:00
|
|
|
src/conf.c src/tokenizer.c \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/utils.c src/string_util.c \
|
2009-03-15 18:36:29 +01:00
|
|
|
src/tag.c src/tag_pool.c \
|
2009-11-10 19:00:41 +01:00
|
|
|
src/audio_check.c \
|
2009-11-10 17:57:14 +01:00
|
|
|
src/audio_format.c \
|
2011-10-09 14:29:36 +02:00
|
|
|
src/audio_parser.c
|
2011-10-09 17:33:09 +02:00
|
|
|
test_run_encoder_LDADD = \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(ENCODER_LIBS) \
|
2011-10-10 08:17:39 +02:00
|
|
|
libpcm.a \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(TAG_LIBS) \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(GLIB_LIBS)
|
2009-07-06 22:50:07 +02:00
|
|
|
endif
|
2009-02-25 17:12:14 +01:00
|
|
|
|
2012-04-04 22:56:38 +02:00
|
|
|
if ENABLE_VORBIS_ENCODER
|
|
|
|
noinst_PROGRAMS += test/test_vorbis_encoder
|
|
|
|
test_test_vorbis_encoder_SOURCES = test/test_vorbis_encoder.c \
|
|
|
|
test/stdbin.h \
|
|
|
|
src/conf.c src/tokenizer.c \
|
|
|
|
src/utils.c \
|
2012-04-05 00:45:39 +02:00
|
|
|
src/string_util.c \
|
2012-04-04 22:56:38 +02:00
|
|
|
src/tag.c src/tag_pool.c \
|
|
|
|
src/audio_check.c \
|
|
|
|
src/audio_format.c \
|
|
|
|
src/audio_parser.c \
|
|
|
|
src/pcm_buffer.c \
|
|
|
|
src/fifo_buffer.c src/growing_fifo.c \
|
|
|
|
$(ENCODER_SRC)
|
|
|
|
test_test_vorbis_encoder_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
|
|
$(ENCODER_CFLAGS)
|
|
|
|
test_test_vorbis_encoder_LDADD = $(MPD_LIBS) \
|
|
|
|
$(ENCODER_LIBS) \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
endif
|
|
|
|
|
2009-02-18 22:27:55 +01:00
|
|
|
test_software_volume_SOURCES = test/software_volume.c \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2009-11-10 19:00:41 +01:00
|
|
|
src/audio_check.c \
|
2011-10-09 16:18:03 +02:00
|
|
|
src/audio_parser.c
|
2009-03-12 19:41:11 +01:00
|
|
|
test_software_volume_LDADD = \
|
2011-10-09 16:18:03 +02:00
|
|
|
$(PCM_LIBS) \
|
2009-03-12 19:41:11 +01:00
|
|
|
$(GLIB_LIBS)
|
2009-02-28 17:04:37 +01:00
|
|
|
|
2009-12-02 21:56:02 +01:00
|
|
|
test_run_normalize_SOURCES = test/run_normalize.c \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2009-12-02 21:56:02 +01:00
|
|
|
src/audio_check.c \
|
|
|
|
src/audio_parser.c \
|
2009-12-14 21:36:25 +01:00
|
|
|
src/AudioCompress/compress.c
|
2009-12-02 21:56:02 +01:00
|
|
|
test_run_normalize_LDADD = \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2009-11-19 21:00:46 +01:00
|
|
|
test_run_convert_SOURCES = test/run_convert.c \
|
2012-03-01 00:57:33 +01:00
|
|
|
src/dsd2pcm/dsd2pcm.c \
|
2010-01-16 23:25:43 +01:00
|
|
|
src/fifo_buffer.c \
|
2009-11-10 17:11:34 +01:00
|
|
|
src/audio_format.c \
|
2009-11-19 21:00:46 +01:00
|
|
|
src/audio_check.c \
|
2011-10-09 16:18:03 +02:00
|
|
|
src/audio_parser.c
|
2009-11-19 21:00:46 +01:00
|
|
|
test_run_convert_LDADD = \
|
2011-10-09 16:18:03 +02:00
|
|
|
$(PCM_LIBS) \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2009-11-19 21:00:46 +01:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2011-10-09 16:18:03 +02:00
|
|
|
test_run_output_LDADD = $(MPD_LIBS) \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(OUTPUT_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(ENCODER_LIBS) \
|
|
|
|
libmixer_plugins.a \
|
|
|
|
$(FILTER_LIBS) \
|
2012-03-21 19:09:22 +01:00
|
|
|
libutil.a \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(GLIB_LIBS)
|
2009-03-10 15:46:55 +01:00
|
|
|
test_run_output_SOURCES = test/run_output.c \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c src/log.c \
|
2011-08-28 17:29:09 +02:00
|
|
|
src/io_thread.c src/io_thread.h \
|
2009-11-10 19:00:41 +01:00
|
|
|
src/audio_check.c \
|
2009-11-10 17:57:14 +01:00
|
|
|
src/audio_format.c \
|
2009-03-10 15:46:55 +01:00
|
|
|
src/audio_parser.c \
|
|
|
|
src/timer.c \
|
2009-03-15 18:36:29 +01:00
|
|
|
src/tag.c src/tag_pool.c \
|
2011-11-28 08:00:10 +01:00
|
|
|
src/fifo_buffer.c src/growing_fifo.c \
|
httpd: new output plugin to replace "shout"
Let's get rid of the "shout" plugin, and the awfully complicated
icecast daemon setup! MPD can do better if it's doing the HTTP server
stuff on its own. This new plugin has several advantages:
- easier to set up - only one daemon, no password settings, no mount
settings
- MPD controls the encoder and thus already knows the packet
boundaries - icecast has to parse them
- MPD doesn't bother to encode data while nobody is listening
This implementation is very experimental (no header parsing, ignores
request URI, no icy-metadata, ...). It should be able to suport
several encoders in parallel in the future (with different bit rates,
different codec, ...), to make MPD the perfect streaming server. Once
MPD gets multi-player support, we can even mount several different
radio stations on one server.
2009-03-15 03:32:34 +01:00
|
|
|
src/page.c \
|
|
|
|
src/socket_util.c \
|
2011-09-20 07:56:59 +02:00
|
|
|
src/resolver.c \
|
2011-08-30 22:28:15 +02:00
|
|
|
src/output_init.c src/output_finish.c src/output_list.c \
|
2011-09-16 23:31:48 +02:00
|
|
|
src/output_plugin.c \
|
2009-03-12 18:34:37 +01:00
|
|
|
src/mixer_api.c \
|
2009-03-14 11:36:50 +01:00
|
|
|
src/mixer_control.c \
|
2009-07-06 22:00:50 +02:00
|
|
|
src/mixer_type.c \
|
2011-10-09 14:29:36 +02:00
|
|
|
src/filter_plugin.c \
|
2009-12-14 21:09:28 +01:00
|
|
|
src/filter_config.c \
|
2009-12-14 21:36:25 +01:00
|
|
|
src/AudioCompress/compress.c \
|
2010-02-14 17:04:39 +01:00
|
|
|
src/replay_gain_info.c \
|
|
|
|
src/replay_gain_config.c \
|
2009-11-07 18:55:16 +01:00
|
|
|
src/fd_util.c \
|
2011-10-09 14:29:36 +02:00
|
|
|
src/server_socket.c
|
2009-03-10 15:46:55 +01:00
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_read_mixer_LDADD = \
|
2011-10-10 08:17:39 +02:00
|
|
|
libpcm.a \
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins.a \
|
2009-04-21 22:46:41 +02:00
|
|
|
$(OUTPUT_LIBS) \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_read_mixer_SOURCES = test/read_mixer.c \
|
2010-12-23 16:13:11 +01:00
|
|
|
src/conf.c src/tokenizer.c src/utils.c src/string_util.c src/log.c \
|
2009-04-21 22:46:41 +02:00
|
|
|
src/mixer_control.c src/mixer_api.c \
|
2009-07-06 21:52:15 +02:00
|
|
|
src/filter_plugin.c \
|
|
|
|
src/filter/volume_filter_plugin.c \
|
2011-10-09 14:29:36 +02:00
|
|
|
src/fd_util.c
|
2009-02-28 17:04:37 +01:00
|
|
|
|
2009-12-31 11:11:14 +01:00
|
|
|
if ENABLE_BZIP2_TEST
|
|
|
|
TESTS += test/test_archive_bzip2.sh
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_ZZIP_TEST
|
|
|
|
TESTS += test/test_archive_zzip.sh
|
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_ISO9660_TEST
|
|
|
|
TESTS += test/test_archive_iso9660.sh
|
|
|
|
endif
|
|
|
|
|
2010-05-30 23:30:43 +02:00
|
|
|
if ENABLE_INOTIFY
|
|
|
|
noinst_PROGRAMS += test/run_inotify
|
|
|
|
test_run_inotify_SOURCES = test/run_inotify.c \
|
|
|
|
src/fd_util.c \
|
|
|
|
src/fifo_buffer.c \
|
|
|
|
src/inotify_source.c
|
|
|
|
test_run_inotify_LDADD = $(GLIB_LIBS)
|
|
|
|
endif
|
|
|
|
|
2012-03-21 19:08:32 +01:00
|
|
|
test_test_byte_reverse_SOURCES = \
|
|
|
|
test/test_byte_reverse.c
|
|
|
|
test_test_byte_reverse_LDADD = \
|
|
|
|
libutil.a \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2011-10-09 13:22:08 +02:00
|
|
|
test_test_pcm_SOURCES = \
|
|
|
|
test/test_pcm_dither.c \
|
|
|
|
test/test_pcm_pack.c \
|
|
|
|
test/test_pcm_channels.c \
|
2012-07-09 23:11:40 +02:00
|
|
|
test/test_pcm_volume.c \
|
2011-10-09 13:22:08 +02:00
|
|
|
test/test_pcm_all.h \
|
|
|
|
test/test_pcm_main.c
|
|
|
|
test_test_pcm_LDADD = \
|
|
|
|
$(PCM_LIBS) \
|
2012-03-21 18:45:51 +01:00
|
|
|
libutil.a \
|
2011-10-09 13:22:08 +02:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2011-07-19 00:34:33 +02:00
|
|
|
test_test_queue_priority_SOURCES = \
|
|
|
|
src/queue.c \
|
|
|
|
test/test_queue_priority.c
|
|
|
|
test_test_queue_priority_LDADD = \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2011-10-03 12:13:57 +02:00
|
|
|
noinst_PROGRAMS += src/dsd2pcm/dsd2pcm
|
|
|
|
|
|
|
|
src_dsd2pcm_dsd2pcm_SOURCES = \
|
|
|
|
src/dsd2pcm/dsd2pcm.c src/dsd2pcm/dsd2pcm.h \
|
|
|
|
src/dsd2pcm/noiseshape.c src/dsd2pcm/noiseshape.h \
|
|
|
|
src/dsd2pcm/main.cpp
|
2012-03-21 18:50:18 +01:00
|
|
|
src_dsd2pcm_dsd2pcm_LDADD = libutil.a
|
2011-10-03 12:13:57 +02:00
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Documentation
|
|
|
|
#
|
|
|
|
|
|
|
|
man_MANS = doc/mpd.1 doc/mpd.conf.5
|
2009-04-10 09:14:25 +02:00
|
|
|
doc_DATA = AUTHORS COPYING NEWS README UPGRADING doc/mpdconf.example
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2010-02-08 11:55:03 +01:00
|
|
|
DOCBOOK_FILES = doc/protocol.xml doc/user.xml doc/developer.xml
|
2009-04-30 11:43:19 +02:00
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if ENABLE_DOCUMENTATION
|
|
|
|
protocoldir = $(docdir)/protocol
|
|
|
|
protocol_DATA = $(wildcard doc/protocol/*.html)
|
|
|
|
|
2009-03-12 17:06:48 +01:00
|
|
|
userdir = $(docdir)/user
|
|
|
|
user_DATA = $(wildcard doc/user/*.html)
|
|
|
|
|
2009-06-02 21:09:45 +02:00
|
|
|
developerdir = $(docdir)/developer
|
|
|
|
developer_DATA = $(wildcard doc/developer/*.html)
|
|
|
|
|
2009-03-01 01:26:04 +01:00
|
|
|
if HAVE_XMLTO
|
|
|
|
|
|
|
|
DOCBOOK_HTML = $(patsubst %.xml,%/index.html,$(DOCBOOK_FILES))
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
$(DOCBOOK_HTML): %/index.html: %.xml
|
2009-03-01 01:15:09 +01:00
|
|
|
$(XMLTO) -o $(@D) --stringparam chunker.output.encoding=utf-8 html $<
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2009-03-01 01:26:04 +01:00
|
|
|
else
|
|
|
|
|
|
|
|
DOCBOOK_HTML =
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2009-04-26 20:02:53 +02:00
|
|
|
doc/api/html/index.html: doc/doxygen.conf
|
2009-12-26 02:58:17 +01:00
|
|
|
@mkdir -p $(@D)
|
2010-12-24 00:25:31 +01:00
|
|
|
$(DOXYGEN) $<
|
2009-04-26 20:02:53 +02:00
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
all-local: $(DOCBOOK_HTML) doc/api/html/index.html
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf $(patsubst %.xml,%,$(DOCBOOK_FILES))
|
|
|
|
rm -rf doc/api
|
|
|
|
|
|
|
|
install-data-local: doc/api/html/index.html
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(docdir)/api/html
|
2010-07-25 14:04:24 +02:00
|
|
|
$(INSTALL_DATA) -c -m 644 doc/api/html/*.* \
|
2009-02-23 10:04:51 +01:00
|
|
|
$(DESTDIR)$(docdir)/api/html
|
2009-02-18 19:27:05 +01:00
|
|
|
|
2010-07-25 14:04:24 +02:00
|
|
|
uninstall-local:
|
|
|
|
rm -f $(DESTDIR)$(docdir)/api/html/*.*
|
|
|
|
|
2009-03-15 17:32:28 +01:00
|
|
|
upload: $(DOCBOOK_HTML) doc/api/html/index.html
|
2012-07-11 21:26:55 +02:00
|
|
|
rsync -vpruz --delete doc/ www.musicpd.org:/var/www/doc/ \
|
2009-03-15 17:32:28 +01:00
|
|
|
--chmod=Dug+rwx,Do+rx,Fug+rw,Fo+r \
|
|
|
|
--include=protocol --include=protocol/** \
|
|
|
|
--include=user --include=user/** \
|
2009-06-02 21:09:45 +02:00
|
|
|
--include=developer --include=developer/** \
|
2009-03-15 17:32:28 +01:00
|
|
|
--include=api --include=api/** \
|
|
|
|
--exclude=*
|
|
|
|
|
2009-02-18 19:27:05 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
#
|
|
|
|
# Distribution
|
|
|
|
#
|
2007-12-28 03:56:25 +01:00
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
EXTRA_DIST = $(doc_DATA) autogen.sh \
|
2009-04-29 11:41:19 +02:00
|
|
|
$(wildcard scripts/*.sh) \
|
2012-02-18 12:33:49 +01:00
|
|
|
$(man_MANS) $(DOCBOOK_FILES) doc/mpdconf.example doc/doxygen.conf \
|
|
|
|
src/win/mpd_win32_rc.rc.in
|