2008-09-23 22:38:46 +02:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2013-04-08 21:33:38 +02:00
|
|
|
AUTOMAKE_OPTIONS = foreign 1.11 dist-bzip2 dist-xz 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 \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-09 23:47:38 +01:00
|
|
|
libevent.a \
|
2011-10-09 16:18:03 +02:00
|
|
|
libpcm.a \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2011-10-09 14:29:36 +02:00
|
|
|
libtag.a \
|
|
|
|
libinput.a \
|
2013-01-21 20:31:29 +01:00
|
|
|
libfs.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-05 22:53:46 +02:00
|
|
|
$(LIBMPDCLIENT_CFLAGS) \
|
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) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-01-09 23:47:38 +01:00
|
|
|
libevent.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-10 19:05:47 +01:00
|
|
|
libutil.a \
|
2013-01-21 20:31:29 +01:00
|
|
|
libfs.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/ack.h \
|
|
|
|
src/command.h \
|
|
|
|
src/conf.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/gcc.h \
|
|
|
|
src/input_stream.h \
|
2013-05-12 16:02:27 +02:00
|
|
|
src/TextInputStream.hxx \
|
2009-12-15 07:38:30 +01:00
|
|
|
src/AudioCompress/config.h \
|
2009-12-02 18:11:53 +01:00
|
|
|
src/AudioCompress/compress.h \
|
2010-06-08 21:40:51 +02:00
|
|
|
src/open.h \
|
2013-01-04 20:50:00 +01:00
|
|
|
src/Playlist.hxx \
|
2011-09-11 07:51:27 +02:00
|
|
|
src/playlist_error.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 \
|
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 \
|
2013-01-02 20:29:24 +01:00
|
|
|
src/TimePrint.cxx src/TimePrint.hxx \
|
2009-02-23 10:04:51 +01:00
|
|
|
src/stats.h \
|
2013-05-12 15:03:42 +02:00
|
|
|
src/Timer.hxx \
|
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) \
|
2013-01-04 20:50:26 +01:00
|
|
|
src/thread/Mutex.hxx \
|
2013-01-07 10:32:01 +01:00
|
|
|
src/thread/PosixMutex.hxx \
|
2013-01-11 10:50:59 +01:00
|
|
|
src/thread/CriticalSection.hxx \
|
2013-01-10 09:16:22 +01:00
|
|
|
src/thread/GLibMutex.hxx \
|
2013-01-10 09:23:41 +01:00
|
|
|
src/thread/Cond.hxx \
|
|
|
|
src/thread/PosixCond.hxx \
|
2013-01-11 10:50:59 +01:00
|
|
|
src/thread/WindowsCond.hxx \
|
2013-01-10 09:23:41 +01:00
|
|
|
src/thread/GLibCond.hxx \
|
2013-01-10 10:44:04 +01:00
|
|
|
src/notify.cxx src/notify.hxx \
|
2013-01-30 21:47:12 +01:00
|
|
|
src/AudioConfig.cxx src/AudioConfig.hxx \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx src/CheckAudioFormat.hxx \
|
2013-08-03 21:00:50 +02:00
|
|
|
src/AudioFormat.cxx src/AudioFormat.hxx \
|
2013-01-30 21:47:12 +01:00
|
|
|
src/AudioParser.cxx src/AudioParser.hxx \
|
2013-01-03 10:33:04 +01:00
|
|
|
src/protocol/ArgParser.cxx src/protocol/ArgParser.hxx \
|
|
|
|
src/protocol/Result.cxx src/protocol/Result.hxx \
|
2012-09-25 12:10:12 +02:00
|
|
|
src/CommandError.cxx src/CommandError.hxx \
|
2013-01-03 10:33:04 +01:00
|
|
|
src/AllCommands.cxx src/AllCommands.hxx \
|
2012-08-25 12:59:54 +02:00
|
|
|
src/QueueCommands.cxx src/QueueCommands.hxx \
|
|
|
|
src/PlayerCommands.cxx src/PlayerCommands.hxx \
|
|
|
|
src/PlaylistCommands.cxx src/PlaylistCommands.hxx \
|
2012-08-25 13:02:01 +02:00
|
|
|
src/DatabaseCommands.cxx src/DatabaseCommands.hxx \
|
2012-08-25 12:59:54 +02:00
|
|
|
src/OutputCommands.cxx src/OutputCommands.hxx \
|
|
|
|
src/MessageCommands.cxx src/MessageCommands.hxx \
|
2012-09-25 11:44:49 +02:00
|
|
|
src/OtherCommands.cxx src/OtherCommands.hxx \
|
2013-01-09 08:36:52 +01:00
|
|
|
src/Idle.cxx src/Idle.hxx \
|
2013-01-03 17:31:38 +01:00
|
|
|
src/CommandLine.cxx src/CommandLine.hxx \
|
2013-01-04 10:31:59 +01:00
|
|
|
src/CrossFade.cxx src/CrossFade.hxx \
|
2013-04-09 00:22:35 +02:00
|
|
|
src/cue/CueParser.cxx src/cue/CueParser.hxx \
|
2013-07-28 13:18:48 +02:00
|
|
|
src/DecoderError.hxx \
|
2013-01-02 20:36:28 +01:00
|
|
|
src/DecoderThread.cxx src/DecoderThread.hxx \
|
2013-07-28 13:18:48 +02:00
|
|
|
src/DecoderCommand.hxx \
|
2013-01-04 08:41:16 +01:00
|
|
|
src/DecoderControl.cxx src/DecoderControl.hxx \
|
2013-07-28 13:18:48 +02:00
|
|
|
src/DecoderAPI.cxx src/DecoderAPI.hxx \
|
|
|
|
src/DecoderPlugin.hxx \
|
2013-01-04 08:41:16 +01:00
|
|
|
src/DecoderInternal.cxx src/DecoderInternal.hxx \
|
2013-01-03 11:14:36 +01:00
|
|
|
src/DecoderPrint.cxx src/DecoderPrint.hxx \
|
2013-01-02 22:52:08 +01:00
|
|
|
src/Directory.cxx src/Directory.hxx \
|
2013-01-02 19:52:57 +01:00
|
|
|
src/DirectorySave.cxx src/DirectorySave.hxx \
|
2013-01-03 00:25:15 +01:00
|
|
|
src/DatabaseSimple.hxx \
|
2013-01-03 00:24:45 +01:00
|
|
|
src/DatabaseGlue.cxx src/DatabaseGlue.hxx \
|
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 \
|
2013-01-02 20:56:21 +01:00
|
|
|
src/DatabaseLock.cxx src/DatabaseLock.hxx \
|
2013-01-02 19:52:57 +01:00
|
|
|
src/DatabaseSave.cxx src/DatabaseSave.hxx \
|
2012-07-30 07:26:08 +02:00
|
|
|
src/DatabasePlugin.hxx \
|
|
|
|
src/DatabaseVisitor.hxx \
|
2012-08-29 20:03:37 +02:00
|
|
|
src/DatabaseSelection.cxx src/DatabaseSelection.hxx \
|
2013-01-03 09:51:35 +01:00
|
|
|
src/ExcludeList.cxx src/ExcludeList.hxx \
|
2013-01-30 17:22:44 +01:00
|
|
|
src/FilterConfig.cxx src/FilterConfig.hxx \
|
2013-02-01 17:47:09 +01:00
|
|
|
src/FilterPlugin.cxx src/FilterPlugin.hxx \
|
2013-08-07 18:47:33 +02:00
|
|
|
src/FilterInternal.hxx \
|
2013-02-01 17:47:09 +01:00
|
|
|
src/FilterRegistry.cxx src/FilterRegistry.hxx \
|
2013-01-02 19:22:15 +01:00
|
|
|
src/UpdateGlue.cxx src/UpdateGlue.hxx \
|
|
|
|
src/UpdateQueue.cxx src/UpdateQueue.hxx \
|
|
|
|
src/UpdateIO.cxx src/UpdateIO.hxx \
|
|
|
|
src/UpdateDatabase.cxx src/UpdateDatabase.hxx \
|
|
|
|
src/UpdateWalk.cxx src/UpdateWalk.hxx \
|
|
|
|
src/UpdateSong.cxx src/UpdateSong.hxx \
|
|
|
|
src/UpdateContainer.cxx src/UpdateContainer.hxx \
|
|
|
|
src/UpdateInternal.hxx \
|
|
|
|
src/UpdateRemove.cxx src/UpdateRemove.hxx \
|
2013-01-04 00:50:13 +01:00
|
|
|
src/CommandListBuilder.cxx src/CommandListBuilder.hxx \
|
2013-01-03 10:33:04 +01:00
|
|
|
src/Client.cxx src/Client.hxx \
|
|
|
|
src/ClientInternal.hxx \
|
|
|
|
src/ClientEvent.cxx \
|
|
|
|
src/ClientExpire.cxx \
|
|
|
|
src/ClientGlobal.cxx \
|
2013-01-16 22:55:33 +01:00
|
|
|
src/ClientIdle.cxx \
|
2013-01-09 08:08:36 +01:00
|
|
|
src/ClientList.cxx src/ClientList.hxx \
|
2013-01-03 03:07:16 +01:00
|
|
|
src/ClientNew.cxx \
|
2013-01-03 10:33:04 +01:00
|
|
|
src/ClientProcess.cxx \
|
|
|
|
src/ClientRead.cxx \
|
|
|
|
src/ClientWrite.cxx \
|
|
|
|
src/ClientMessage.cxx src/ClientMessage.hxx \
|
|
|
|
src/ClientSubscribe.cxx src/ClientSubscribe.hxx \
|
|
|
|
src/ClientFile.cxx src/ClientFile.hxx \
|
2013-01-03 11:05:44 +01:00
|
|
|
src/Listen.cxx src/Listen.hxx \
|
2013-01-09 22:33:06 +01:00
|
|
|
src/Log.cxx src/Log.hxx \
|
2013-08-07 18:47:33 +02:00
|
|
|
src/ls.cxx src/ls.hxx \
|
2012-10-04 09:34:48 +02:00
|
|
|
src/io_error.h \
|
2013-01-10 10:33:20 +01:00
|
|
|
src/IOThread.cxx src/IOThread.hxx \
|
2012-09-28 00:40:00 +02:00
|
|
|
src/Main.cxx src/Main.hxx \
|
2013-04-17 22:58:33 +02:00
|
|
|
src/Instance.cxx src/Instance.hxx \
|
2012-09-28 00:40:00 +02:00
|
|
|
src/Win32Main.cxx \
|
2013-01-09 23:12:53 +01:00
|
|
|
src/GlobalEvents.cxx src/GlobalEvents.hxx \
|
2013-08-07 09:53:33 +02:00
|
|
|
src/Daemon.cxx src/Daemon.hxx \
|
2009-12-02 18:11:53 +01:00
|
|
|
src/AudioCompress/compress.c \
|
2013-01-04 10:16:16 +01:00
|
|
|
src/MusicBuffer.cxx src/MusicBuffer.hxx \
|
|
|
|
src/MusicPipe.cxx src/MusicPipe.hxx \
|
|
|
|
src/MusicChunk.cxx src/MusicChunk.hxx \
|
2013-01-02 22:43:56 +01:00
|
|
|
src/Mapper.cxx src/Mapper.hxx \
|
2013-01-30 09:18:52 +01:00
|
|
|
src/Page.cxx src/Page.hxx \
|
2013-01-04 22:42:05 +01:00
|
|
|
src/Partition.hxx \
|
2013-01-03 03:06:45 +01:00
|
|
|
src/Permission.cxx src/Permission.hxx \
|
2013-01-02 20:36:28 +01:00
|
|
|
src/PlayerThread.cxx src/PlayerThread.hxx \
|
2013-01-04 22:31:53 +01:00
|
|
|
src/PlayerControl.cxx src/PlayerControl.hxx \
|
2013-01-04 20:50:00 +01:00
|
|
|
src/Playlist.cxx \
|
2013-01-09 22:23:37 +01:00
|
|
|
src/PlaylistGlobal.cxx src/PlaylistGlobal.hxx \
|
2013-01-04 20:50:00 +01:00
|
|
|
src/PlaylistControl.cxx \
|
2013-01-03 00:35:05 +01:00
|
|
|
src/PlaylistEdit.cxx \
|
2012-08-29 20:17:13 +02:00
|
|
|
src/PlaylistPrint.cxx src/PlaylistPrint.hxx \
|
2012-09-27 22:55:57 +02:00
|
|
|
src/PlaylistSave.cxx src/PlaylistSave.hxx \
|
2013-01-02 18:38:32 +01:00
|
|
|
src/PlaylistMapper.cxx src/PlaylistMapper.hxx \
|
|
|
|
src/PlaylistAny.cxx src/PlaylistAny.hxx \
|
|
|
|
src/PlaylistSong.cxx src/PlaylistSong.hxx \
|
2013-01-02 19:52:57 +01:00
|
|
|
src/PlaylistState.cxx src/PlaylistState.hxx \
|
2013-01-02 18:38:32 +01:00
|
|
|
src/PlaylistQueue.cxx src/PlaylistQueue.hxx \
|
2013-01-02 22:01:04 +01:00
|
|
|
src/PlaylistVector.cxx src/PlaylistVector.hxx \
|
2013-01-02 22:04:03 +01:00
|
|
|
src/PlaylistInfo.hxx \
|
2013-08-07 18:47:33 +02:00
|
|
|
src/PlaylistDatabase.cxx src/PlaylistDatabase.hxx \
|
2013-01-08 16:11:25 +01:00
|
|
|
src/IdTable.hxx \
|
2013-01-04 20:50:00 +01:00
|
|
|
src/Queue.cxx src/Queue.hxx \
|
2012-08-29 19:27:03 +02:00
|
|
|
src/QueuePrint.cxx src/QueuePrint.hxx \
|
2013-01-02 19:52:57 +01:00
|
|
|
src/QueueSave.cxx src/QueueSave.hxx \
|
2013-01-04 23:45:55 +01:00
|
|
|
src/ReplayGainConfig.cxx \
|
|
|
|
src/ReplayGainInfo.cxx \
|
2013-01-09 22:33:06 +01:00
|
|
|
src/SignalHandlers.cxx src/SignalHandlers.hxx \
|
2013-07-28 13:25:12 +02:00
|
|
|
src/Song.cxx src/Song.hxx \
|
2013-01-02 22:42:12 +01:00
|
|
|
src/SongUpdate.cxx \
|
2013-01-02 20:29:24 +01:00
|
|
|
src/SongPrint.cxx src/SongPrint.hxx \
|
2013-01-02 19:52:57 +01:00
|
|
|
src/SongSave.cxx src/SongSave.hxx \
|
2013-04-17 22:25:57 +02:00
|
|
|
src/SongSort.cxx src/SongSort.hxx \
|
2013-01-02 19:52:57 +01:00
|
|
|
src/StateFile.cxx src/StateFile.hxx \
|
2012-08-02 18:55:53 +02:00
|
|
|
src/Stats.cxx \
|
2013-07-30 20:10:24 +02:00
|
|
|
src/TagType.h \
|
2013-07-30 20:11:57 +02:00
|
|
|
src/Tag.cxx src/Tag.hxx \
|
2013-08-07 18:47:33 +02:00
|
|
|
src/TagInternal.hxx \
|
2013-07-29 07:37:52 +02:00
|
|
|
src/TagTable.hxx \
|
2013-01-07 10:36:27 +01:00
|
|
|
src/TagNames.c \
|
|
|
|
src/TagPool.cxx src/TagPool.hxx \
|
2013-01-02 20:29:24 +01:00
|
|
|
src/TagPrint.cxx src/TagPrint.hxx \
|
2013-01-02 19:52:57 +01:00
|
|
|
src/TagSave.cxx src/TagSave.hxx \
|
2013-07-29 07:32:36 +02:00
|
|
|
src/TagHandler.cxx src/TagHandler.hxx \
|
2013-01-26 01:18:12 +01:00
|
|
|
src/TagFile.cxx src/TagFile.hxx \
|
2013-01-03 10:12:41 +01:00
|
|
|
src/TextFile.cxx src/TextFile.hxx \
|
2013-05-12 16:02:27 +02:00
|
|
|
src/TextInputStream.cxx \
|
2013-01-07 08:59:11 +01:00
|
|
|
src/Volume.cxx src/Volume.hxx \
|
2012-08-29 19:12:26 +02:00
|
|
|
src/SongFilter.cxx src/SongFilter.hxx \
|
2013-01-29 18:51:40 +01:00
|
|
|
src/SongPointer.hxx \
|
2012-09-28 00:40:00 +02:00
|
|
|
src/PlaylistFile.cxx src/PlaylistFile.hxx \
|
2013-05-12 15:03:42 +02:00
|
|
|
src/Timer.cxx
|
2009-02-23 10:04:51 +01:00
|
|
|
|
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 += \
|
2013-01-21 18:24:26 +01:00
|
|
|
src/DespotifyUtils.cxx src/DespotifyUtils.hxx
|
2011-03-27 08:41:40 +02:00
|
|
|
endif
|
|
|
|
|
2009-10-24 18:24:29 +02:00
|
|
|
if ENABLE_INOTIFY
|
2009-09-25 18:32:00 +02:00
|
|
|
src_mpd_SOURCES += \
|
2013-01-02 19:22:15 +01:00
|
|
|
src/InotifySource.cxx src/InotifySource.hxx \
|
|
|
|
src/InotifyQueue.cxx src/InotifyQueue.hxx \
|
|
|
|
src/InotifyUpdate.cxx src/InotifyUpdate.hxx
|
2009-09-25 18:32:00 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if ENABLE_SQLITE
|
2009-04-01 17:30:56 +02:00
|
|
|
src_mpd_SOURCES += \
|
2012-08-25 12:59:54 +02:00
|
|
|
src/StickerCommands.cxx src/StickerCommands.hxx \
|
2013-01-02 22:25:17 +01:00
|
|
|
src/StickerDatabase.cxx src/StickerDatabase.hxx \
|
|
|
|
src/StickerPrint.cxx src/StickerPrint.hxx \
|
|
|
|
src/SongSticker.cxx src/SongSticker.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2012-03-21 18:50:18 +01:00
|
|
|
# Generic utility library
|
|
|
|
|
|
|
|
libutil_a_SOURCES = \
|
2013-08-07 18:46:58 +02:00
|
|
|
src/util/ReusableArray.hxx \
|
2013-04-09 01:08:20 +02:00
|
|
|
src/util/StringUtil.cxx src/util/StringUtil.hxx \
|
2013-04-08 23:51:39 +02:00
|
|
|
src/util/Tokenizer.cxx src/util/Tokenizer.hxx \
|
2013-04-08 23:30:21 +02:00
|
|
|
src/util/UriUtil.cxx src/util/UriUtil.hxx \
|
2013-01-30 23:48:34 +01:00
|
|
|
src/util/Manual.hxx \
|
2013-01-29 23:20:19 +01:00
|
|
|
src/util/RefCount.hxx \
|
2013-01-15 01:00:59 +01:00
|
|
|
src/util/fifo_buffer.c src/util/fifo_buffer.h \
|
|
|
|
src/util/growing_fifo.c src/util/growing_fifo.h \
|
2013-01-07 20:50:48 +01:00
|
|
|
src/util/LazyRandomEngine.cxx src/util/LazyRandomEngine.hxx \
|
2013-01-04 16:26:41 +01:00
|
|
|
src/util/SliceBuffer.hxx \
|
2013-01-04 14:54:49 +01:00
|
|
|
src/util/HugeAllocator.cxx src/util/HugeAllocator.hxx \
|
2013-01-15 01:12:08 +01:00
|
|
|
src/util/PeakBuffer.cxx src/util/PeakBuffer.hxx \
|
2012-03-21 18:50:18 +01:00
|
|
|
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
|
|
|
|
|
2013-08-07 10:31:31 +02:00
|
|
|
# System library
|
|
|
|
|
|
|
|
libsystem_a_SOURCES = \
|
|
|
|
src/system/FatalError.cxx src/system/FatalError.hxx \
|
|
|
|
src/system/fd_util.c src/system/fd_util.h \
|
|
|
|
src/system/SocketUtil.cxx src/system/SocketUtil.hxx \
|
|
|
|
src/system/SocketError.hxx \
|
|
|
|
src/system/resolver.c src/system/resolver.h \
|
2013-08-07 11:52:26 +02:00
|
|
|
src/system/EventPipe.cxx src/system/EventPipe.hxx \
|
|
|
|
src/system/EventFD.cxx src/system/EventFD.hxx \
|
2013-08-06 23:13:24 +02:00
|
|
|
src/system/SignalFD.cxx src/system/SignalFD.hxx \
|
2013-08-07 19:18:08 +02:00
|
|
|
src/system/EPollFD.cxx src/system/EPollFD.hxx \
|
2013-08-07 10:31:31 +02:00
|
|
|
src/system/clock.c src/system/clock.h
|
|
|
|
|
2013-01-09 23:47:38 +01:00
|
|
|
# Event loop library
|
|
|
|
|
|
|
|
libevent_a_SOURCES = \
|
2013-08-06 23:25:57 +02:00
|
|
|
src/event/WakeFD.hxx \
|
2013-08-06 21:31:59 +02:00
|
|
|
src/event/SignalMonitor.hxx src/event/SignalMonitor.cxx \
|
2013-01-10 19:08:42 +01:00
|
|
|
src/event/TimeoutMonitor.hxx src/event/TimeoutMonitor.cxx \
|
2013-08-07 18:59:42 +02:00
|
|
|
src/event/DeferredMonitor.hxx src/event/DeferredMonitor.cxx \
|
2013-01-10 19:05:47 +01:00
|
|
|
src/event/SocketMonitor.cxx src/event/SocketMonitor.hxx \
|
|
|
|
src/event/BufferedSocket.cxx src/event/BufferedSocket.hxx \
|
2013-01-30 10:36:47 +01:00
|
|
|
src/event/FullyBufferedSocket.cxx src/event/FullyBufferedSocket.hxx \
|
2013-01-15 07:14:36 +01:00
|
|
|
src/event/MultiSocketMonitor.cxx src/event/MultiSocketMonitor.hxx \
|
2013-01-30 13:39:12 +01:00
|
|
|
src/event/ServerSocket.cxx src/event/ServerSocket.hxx \
|
2013-08-08 21:50:07 +02:00
|
|
|
src/event/Loop.cxx src/event/Loop.hxx
|
2013-01-09 23:47:38 +01:00
|
|
|
|
2011-10-09 16:18:03 +02:00
|
|
|
# PCM library
|
|
|
|
|
|
|
|
libpcm_a_SOURCES = \
|
2013-07-29 08:10:10 +02:00
|
|
|
src/pcm/PcmBuffer.cxx src/pcm/PcmBuffer.hxx \
|
2013-04-09 01:24:32 +02:00
|
|
|
src/pcm/PcmExport.cxx src/pcm/PcmExport.hxx \
|
2013-04-09 01:24:52 +02:00
|
|
|
src/pcm/PcmConvert.cxx src/pcm/PcmConvert.hxx \
|
|
|
|
src/pcm/dsd2pcm/dsd2pcm.c src/pcm/dsd2pcm/dsd2pcm.h \
|
2013-07-29 07:56:40 +02:00
|
|
|
src/pcm/PcmDsd.cxx src/pcm/PcmDsd.hxx \
|
|
|
|
src/pcm/PcmDsdUsb.cxx src/pcm/PcmDsdUsb.hxx \
|
2013-04-09 01:24:52 +02:00
|
|
|
src/pcm/PcmVolume.cxx src/pcm/PcmVolume.hxx \
|
|
|
|
src/pcm/PcmMix.cxx src/pcm/PcmMix.hxx \
|
|
|
|
src/pcm/PcmChannels.cxx src/pcm/PcmChannels.hxx \
|
|
|
|
src/pcm/pcm_pack.c src/pcm/pcm_pack.h \
|
|
|
|
src/pcm/PcmFormat.cxx src/pcm/PcmFormat.hxx \
|
2013-07-29 23:18:55 +02:00
|
|
|
src/pcm/PcmResample.cxx src/pcm/PcmResample.hxx \
|
|
|
|
src/pcm/PcmResampleFallback.cxx \
|
|
|
|
src/pcm/PcmResampleInternal.hxx \
|
2013-04-09 01:24:52 +02:00
|
|
|
src/pcm/PcmDither.cxx src/pcm/PcmDither.hxx \
|
|
|
|
src/pcm/PcmPrng.hxx \
|
|
|
|
src/pcm/PcmUtils.hxx
|
2011-10-09 16:18:03 +02:00
|
|
|
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
|
2013-07-29 23:18:55 +02:00
|
|
|
libpcm_a_SOURCES += src/pcm/PcmResampleLibsamplerate.cxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2013-01-21 20:31:29 +01:00
|
|
|
# File system library
|
|
|
|
|
|
|
|
libfs_a_SOURCES = \
|
|
|
|
src/fs/Path.cxx src/fs/Path.hxx \
|
|
|
|
src/fs/FileSystem.cxx src/fs/FileSystem.hxx \
|
|
|
|
src/fs/DirectoryReader.hxx
|
|
|
|
|
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-15 21:32:34 +02:00
|
|
|
src/DatabaseHelpers.cxx src/DatabaseHelpers.hxx \
|
2012-08-02 19:23:11 +02:00
|
|
|
src/db/SimpleDatabasePlugin.cxx src/db/SimpleDatabasePlugin.hxx
|
|
|
|
|
2011-09-05 22:53:46 +02:00
|
|
|
if HAVE_LIBMPDCLIENT
|
|
|
|
libdb_plugins_a_SOURCES += \
|
|
|
|
src/db/ProxyDatabasePlugin.cxx src/db/ProxyDatabasePlugin.hxx
|
|
|
|
endif
|
|
|
|
|
2012-08-02 19:23:11 +02:00
|
|
|
DB_LIBS = \
|
2012-08-22 13:54:31 +02:00
|
|
|
libdb_plugins.a \
|
|
|
|
$(LIBMPDCLIENT_LIBS)
|
2012-08-02 19:23:11 +02:00
|
|
|
|
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 += \
|
2013-01-02 19:22:15 +01:00
|
|
|
src/UpdateArchive.cxx src/UpdateArchive.hxx
|
2012-06-13 21:28:26 +02:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libarchive_a_SOURCES = \
|
2013-01-24 19:18:58 +01:00
|
|
|
src/ArchiveLookup.cxx src/ArchiveLookup.hxx \
|
|
|
|
src/ArchiveList.cxx src/ArchiveList.hxx \
|
|
|
|
src/ArchivePlugin.cxx src/ArchivePlugin.hxx \
|
2013-01-29 21:21:07 +01:00
|
|
|
src/ArchiveVisitor.hxx \
|
2013-01-29 23:26:51 +01:00
|
|
|
src/ArchiveFile.hxx \
|
2013-01-24 19:18:58 +01:00
|
|
|
src/input/ArchiveInputPlugin.cxx src/input/ArchiveInputPlugin.hxx
|
2011-10-09 14:29:36 +02:00
|
|
|
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
|
2013-01-24 19:18:58 +01:00
|
|
|
libarchive_a_SOURCES += \
|
|
|
|
src/archive/Bzip2ArchivePlugin.cxx \
|
|
|
|
src/archive/Bzip2ArchivePlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-12-15 20:29:44 +01:00
|
|
|
if HAVE_ZZIP
|
2013-01-24 19:18:58 +01:00
|
|
|
libarchive_a_SOURCES += \
|
|
|
|
src/archive/ZzipArchivePlugin.cxx \
|
|
|
|
src/archive/ZzipArchivePlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-12-16 16:06:16 +01:00
|
|
|
if HAVE_ISO9660
|
2013-01-24 19:18:58 +01:00
|
|
|
libarchive_a_SOURCES += \
|
|
|
|
src/archive/Iso9660ArchivePlugin.cxx \
|
|
|
|
src/archive/Iso9660ArchivePlugin.hxx
|
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
|
|
|
|
|
2013-01-30 19:00:31 +01:00
|
|
|
# configuration library
|
|
|
|
|
|
|
|
libconf_a_SOURCES = \
|
2013-04-09 01:17:47 +02:00
|
|
|
src/ConfigPath.cxx src/ConfigPath.hxx \
|
2013-01-30 18:52:14 +01:00
|
|
|
src/ConfigData.cxx src/ConfigData.hxx \
|
|
|
|
src/ConfigParser.cxx src/ConfigParser.hxx \
|
2013-01-30 19:44:59 +01:00
|
|
|
src/ConfigGlobal.cxx src/ConfigGlobal.hxx \
|
|
|
|
src/ConfigFile.cxx src/ConfigFile.hxx \
|
2013-01-30 19:00:31 +01:00
|
|
|
src/ConfigTemplates.cxx src/ConfigTemplates.hxx \
|
2013-01-30 21:33:52 +01:00
|
|
|
src/ConfigQuark.hxx \
|
2013-01-30 19:00:31 +01:00
|
|
|
src/ConfigOption.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
|
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 =\
|
2013-07-28 20:31:27 +02:00
|
|
|
src/ApeLoader.cxx src/ApeLoader.hxx \
|
|
|
|
src/ApeReplayGain.cxx src/ApeReplayGain.hxx \
|
|
|
|
src/ApeTag.cxx src/ApeTag.hxx
|
2009-04-25 13:21:28 +02:00
|
|
|
|
|
|
|
if HAVE_ID3TAG
|
2011-10-09 14:29:36 +02:00
|
|
|
libtag_a_SOURCES += \
|
2013-07-28 20:25:45 +02:00
|
|
|
src/TagId3.cxx src/TagId3.hxx \
|
2013-07-26 12:09:17 +02:00
|
|
|
src/TagRva2.cxx src/TagRva2.hxx \
|
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 = \
|
2013-07-28 13:10:05 +02:00
|
|
|
src/decoder/PcmDecoderPlugin.cxx \
|
|
|
|
src/decoder/PcmDecoderPlugin.hxx \
|
2013-07-28 12:20:50 +02:00
|
|
|
src/decoder/DsdiffDecoderPlugin.cxx \
|
|
|
|
src/decoder/DsdiffDecoderPlugin.hxx \
|
|
|
|
src/decoder/DsfDecoderPlugin.cxx \
|
|
|
|
src/decoder/DsfDecoderPlugin.hxx \
|
|
|
|
src/decoder/DsdLib.cxx \
|
|
|
|
src/decoder/DsdLib.hxx \
|
2013-04-17 22:45:10 +02:00
|
|
|
src/DecoderBuffer.cxx src/DecoderBuffer.hxx \
|
2013-04-09 00:20:49 +02:00
|
|
|
src/DecoderPlugin.cxx \
|
2013-01-30 17:18:48 +01:00
|
|
|
src/DecoderList.cxx src/DecoderList.hxx
|
2011-10-09 14:29:36 +02:00
|
|
|
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) \
|
2012-09-04 09:26:18 +02:00
|
|
|
$(OPUS_CFLAGS) \
|
2009-03-31 21:48:04 +02:00
|
|
|
$(FFMPEG_CFLAGS) \
|
2011-10-09 17:58:36 +02:00
|
|
|
$(MPCDEC_CFLAGS) \
|
2012-09-25 22:03:44 +02:00
|
|
|
$(ADPLUG_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) \
|
2012-09-04 09:26:18 +02:00
|
|
|
$(OPUS_LIBS) \
|
2009-03-31 21:48:04 +02:00
|
|
|
$(FFMPEG_LIBS) \
|
2011-10-09 17:58:36 +02:00
|
|
|
$(MPCDEC_LIBS) \
|
2012-09-25 22:03:44 +02:00
|
|
|
$(ADPLUG_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
|
2013-07-26 11:59:17 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/MadDecoderPlugin.cxx \
|
|
|
|
src/decoder/MadDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-08-26 20:08:13 +02:00
|
|
|
if HAVE_MPG123
|
2013-07-28 12:45:48 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/Mpg123DecoderPlugin.cxx \
|
|
|
|
src/decoder/Mpg123DecoderPlugin.hxx
|
2009-08-26 20:08:13 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_MPCDEC
|
2013-07-28 13:04:12 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/MpcdecDecoderPlugin.cxx \
|
|
|
|
src/decoder/MpcdecDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2012-09-04 09:26:18 +02:00
|
|
|
if HAVE_OPUS
|
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/OggUtil.cxx \
|
|
|
|
src/decoder/OggUtil.hxx \
|
2013-08-07 18:47:33 +02:00
|
|
|
src/decoder/OggSyncState.hxx \
|
2013-01-07 23:06:02 +01:00
|
|
|
src/decoder/OggFind.cxx src/decoder/OggFind.hxx \
|
2012-09-04 09:26:18 +02:00
|
|
|
src/decoder/OpusReader.hxx \
|
|
|
|
src/decoder/OpusHead.hxx \
|
|
|
|
src/decoder/OpusHead.cxx \
|
|
|
|
src/decoder/OpusTags.cxx \
|
|
|
|
src/decoder/OpusTags.hxx \
|
|
|
|
src/decoder/OpusDecoderPlugin.cxx \
|
|
|
|
src/decoder/OpusDecoderPlugin.h
|
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_WAVPACK
|
2013-01-10 18:18:14 +01:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/WavpackDecoderPlugin.cxx \
|
|
|
|
src/decoder/WavpackDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2012-09-25 22:03:44 +02:00
|
|
|
if HAVE_ADPLUG
|
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/AdPlugDecoderPlugin.cxx \
|
|
|
|
src/decoder/AdPlugDecoderPlugin.h
|
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if HAVE_FAAD
|
2013-04-17 22:33:59 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/FaadDecoderPlugin.cxx src/decoder/FaadDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2012-09-05 22:56:17 +02:00
|
|
|
if HAVE_XIPH
|
2012-09-04 11:28:36 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
2013-07-29 07:42:50 +02:00
|
|
|
src/decoder/XiphTags.cxx src/decoder/XiphTags.hxx \
|
2013-01-07 22:12:09 +01:00
|
|
|
src/decoder/OggCodec.cxx src/decoder/OggCodec.hxx
|
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 += \
|
2013-01-07 22:04:58 +01:00
|
|
|
src/decoder/VorbisComments.cxx src/decoder/VorbisComments.hxx \
|
|
|
|
src/decoder/VorbisDecoderPlugin.cxx src/decoder/VorbisDecoderPlugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_FLAC
|
2012-10-02 10:58:53 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
2013-05-05 14:19:04 +02:00
|
|
|
src/decoder/FlacInput.cxx src/decoder/FlacInput.hxx \
|
|
|
|
src/decoder/FlacIOHandle.cxx src/decoder/FlacIOHandle.hxx \
|
|
|
|
src/decoder/FlacMetadata.cxx src/decoder/FlacMetadata.hxx \
|
|
|
|
src/decoder/FlacPcm.cxx src/decoder/FlacPcm.hxx \
|
|
|
|
src/decoder/FlacCommon.cxx src/decoder/FlacCommon.hxx \
|
|
|
|
src/decoder/FlacDecoderPlugin.cxx \
|
|
|
|
src/decoder/FlacDecoderPlugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_AUDIOFILE
|
2013-07-28 12:37:55 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/AudiofileDecoderPlugin.cxx \
|
|
|
|
src/decoder/AudiofileDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-04-01 22:48:06 +02:00
|
|
|
if ENABLE_MIKMOD_DECODER
|
2013-07-28 12:54:59 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/MikmodDecoderPlugin.cxx \
|
|
|
|
src/decoder/MikmodDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_MODPLUG
|
2013-07-28 12:56:35 +02:00
|
|
|
libmodplug_decoder_plugin_a_SOURCES = \
|
|
|
|
src/decoder/ModplugDecoderPlugin.cxx \
|
|
|
|
src/decoder/ModplugDecoderPlugin.hxx
|
|
|
|
libmodplug_decoder_plugin_a_CXXFLAGS = $(AM_CXXFLAGS) $(MODPLUG_CFLAGS)
|
2011-01-09 18:21:27 +01:00
|
|
|
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
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_FLUIDSYNTH
|
2013-07-28 13:12:08 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/FluidsynthDecoderPlugin.cxx \
|
|
|
|
src/decoder/FluidsynthDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_WILDMIDI
|
2013-07-28 12:50:37 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/WildmidiDecoderPlugin.cxx \
|
|
|
|
src/decoder/WildmidiDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_FFMPEG
|
2012-02-11 16:29:49 +01:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
2013-01-26 00:37:04 +01:00
|
|
|
src/decoder/FfmpegMetaData.cxx \
|
|
|
|
src/decoder/FfmpegMetaData.hxx \
|
|
|
|
src/decoder/FfmpegDecoderPlugin.cxx \
|
|
|
|
src/decoder/FfmpegDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-07-07 08:58:51 +02:00
|
|
|
if ENABLE_SNDFILE
|
2013-07-28 12:42:06 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/SndfileDecoderPlugin.cxx \
|
|
|
|
src/decoder/SndfileDecoderPlugin.hxx
|
2009-07-07 08:58:51 +02:00
|
|
|
endif
|
|
|
|
|
2010-04-10 10:05:16 +02:00
|
|
|
if HAVE_GME
|
2013-04-08 23:32:53 +02:00
|
|
|
libdecoder_plugins_a_SOURCES += \
|
|
|
|
src/decoder/GmeDecoderPlugin.cxx src/decoder/GmeDecoderPlugin.hxx
|
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)) \
|
2012-10-01 20:15:15 +02:00
|
|
|
$(OPUS_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) \
|
2012-10-01 20:15:15 +02:00
|
|
|
$(OPUS_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(VORBISENC_LIBS)
|
|
|
|
|
2012-10-02 09:06:03 +02:00
|
|
|
libencoder_plugins_a_SOURCES = \
|
2013-07-30 09:04:05 +02:00
|
|
|
src/EncoderAPI.hxx \
|
|
|
|
src/EncoderPlugin.hxx \
|
2012-10-02 09:06:03 +02:00
|
|
|
src/encoder/OggStream.hxx \
|
2013-07-30 08:43:19 +02:00
|
|
|
src/encoder/NullEncoderPlugin.cxx src/encoder/NullEncoderPlugin.hxx \
|
2013-04-17 22:22:37 +02:00
|
|
|
src/EncoderList.cxx src/EncoderList.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2009-11-10 23:29:54 +01:00
|
|
|
if ENABLE_WAVE_ENCODER
|
2013-07-30 08:48:53 +02:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
|
|
|
src/encoder/WaveEncoderPlugin.cxx \
|
|
|
|
src/encoder/WaveEncoderPlugin.hxx
|
2009-11-10 23:29:54 +01:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if ENABLE_VORBIS_ENCODER
|
2012-10-01 20:02:59 +02:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
|
|
|
src/encoder/VorbisEncoderPlugin.cxx \
|
|
|
|
src/encoder/VorbisEncoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2012-10-01 20:15:15 +02:00
|
|
|
if HAVE_OPUS
|
|
|
|
libencoder_plugins_a_SOURCES += \
|
|
|
|
src/encoder/OpusEncoderPlugin.cxx \
|
|
|
|
src/encoder/OpusEncoderPlugin.hxx
|
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if ENABLE_LAME_ENCODER
|
2013-07-30 08:52:47 +02:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
|
|
|
src/encoder/LameEncoderPlugin.cxx \
|
|
|
|
src/encoder/LameEncoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
2009-07-14 23:07:41 +02:00
|
|
|
|
|
|
|
if ENABLE_TWOLAME_ENCODER
|
2013-07-30 08:52:47 +02:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
|
|
|
src/encoder/TwolameEncoderPlugin.cxx \
|
|
|
|
src/encoder/TwolameEncoderPlugin.hxx
|
2009-07-14 23:07:41 +02:00
|
|
|
endif
|
2009-11-17 19:41:35 +01:00
|
|
|
|
|
|
|
if ENABLE_FLAC_ENCODER
|
2013-07-29 08:04:34 +02:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
|
|
|
src/encoder/FlacEncoderPlugin.cxx src/encoder/FlacEncoderPlugin.hxx
|
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
|
2013-01-27 22:18:45 +01:00
|
|
|
src_mpd_SOURCES += \
|
|
|
|
src/ZeroconfInternal.hxx \
|
|
|
|
src/ZeroconfGlue.cxx src/ZeroconfGlue.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
|
|
|
|
if HAVE_AVAHI
|
2013-01-27 22:18:45 +01:00
|
|
|
src_mpd_SOURCES += src/ZeroconfAvahi.cxx src/ZeroconfAvahi.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_BONJOUR
|
2013-01-27 22:18:45 +01:00
|
|
|
src_mpd_SOURCES += src/ZeroconfBonjour.cxx src/ZeroconfBonjour.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2009-02-25 16:44:11 +01:00
|
|
|
#
|
|
|
|
# input plugins
|
|
|
|
#
|
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libinput_a_SOURCES = \
|
2013-01-10 10:15:09 +01:00
|
|
|
src/InputInit.cxx src/InputInit.hxx \
|
|
|
|
src/InputRegistry.cxx src/InputRegistry.hxx \
|
2013-01-24 19:14:40 +01:00
|
|
|
src/InputStream.cxx src/InputStream.hxx \
|
2013-01-25 22:43:01 +01:00
|
|
|
src/InputPlugin.hxx \
|
|
|
|
src/InputInternal.cxx src/InputInternal.hxx \
|
2013-01-21 17:36:19 +01:00
|
|
|
src/input/RewindInputPlugin.cxx src/input/RewindInputPlugin.hxx \
|
2013-01-21 10:49:42 +01:00
|
|
|
src/input/FileInputPlugin.cxx src/input/FileInputPlugin.hxx
|
2011-10-09 14:29:36 +02:00
|
|
|
|
|
|
|
libinput_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(CURL_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) \
|
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
|
2013-01-10 10:14:29 +01:00
|
|
|
libinput_a_SOURCES += \
|
|
|
|
src/input/CurlInputPlugin.cxx src/input/CurlInputPlugin.hxx \
|
2013-01-10 22:33:16 +01:00
|
|
|
src/IcyMetaDataParser.cxx src/IcyMetaDataParser.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
2009-03-02 23:11:31 +01:00
|
|
|
|
2010-12-21 22:23:01 +01:00
|
|
|
if ENABLE_CDIO_PARANOIA
|
2013-01-21 17:58:30 +01:00
|
|
|
libinput_a_SOURCES += \
|
|
|
|
src/input/CdioParanoiaInputPlugin.cxx \
|
|
|
|
src/input/CdioParanoiaInputPlugin.hxx
|
2010-12-21 22:23:01 +01:00
|
|
|
endif
|
|
|
|
|
2010-05-18 20:48:52 +02:00
|
|
|
if HAVE_FFMPEG
|
2013-01-21 17:38:40 +01:00
|
|
|
libinput_a_SOURCES += \
|
|
|
|
src/input/FfmpegInputPlugin.cxx src/input/FfmpegInputPlugin.hxx
|
2010-05-18 20:48:52 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if ENABLE_MMS
|
2013-01-21 10:49:42 +01:00
|
|
|
libinput_a_SOURCES += \
|
|
|
|
src/input/MmsInputPlugin.cxx src/input/MmsInputPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2011-03-27 08:41:40 +02:00
|
|
|
if ENABLE_DESPOTIFY
|
2013-01-21 18:24:26 +01:00
|
|
|
libinput_a_SOURCES += \
|
|
|
|
src/input/DespotifyInputPlugin.cxx \
|
|
|
|
src/input/DespotifyInputPlugin.hxx
|
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) \
|
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) \
|
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 = \
|
2013-07-30 08:34:10 +02:00
|
|
|
src/OutputAPI.hxx \
|
2013-04-17 01:12:05 +02:00
|
|
|
src/OutputInternal.hxx \
|
2013-01-04 09:46:41 +01:00
|
|
|
src/OutputList.cxx src/OutputList.hxx \
|
2013-01-07 08:54:26 +01:00
|
|
|
src/OutputAll.cxx src/OutputAll.hxx \
|
2013-01-04 09:46:41 +01:00
|
|
|
src/OutputThread.cxx src/OutputThread.hxx \
|
|
|
|
src/OutputError.hxx \
|
|
|
|
src/OutputControl.cxx src/OutputControl.hxx \
|
2013-01-02 19:52:57 +01:00
|
|
|
src/OutputState.cxx src/OutputState.hxx \
|
2013-01-03 10:58:39 +01:00
|
|
|
src/OutputPrint.cxx src/OutputPrint.hxx \
|
2013-01-04 09:46:41 +01:00
|
|
|
src/OutputCommand.cxx src/OutputCommand.hxx \
|
2013-04-17 01:12:05 +02:00
|
|
|
src/OutputPlugin.cxx src/OutputPlugin.hxx \
|
2013-01-04 09:46:41 +01:00
|
|
|
src/OutputFinish.cxx \
|
|
|
|
src/OutputInit.cxx
|
2009-03-10 15:46:55 +01:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES = \
|
2013-02-02 09:30:29 +01:00
|
|
|
src/output/NullOutputPlugin.cxx \
|
|
|
|
src/output/NullOutputPlugin.hxx
|
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 = \
|
2013-08-07 18:47:33 +02:00
|
|
|
src/MixerPlugin.hxx \
|
2013-02-22 20:51:23 +01:00
|
|
|
src/MixerList.hxx \
|
|
|
|
src/MixerControl.cxx src/MixerControl.hxx \
|
|
|
|
src/MixerType.cxx src/MixerType.hxx \
|
2013-01-07 08:54:26 +01:00
|
|
|
src/MixerAll.cxx src/MixerAll.hxx \
|
2013-04-16 21:33:25 +02:00
|
|
|
src/MixerInternal.hxx
|
2009-02-25 16:44:11 +01:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins_a_SOURCES = \
|
2013-01-31 21:00:43 +01:00
|
|
|
src/mixer/SoftwareMixerPlugin.cxx \
|
|
|
|
src/mixer/SoftwareMixerPlugin.hxx
|
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 += \
|
2013-01-29 14:32:32 +01:00
|
|
|
src/output/AlsaOutputPlugin.cxx \
|
|
|
|
src/output/AlsaOutputPlugin.hxx
|
2013-01-09 22:25:24 +01:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/AlsaMixerPlugin.cxx
|
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 += \
|
2013-01-16 23:29:56 +01:00
|
|
|
src/output/RoarOutputPlugin.cxx src/output/RoarOutputPlugin.hxx
|
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/RoarMixerPlugin.cxx
|
2011-02-08 00:17:58 +01: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 += \
|
2013-04-17 00:56:09 +02:00
|
|
|
src/output/AoOutputPlugin.cxx src/output/AoOutputPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_FIFO
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2013-04-17 00:12:41 +02:00
|
|
|
src/output/FifoOutputPlugin.cxx src/output/FifoOutputPlugin.hxx
|
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 += \
|
2013-04-17 00:07:04 +02:00
|
|
|
src/output/PipeOutputPlugin.cxx src/output/PipeOutputPlugin.hxx
|
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 += \
|
2013-04-17 00:24:44 +02:00
|
|
|
src/output/JackOutputPlugin.cxx src/output/JackOutputPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_OSS
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2013-01-29 14:32:32 +01:00
|
|
|
src/output/OssOutputPlugin.cxx \
|
|
|
|
src/output/OssOutputPlugin.hxx
|
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/OssMixerPlugin.cxx
|
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 += \
|
2013-04-17 01:04:27 +02:00
|
|
|
src/output/OpenALOutputPlugin.cxx src/output/OpenALOutputPlugin.hxx
|
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 += \
|
2013-01-29 16:59:21 +01:00
|
|
|
src/output/OSXOutputPlugin.cxx \
|
|
|
|
src/output/OSXOutputPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_PULSE
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2013-04-16 20:51:21 +02:00
|
|
|
src/output/PulseOutputPlugin.cxx src/output/PulseOutputPlugin.hxx
|
2013-01-09 22:25:24 +01:00
|
|
|
libmixer_plugins_a_SOURCES += \
|
2013-04-16 20:51:21 +02:00
|
|
|
src/mixer/PulseMixerPlugin.cxx src/mixer/PulseMixerPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_SHOUT
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2013-04-17 00:47:20 +02:00
|
|
|
src/output/ShoutOutputPlugin.cxx src/output/ShoutOutputPlugin.hxx
|
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 += \
|
2013-04-16 23:55:26 +02:00
|
|
|
src/output/RecorderOutputPlugin.cxx src/output/RecorderOutputPlugin.hxx
|
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 += \
|
2013-01-30 09:08:50 +01:00
|
|
|
src/IcyMetaDataServer.cxx src/IcyMetaDataServer.hxx \
|
2013-01-15 18:22:17 +01:00
|
|
|
src/output/HttpdInternal.hxx \
|
|
|
|
src/output/HttpdClient.cxx src/output/HttpdClient.hxx \
|
|
|
|
src/output/HttpdOutputPlugin.cxx src/output/HttpdOutputPlugin.hxx
|
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 += \
|
2013-04-17 01:08:35 +02:00
|
|
|
src/output/SolarisOutputPlugin.cxx src/output/SolarisOutputPlugin.hxx
|
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 += \
|
2013-02-22 20:29:03 +01:00
|
|
|
src/output/WinmmOutputPlugin.cxx src/output/WinmmOutputPlugin.hxx
|
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/WinmmMixerPlugin.cxx
|
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 = \
|
2013-01-27 17:38:09 +01:00
|
|
|
src/PlaylistPlugin.hxx \
|
2013-01-29 18:56:35 +01:00
|
|
|
src/playlist/MemoryPlaylistProvider.cxx \
|
|
|
|
src/playlist/MemoryPlaylistProvider.hxx \
|
2013-01-27 17:38:09 +01:00
|
|
|
src/playlist/ExtM3uPlaylistPlugin.cxx \
|
|
|
|
src/playlist/ExtM3uPlaylistPlugin.hxx \
|
|
|
|
src/playlist/M3uPlaylistPlugin.cxx \
|
|
|
|
src/playlist/M3uPlaylistPlugin.hxx \
|
|
|
|
src/playlist/PlsPlaylistPlugin.cxx \
|
|
|
|
src/playlist/PlsPlaylistPlugin.hxx \
|
|
|
|
src/playlist/XspfPlaylistPlugin.cxx \
|
|
|
|
src/playlist/XspfPlaylistPlugin.hxx \
|
|
|
|
src/playlist/AsxPlaylistPlugin.cxx \
|
|
|
|
src/playlist/AsxPlaylistPlugin.hxx \
|
|
|
|
src/playlist/RssPlaylistPlugin.cxx \
|
|
|
|
src/playlist/RssPlaylistPlugin.hxx \
|
|
|
|
src/playlist/CuePlaylistPlugin.cxx \
|
|
|
|
src/playlist/CuePlaylistPlugin.hxx \
|
2013-01-26 01:04:02 +01:00
|
|
|
src/playlist/EmbeddedCuePlaylistPlugin.cxx \
|
|
|
|
src/playlist/EmbeddedCuePlaylistPlugin.hxx \
|
|
|
|
src/PlaylistRegistry.cxx src/PlaylistRegistry.hxx
|
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
|
2013-01-26 01:04:02 +01:00
|
|
|
libplaylist_plugins_a_SOURCES += \
|
|
|
|
src/playlist/LastFMPlaylistPlugin.cxx \
|
|
|
|
src/playlist/LastFMPlaylistPlugin.hxx
|
2009-10-13 16:32:10 +02:00
|
|
|
endif
|
|
|
|
|
2011-03-27 08:41:40 +02:00
|
|
|
if ENABLE_DESPOTIFY
|
2013-01-21 18:24:26 +01:00
|
|
|
libplaylist_plugins_a_SOURCES += \
|
|
|
|
src/playlist/DespotifyPlaylistPlugin.cxx \
|
|
|
|
src/playlist/DespotifyPlaylistPlugin.hxx
|
2011-03-27 08:41:40 +02:00
|
|
|
endif
|
|
|
|
|
2012-02-27 13:19:45 +01:00
|
|
|
if ENABLE_SOUNDCLOUD
|
|
|
|
libplaylist_plugins_a_SOURCES += \
|
2013-01-26 01:04:02 +01:00
|
|
|
src/playlist/SoundCloudPlaylistPlugin.cxx \
|
|
|
|
src/playlist/SoundCloudPlaylistPlugin.hxx
|
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 = \
|
2013-02-01 17:47:09 +01:00
|
|
|
src/filter/NullFilterPlugin.cxx \
|
|
|
|
src/filter/ChainFilterPlugin.cxx \
|
|
|
|
src/filter/ChainFilterPlugin.hxx \
|
2013-01-30 23:28:13 +01:00
|
|
|
src/filter/AutoConvertFilterPlugin.cxx \
|
|
|
|
src/filter/AutoConvertFilterPlugin.hxx \
|
|
|
|
src/filter/ConvertFilterPlugin.cxx \
|
|
|
|
src/filter/ConvertFilterPlugin.hxx \
|
2013-02-01 17:47:09 +01:00
|
|
|
src/filter/RouteFilterPlugin.cxx \
|
|
|
|
src/filter/NormalizeFilterPlugin.cxx \
|
2013-01-07 10:12:51 +01:00
|
|
|
src/filter/ReplayGainFilterPlugin.cxx \
|
|
|
|
src/filter/ReplayGainFilterPlugin.hxx \
|
2013-01-31 21:00:43 +01:00
|
|
|
src/filter/VolumeFilterPlugin.cxx \
|
|
|
|
src/filter/VolumeFilterPlugin.hxx
|
2009-07-05 06:54:48 +02:00
|
|
|
|
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 \
|
2013-01-08 15:33:58 +01:00
|
|
|
test/test_queue_priority
|
2011-07-19 00:34:33 +02:00
|
|
|
|
|
|
|
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 \
|
2013-01-05 02:39:32 +01:00
|
|
|
test/run_input \
|
2012-03-19 19:59:30 +01:00
|
|
|
test/dump_text_file \
|
2013-01-05 02:39:32 +01: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
|
|
|
|
|
2013-01-29 22:40:11 +01:00
|
|
|
if ENABLE_ARCHIVE
|
|
|
|
noinst_PROGRAMS += test/visit_archive
|
|
|
|
endif
|
|
|
|
|
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 = \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-04-08 23:51:39 +02:00
|
|
|
libutil.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2009-04-10 09:14:12 +02:00
|
|
|
$(GLIB_LIBS)
|
2013-04-09 01:17:47 +02:00
|
|
|
test_read_conf_SOURCES = test/read_conf.cxx
|
2009-04-10 09:14:12 +02:00
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_run_resolver_LDADD = \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2011-09-20 20:51:46 +02:00
|
|
|
$(GLIB_LIBS)
|
2013-08-07 10:31:31 +02:00
|
|
|
test_run_resolver_SOURCES = test/run_resolver.c
|
2011-09-20 20:51:46 +02:00
|
|
|
|
2012-08-07 20:08:50 +02:00
|
|
|
test_DumpDatabase_LDADD = \
|
2011-09-05 22:53:46 +02:00
|
|
|
$(DB_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2012-08-07 20:08:50 +02:00
|
|
|
libutil.a \
|
2013-01-21 20:31:29 +01:00
|
|
|
libfs.a \
|
2012-08-07 20:08:50 +02:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \
|
|
|
|
src/DatabaseRegistry.cxx \
|
2012-08-29 20:03:37 +02:00
|
|
|
src/DatabaseSelection.cxx \
|
2013-01-02 19:52:57 +01:00
|
|
|
src/Directory.cxx src/DirectorySave.cxx \
|
2013-01-02 22:04:03 +01:00
|
|
|
src/PlaylistVector.cxx src/PlaylistDatabase.cxx \
|
2013-01-02 20:56:21 +01:00
|
|
|
src/DatabaseLock.cxx src/DatabaseSave.cxx \
|
2013-04-17 22:25:57 +02:00
|
|
|
src/Song.cxx src/SongSave.cxx src/SongSort.cxx \
|
2013-01-07 10:36:27 +01:00
|
|
|
src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagSave.cxx \
|
2012-08-29 19:12:26 +02:00
|
|
|
src/SongFilter.cxx \
|
2013-04-09 01:17:47 +02:00
|
|
|
src/TextFile.cxx
|
2012-08-07 20:08:50 +02:00
|
|
|
|
2013-01-05 02:39:32 +01: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) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-04-08 23:30:21 +02:00
|
|
|
libutil.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libevent.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2009-04-13 19:18:10 +02:00
|
|
|
$(GLIB_LIBS)
|
2013-01-27 22:17:47 +01:00
|
|
|
test_run_input_SOURCES = test/run_input.cxx \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2013-01-10 10:33:20 +01:00
|
|
|
src/IOThread.cxx \
|
2013-08-07 10:31:31 +02:00
|
|
|
src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagSave.cxx
|
2009-04-13 19:18:10 +02:00
|
|
|
|
2013-01-29 22:40:11 +01:00
|
|
|
if ENABLE_ARCHIVE
|
|
|
|
|
|
|
|
test_visit_archive_LDADD = \
|
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-04-08 23:30:21 +02:00
|
|
|
libutil.a \
|
2013-01-29 22:40:11 +01:00
|
|
|
libevent.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-29 22:40:11 +01:00
|
|
|
libfs.a \
|
|
|
|
$(GLIB_LIBS)
|
|
|
|
test_visit_archive_SOURCES = test/visit_archive.cxx \
|
|
|
|
src/IOThread.cxx \
|
|
|
|
src/InputStream.cxx \
|
2013-08-07 10:31:31 +02:00
|
|
|
src/Tag.cxx src/TagNames.c src/TagPool.cxx
|
2013-01-29 22:40:11 +01:00
|
|
|
|
|
|
|
if ENABLE_DESPOTIFY
|
|
|
|
test_visit_archive_SOURCES += src/DespotifyUtils.cxx
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
2012-03-19 19:59:30 +01:00
|
|
|
test_dump_text_file_LDADD = \
|
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libevent.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libutil.a \
|
2012-03-19 19:59:30 +01:00
|
|
|
$(GLIB_LIBS)
|
2013-01-10 10:15:09 +01:00
|
|
|
test_dump_text_file_SOURCES = test/dump_text_file.cxx \
|
2012-03-19 19:59:30 +01:00
|
|
|
test/stdbin.h \
|
2013-01-10 10:33:20 +01:00
|
|
|
src/IOThread.cxx \
|
2013-01-07 10:36:27 +01:00
|
|
|
src/Tag.cxx src/TagNames.c src/TagPool.cxx \
|
2013-08-07 10:31:31 +02:00
|
|
|
src/TextInputStream.cxx
|
2012-03-19 19:59:30 +01:00
|
|
|
|
2013-01-05 02:39:32 +01: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) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libevent.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2013-04-09 01:24:52 +02:00
|
|
|
libpcm.a \
|
2009-10-12 22:34:04 +02:00
|
|
|
$(GLIB_LIBS)
|
2013-01-05 02:39:32 +01:00
|
|
|
test_dump_playlist_SOURCES = test/dump_playlist.cxx \
|
2012-02-12 15:20:38 +01:00
|
|
|
$(DECODER_SRC) \
|
2013-01-10 10:33:20 +01:00
|
|
|
src/IOThread.cxx \
|
2013-01-07 10:36:27 +01:00
|
|
|
src/Song.cxx src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagSave.cxx \
|
2013-07-29 07:32:36 +02:00
|
|
|
src/TagHandler.cxx src/TagFile.cxx \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
2013-05-12 16:02:27 +02:00
|
|
|
src/TextInputStream.cxx \
|
2013-08-07 10:31:31 +02:00
|
|
|
src/cue/CueParser.cxx src/cue/CueParser.hxx
|
2009-10-12 22:34:04 +02:00
|
|
|
|
2010-01-05 21:46:32 +01:00
|
|
|
if HAVE_FLAC
|
2013-01-05 02:39:32 +01:00
|
|
|
test_dump_playlist_SOURCES += \
|
2013-01-04 23:45:55 +01:00
|
|
|
src/ReplayGainInfo.cxx \
|
2013-05-05 14:19:04 +02:00
|
|
|
src/decoder/FlacMetadata.cxx
|
2010-01-05 21:46:32 +01:00
|
|
|
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) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libevent.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(GLIB_LIBS)
|
2013-01-10 10:15:09 +01:00
|
|
|
test_run_decoder_SOURCES = test/run_decoder.cxx \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2013-01-10 10:33:20 +01:00
|
|
|
src/IOThread.cxx \
|
2013-07-29 07:32:36 +02:00
|
|
|
src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagHandler.cxx \
|
2013-01-04 23:45:55 +01:00
|
|
|
src/ReplayGainInfo.cxx \
|
2013-08-03 21:00:50 +02:00
|
|
|
src/AudioFormat.cxx src/CheckAudioFormat.cxx \
|
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) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libevent.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(GLIB_LIBS)
|
2013-01-10 10:15:09 +01:00
|
|
|
test_read_tags_SOURCES = test/read_tags.cxx \
|
2013-01-10 10:33:20 +01:00
|
|
|
src/IOThread.cxx \
|
2013-07-29 07:32:36 +02:00
|
|
|
src/Tag.cxx src/TagNames.c src/TagPool.cxx src/TagHandler.cxx \
|
2013-01-04 23:45:55 +01:00
|
|
|
src/ReplayGainInfo.cxx \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
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)
|
2013-07-26 12:09:17 +02:00
|
|
|
test_dump_rva2_SOURCES = test/dump_rva2.cxx \
|
2012-04-23 22:30:06 +02:00
|
|
|
src/riff.c src/aiff.c \
|
2013-07-29 07:32:36 +02:00
|
|
|
src/TagHandler.cxx \
|
2013-07-28 20:25:45 +02:00
|
|
|
src/TagId3.cxx \
|
2013-07-26 12:09:17 +02:00
|
|
|
src/TagRva2.cxx
|
2012-04-23 22:30:06 +02:00
|
|
|
endif
|
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_run_filter_LDADD = \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(FILTER_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-04-08 23:51:39 +02:00
|
|
|
libutil.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2009-07-05 06:54:48 +02:00
|
|
|
$(GLIB_LIBS)
|
2013-01-29 17:23:58 +01:00
|
|
|
test_run_filter_SOURCES = test/run_filter.cxx \
|
2013-01-09 09:06:43 +01:00
|
|
|
test/FakeReplayGainConfig.cxx \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2013-02-01 17:47:09 +01:00
|
|
|
src/FilterPlugin.cxx src/FilterRegistry.cxx \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
2013-08-03 21:00:50 +02:00
|
|
|
src/AudioFormat.cxx \
|
2013-01-30 21:47:12 +01:00
|
|
|
src/AudioParser.cxx \
|
2013-01-04 23:45:55 +01:00
|
|
|
src/ReplayGainInfo.cxx \
|
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
|
2013-01-21 18:24:26 +01:00
|
|
|
test_read_tags_SOURCES += src/DespotifyUtils.cxx
|
|
|
|
test_run_input_SOURCES += src/DespotifyUtils.cxx
|
|
|
|
test_dump_text_file_SOURCES += src/DespotifyUtils.cxx
|
|
|
|
test_dump_playlist_SOURCES += src/DespotifyUtils.cxx
|
|
|
|
test_run_decoder_SOURCES += src/DespotifyUtils.cxx
|
2011-03-27 08:41:40 +02:00
|
|
|
endif
|
|
|
|
|
2009-07-06 22:50:07 +02:00
|
|
|
if ENABLE_ENCODER
|
|
|
|
noinst_PROGRAMS += test/run_encoder
|
2013-01-30 21:27:37 +01:00
|
|
|
test_run_encoder_SOURCES = test/run_encoder.cxx \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2013-01-07 10:36:27 +01:00
|
|
|
src/Tag.cxx src/TagNames.c src/TagPool.cxx \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
2013-08-03 21:00:50 +02:00
|
|
|
src/AudioFormat.cxx \
|
2013-01-30 21:47:12 +01:00
|
|
|
src/AudioParser.cxx
|
2011-10-09 17:33:09 +02:00
|
|
|
test_run_encoder_LDADD = \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(ENCODER_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
$(TAG_LIBS) \
|
|
|
|
libconf.a \
|
2011-10-10 08:17:39 +02:00
|
|
|
libpcm.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2013-01-15 01:00:59 +01:00
|
|
|
libutil.a \
|
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
|
2013-01-30 22:19:24 +01:00
|
|
|
test_test_vorbis_encoder_SOURCES = test/test_vorbis_encoder.cxx \
|
2012-04-04 22:56:38 +02:00
|
|
|
test/stdbin.h \
|
2013-01-07 10:36:27 +01:00
|
|
|
src/Tag.cxx src/TagNames.c src/TagPool.cxx \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
2013-08-03 21:00:50 +02:00
|
|
|
src/AudioFormat.cxx \
|
2013-01-30 21:47:12 +01:00
|
|
|
src/AudioParser.cxx \
|
2012-04-04 22:56:38 +02:00
|
|
|
$(ENCODER_SRC)
|
|
|
|
test_test_vorbis_encoder_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
|
|
$(ENCODER_CFLAGS)
|
|
|
|
test_test_vorbis_encoder_LDADD = $(MPD_LIBS) \
|
|
|
|
$(ENCODER_LIBS) \
|
2013-04-09 01:24:52 +02:00
|
|
|
$(PCM_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2013-01-15 01:00:59 +01:00
|
|
|
libutil.a \
|
2012-04-04 22:56:38 +02:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
endif
|
|
|
|
|
2013-01-30 21:27:37 +01:00
|
|
|
test_software_volume_SOURCES = test/software_volume.cxx \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
2013-01-30 21:47:12 +01:00
|
|
|
src/AudioParser.cxx
|
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
|
|
|
|
2013-01-30 21:47:12 +01:00
|
|
|
test_run_normalize_SOURCES = test/run_normalize.cxx \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
2013-01-30 21:47:12 +01:00
|
|
|
src/AudioParser.cxx \
|
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)
|
|
|
|
|
2013-01-30 21:27:37 +01:00
|
|
|
test_run_convert_SOURCES = test/run_convert.cxx \
|
2013-08-03 21:00:50 +02:00
|
|
|
src/AudioFormat.cxx \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
2013-01-30 21:47:12 +01:00
|
|
|
src/AudioParser.cxx
|
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) \
|
2013-04-09 01:24:32 +02:00
|
|
|
$(PCM_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) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-01-15 07:53:44 +01:00
|
|
|
libevent.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2012-03-21 19:09:22 +01:00
|
|
|
libutil.a \
|
2009-03-11 12:38:25 +01:00
|
|
|
$(GLIB_LIBS)
|
2013-01-04 09:46:41 +01:00
|
|
|
test_run_output_SOURCES = test/run_output.cxx \
|
2013-01-09 09:06:43 +01:00
|
|
|
test/FakeReplayGainConfig.cxx \
|
2011-02-18 08:19:37 +01:00
|
|
|
test/stdbin.h \
|
2013-01-10 10:33:20 +01:00
|
|
|
src/IOThread.cxx \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
2013-08-03 21:00:50 +02:00
|
|
|
src/AudioFormat.cxx \
|
2013-01-30 21:47:12 +01:00
|
|
|
src/AudioParser.cxx \
|
2013-08-07 10:31:31 +02:00
|
|
|
src/Timer.cxx \
|
2013-01-07 10:36:27 +01:00
|
|
|
src/Tag.cxx src/TagNames.c src/TagPool.cxx \
|
2013-01-30 09:18:52 +01:00
|
|
|
src/Page.cxx \
|
2013-01-04 09:46:41 +01:00
|
|
|
src/OutputInit.cxx src/OutputFinish.cxx src/OutputList.cxx \
|
|
|
|
src/OutputPlugin.cxx \
|
2013-02-22 20:51:23 +01:00
|
|
|
src/MixerControl.cxx \
|
|
|
|
src/MixerType.cxx \
|
2013-02-01 17:47:09 +01:00
|
|
|
src/FilterPlugin.cxx \
|
2013-01-30 17:22:44 +01:00
|
|
|
src/FilterConfig.cxx \
|
2009-12-14 21:36:25 +01:00
|
|
|
src/AudioCompress/compress.c \
|
2013-08-07 10:31:31 +02:00
|
|
|
src/ReplayGainInfo.cxx
|
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) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-04-08 23:51:39 +02:00
|
|
|
libutil.a \
|
2013-01-15 07:53:44 +01:00
|
|
|
libevent.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-29 17:23:35 +01:00
|
|
|
libfs.a \
|
2009-04-21 22:46:41 +02:00
|
|
|
$(GLIB_LIBS)
|
2013-01-30 19:05:04 +01:00
|
|
|
test_read_mixer_SOURCES = test/read_mixer.cxx \
|
2013-02-22 20:51:23 +01:00
|
|
|
src/MixerControl.cxx \
|
2013-02-01 17:47:09 +01:00
|
|
|
src/FilterPlugin.cxx \
|
2013-08-07 10:31:31 +02:00
|
|
|
src/filter/VolumeFilterPlugin.cxx
|
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
|
2013-01-08 15:33:58 +01:00
|
|
|
noinst_PROGRAMS += test/run_inotify
|
|
|
|
test_run_inotify_SOURCES = test/run_inotify.cxx \
|
2013-01-02 19:22:15 +01:00
|
|
|
src/InotifySource.cxx
|
2013-01-15 01:00:59 +01:00
|
|
|
test_run_inotify_LDADD = \
|
2013-01-15 18:18:02 +01:00
|
|
|
libevent.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-15 01:00:59 +01:00
|
|
|
libutil.a \
|
|
|
|
$(GLIB_LIBS)
|
2010-05-30 23:30:43 +02:00
|
|
|
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 = \
|
2013-01-31 22:58:27 +01:00
|
|
|
test/test_pcm_util.hxx \
|
2013-01-31 20:45:19 +01:00
|
|
|
test/test_pcm_dither.cxx \
|
|
|
|
test/test_pcm_pack.cxx \
|
|
|
|
test/test_pcm_channels.cxx \
|
2013-01-31 22:27:53 +01:00
|
|
|
test/test_pcm_format.cxx \
|
2013-01-31 20:45:19 +01:00
|
|
|
test/test_pcm_volume.cxx \
|
2013-02-01 15:52:03 +01:00
|
|
|
test/test_pcm_mix.cxx \
|
2013-01-31 20:45:19 +01:00
|
|
|
test/test_pcm_all.hxx \
|
|
|
|
test/test_pcm_main.cxx
|
2011-10-09 13:22:08 +02:00
|
|
|
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)
|
|
|
|
|
2013-01-08 15:33:58 +01:00
|
|
|
test_test_queue_priority_SOURCES = \
|
2013-01-04 20:50:00 +01:00
|
|
|
src/Queue.cxx \
|
2013-01-08 15:33:58 +01:00
|
|
|
test/test_queue_priority.cxx
|
|
|
|
test_test_queue_priority_LDADD = \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-07 21:07:30 +01:00
|
|
|
libutil.a \
|
2011-07-19 00:34:33 +02:00
|
|
|
$(GLIB_LIBS)
|
|
|
|
|
2013-04-09 01:24:52 +02:00
|
|
|
noinst_PROGRAMS += src/pcm/dsd2pcm/dsd2pcm
|
2011-10-03 12:13:57 +02:00
|
|
|
|
2013-04-09 01:24:52 +02:00
|
|
|
src_pcm_dsd2pcm_dsd2pcm_SOURCES = \
|
|
|
|
src/pcm/dsd2pcm/dsd2pcm.c src/pcm/dsd2pcm/dsd2pcm.h \
|
|
|
|
src/pcm/dsd2pcm/noiseshape.c src/pcm/dsd2pcm/noiseshape.h \
|
|
|
|
src/pcm/dsd2pcm/main.cpp
|
|
|
|
src_pcm_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 \
|
2013-01-08 12:46:04 +01:00
|
|
|
src/win/mpd_win32_rc.rc.in src/win/mpd.ico
|