2008-09-23 22:38:46 +02:00
|
|
|
ACLOCAL_AMFLAGS = -I m4
|
2013-11-08 12:29:56 +01:00
|
|
|
AUTOMAKE_OPTIONS = foreign 1.11 dist-xz subdir-objects
|
2004-03-12 16:26:41 +01:00
|
|
|
|
2015-06-27 16:06:28 +02:00
|
|
|
AM_CPPFLAGS += -I$(srcdir)/src $(BOOST_CPPFLAGS)
|
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"'
|
|
|
|
|
2014-09-16 12:01:18 +02:00
|
|
|
APK_NAME = mpd
|
2014-02-18 08:33:06 +01:00
|
|
|
if ANDROID
|
|
|
|
else
|
2009-02-23 10:04:51 +01:00
|
|
|
bin_PROGRAMS = src/mpd
|
2014-02-18 08:33:06 +01:00
|
|
|
endif
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
noinst_LIBRARIES = \
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd.a \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2013-10-17 18:57:22 +02:00
|
|
|
libthread.a \
|
2015-02-10 21:46:23 +01:00
|
|
|
libnet.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-01-09 23:47:38 +01:00
|
|
|
libevent.a \
|
2014-02-23 19:27:08 +01:00
|
|
|
libicu.a \
|
2011-10-09 16:18:03 +02:00
|
|
|
libpcm.a \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.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 \
|
2011-10-09 14:29:36 +02:00
|
|
|
libplaylist_plugins.a \
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder.a \
|
2018-01-02 22:52:23 +01:00
|
|
|
libfilter_api.a \
|
2011-10-09 14:29:36 +02:00
|
|
|
libfilter_plugins.a \
|
2018-01-02 22:52:23 +01:00
|
|
|
libfilter_glue.a \
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins.a \
|
|
|
|
liboutput_plugins.a
|
2011-01-09 18:21:27 +01:00
|
|
|
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd_a_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)
|
2014-02-18 23:30:34 +01:00
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
src_mpd_LDADD = \
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd.a \
|
2014-01-18 16:36:42 +01:00
|
|
|
$(NEIGHBOR_LIBS) \
|
2012-08-02 19:23:11 +02:00
|
|
|
$(DB_LIBS) \
|
2014-01-29 18:14:57 +01:00
|
|
|
$(STORAGE_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-03-11 12:38:25 +01:00
|
|
|
$(OUTPUT_LIBS) \
|
2015-01-14 19:59:14 +01:00
|
|
|
$(TAG_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 \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2013-01-09 23:47:38 +01:00
|
|
|
libevent.a \
|
2013-10-17 18:57:22 +02:00
|
|
|
libthread.a \
|
2015-02-10 21:46:23 +01:00
|
|
|
libnet.a \
|
2015-03-03 17:03:21 +01:00
|
|
|
$(FS_LIBS) \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2018-01-19 23:38:10 +01:00
|
|
|
libutil.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
$(SYSTEMD_DAEMON_LIBS)
|
2009-02-23 10:04:51 +01:00
|
|
|
|
|
|
|
src_mpd_SOURCES = \
|
2014-02-18 23:30:34 +01:00
|
|
|
src/Main.cxx src/Main.hxx
|
|
|
|
|
|
|
|
libmpd_a_SOURCES = \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(OUTPUT_API_SRC) \
|
|
|
|
$(MIXER_API_SRC) \
|
2014-02-18 23:04:06 +01:00
|
|
|
src/check.h \
|
2013-10-15 09:21:13 +02:00
|
|
|
src/Compiler.h \
|
2014-02-18 23:04:06 +01:00
|
|
|
src/open.h \
|
2013-01-10 10:44:04 +01:00
|
|
|
src/notify.cxx src/notify.hxx \
|
2013-08-10 18:02:44 +02:00
|
|
|
src/protocol/Ack.cxx src/protocol/Ack.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 \
|
2015-08-11 22:11:28 +02:00
|
|
|
src/command/Request.hxx \
|
2013-10-20 13:41:04 +02:00
|
|
|
src/command/CommandResult.hxx \
|
|
|
|
src/command/CommandError.cxx src/command/CommandError.hxx \
|
|
|
|
src/command/AllCommands.cxx src/command/AllCommands.hxx \
|
|
|
|
src/command/QueueCommands.cxx src/command/QueueCommands.hxx \
|
2013-12-02 12:00:32 +01:00
|
|
|
src/command/TagCommands.cxx src/command/TagCommands.hxx \
|
2013-10-20 13:41:04 +02:00
|
|
|
src/command/PlayerCommands.cxx src/command/PlayerCommands.hxx \
|
|
|
|
src/command/PlaylistCommands.cxx src/command/PlaylistCommands.hxx \
|
2013-10-25 19:35:40 +02:00
|
|
|
src/command/FileCommands.cxx src/command/FileCommands.hxx \
|
2013-10-20 13:41:04 +02:00
|
|
|
src/command/OutputCommands.cxx src/command/OutputCommands.hxx \
|
|
|
|
src/command/MessageCommands.cxx src/command/MessageCommands.hxx \
|
2017-02-08 07:39:40 +01:00
|
|
|
src/command/ClientCommands.cxx src/command/ClientCommands.hxx \
|
2017-02-17 23:07:31 +01:00
|
|
|
src/command/PartitionCommands.cxx src/command/PartitionCommands.hxx \
|
2013-10-20 13:41:04 +02:00
|
|
|
src/command/OtherCommands.cxx src/command/OtherCommands.hxx \
|
|
|
|
src/command/CommandListBuilder.cxx src/command/CommandListBuilder.hxx \
|
2013-01-09 08:36:52 +01:00
|
|
|
src/Idle.cxx src/Idle.hxx \
|
2016-03-05 20:48:37 +01:00
|
|
|
src/IdleFlags.cxx src/IdleFlags.hxx \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/DecoderError.cxx src/decoder/DecoderError.hxx \
|
|
|
|
src/decoder/DecoderThread.cxx src/decoder/DecoderThread.hxx \
|
|
|
|
src/decoder/DecoderCommand.hxx \
|
|
|
|
src/decoder/DecoderControl.cxx src/decoder/DecoderControl.hxx \
|
2016-11-18 07:13:35 +01:00
|
|
|
src/decoder/Client.hxx \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/DecoderPlugin.hxx \
|
2016-11-18 12:29:49 +01:00
|
|
|
src/decoder/Bridge.cxx src/decoder/Bridge.hxx \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/DecoderPrint.cxx src/decoder/DecoderPrint.hxx \
|
2018-01-29 23:48:16 +01:00
|
|
|
src/client/Listener.cxx src/client/Listener.hxx \
|
2014-01-24 00:26:53 +01:00
|
|
|
src/client/Client.cxx src/client/Client.hxx \
|
|
|
|
src/client/ClientInternal.hxx \
|
|
|
|
src/client/ClientEvent.cxx \
|
|
|
|
src/client/ClientExpire.cxx \
|
|
|
|
src/client/ClientGlobal.cxx \
|
|
|
|
src/client/ClientIdle.cxx \
|
|
|
|
src/client/ClientList.cxx src/client/ClientList.hxx \
|
|
|
|
src/client/ClientNew.cxx \
|
|
|
|
src/client/ClientProcess.cxx \
|
|
|
|
src/client/ClientRead.cxx \
|
|
|
|
src/client/ClientWrite.cxx \
|
|
|
|
src/client/ClientMessage.cxx src/client/ClientMessage.hxx \
|
|
|
|
src/client/ClientSubscribe.cxx \
|
2014-02-02 13:59:07 +01:00
|
|
|
src/client/ClientFile.cxx \
|
2015-08-06 22:10:25 +02:00
|
|
|
src/client/Response.cxx src/client/Response.hxx \
|
2013-01-03 11:05:44 +01:00
|
|
|
src/Listen.cxx src/Listen.hxx \
|
2013-09-27 22:31:24 +02:00
|
|
|
src/LogInit.cxx src/LogInit.hxx \
|
2013-12-15 17:35:33 +01:00
|
|
|
src/LogBackend.cxx src/LogBackend.hxx \
|
2013-09-27 22:31:24 +02:00
|
|
|
src/Log.cxx src/Log.hxx src/LogV.hxx \
|
2013-12-15 17:20:56 +01:00
|
|
|
src/LogLevel.hxx \
|
2013-08-07 18:47:33 +02:00
|
|
|
src/ls.cxx src/ls.hxx \
|
2013-04-17 22:58:33 +02:00
|
|
|
src/Instance.cxx src/Instance.hxx \
|
2014-01-24 16:14:05 +01:00
|
|
|
src/win32/Win32Main.cxx \
|
2013-10-26 14:19:34 +02:00
|
|
|
src/MixRampInfo.hxx \
|
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-10-21 23:40:52 +02:00
|
|
|
src/Partition.cxx src/Partition.hxx \
|
2013-01-03 03:06:45 +01:00
|
|
|
src/Permission.cxx src/Permission.hxx \
|
2015-08-15 15:55:46 +02:00
|
|
|
src/player/CrossFade.cxx src/player/CrossFade.hxx \
|
|
|
|
src/player/Thread.cxx src/player/Thread.hxx \
|
|
|
|
src/player/Control.cxx src/player/Control.hxx \
|
|
|
|
src/player/Listener.hxx \
|
2017-12-29 16:23:19 +01:00
|
|
|
src/player/Outputs.hxx \
|
2013-08-10 18:02:44 +02:00
|
|
|
src/PlaylistError.cxx src/PlaylistError.hxx \
|
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 \
|
2014-02-07 21:29:31 +01:00
|
|
|
src/playlist/PlaylistStream.cxx src/playlist/PlaylistStream.hxx \
|
2014-01-23 23:30:12 +01:00
|
|
|
src/playlist/PlaylistMapper.cxx src/playlist/PlaylistMapper.hxx \
|
|
|
|
src/playlist/PlaylistAny.cxx src/playlist/PlaylistAny.hxx \
|
|
|
|
src/playlist/PlaylistSong.cxx src/playlist/PlaylistSong.hxx \
|
|
|
|
src/playlist/PlaylistQueue.cxx src/playlist/PlaylistQueue.hxx \
|
|
|
|
src/playlist/Print.cxx src/playlist/Print.hxx \
|
2014-07-11 20:01:53 +02:00
|
|
|
src/BulkEdit.hxx \
|
2014-01-27 11:05:21 +01:00
|
|
|
src/db/PlaylistVector.cxx src/db/PlaylistVector.hxx \
|
|
|
|
src/db/PlaylistInfo.hxx \
|
2014-01-24 00:17:50 +01:00
|
|
|
src/queue/IdTable.hxx \
|
|
|
|
src/queue/Queue.cxx src/queue/Queue.hxx \
|
|
|
|
src/queue/QueuePrint.cxx src/queue/QueuePrint.hxx \
|
|
|
|
src/queue/QueueSave.cxx src/queue/QueueSave.hxx \
|
2014-02-27 17:12:42 +01:00
|
|
|
src/queue/Playlist.cxx src/queue/Playlist.hxx \
|
|
|
|
src/queue/PlaylistControl.cxx \
|
|
|
|
src/queue/PlaylistEdit.cxx \
|
|
|
|
src/queue/PlaylistTag.cxx \
|
|
|
|
src/queue/PlaylistState.cxx src/queue/PlaylistState.hxx \
|
2016-03-10 20:10:14 +01:00
|
|
|
src/queue/Listener.hxx \
|
2016-09-09 15:11:52 +02:00
|
|
|
src/PluginUnavailable.hxx \
|
2016-11-25 11:13:08 +01:00
|
|
|
src/ReplayGainGlobal.cxx src/ReplayGainGlobal.hxx \
|
2014-01-07 21:39:47 +01:00
|
|
|
src/DetachedSong.cxx src/DetachedSong.hxx \
|
2015-10-22 09:29:02 +02:00
|
|
|
src/LocateUri.cxx src/LocateUri.hxx \
|
2013-01-02 22:42:12 +01:00
|
|
|
src/SongUpdate.cxx \
|
2014-02-02 14:37:52 +01:00
|
|
|
src/SongLoader.cxx src/SongLoader.hxx \
|
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 \
|
|
|
|
src/StateFile.cxx src/StateFile.hxx \
|
2013-10-02 12:14:07 +02:00
|
|
|
src/Stats.cxx src/Stats.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-01-26 01:18:12 +01:00
|
|
|
src/TagFile.cxx src/TagFile.hxx \
|
2013-12-29 16:34:16 +01:00
|
|
|
src/TagStream.cxx src/TagStream.hxx \
|
2014-02-18 23:04:06 +01:00
|
|
|
src/TimePrint.cxx src/TimePrint.hxx \
|
2014-01-24 16:25:21 +01:00
|
|
|
src/mixer/Volume.cxx src/mixer/Volume.hxx \
|
2014-08-26 21:52:28 +02:00
|
|
|
src/Chrono.hxx \
|
2012-08-29 19:12:26 +02:00
|
|
|
src/SongFilter.cxx src/SongFilter.hxx \
|
2014-02-19 09:00:29 +01:00
|
|
|
src/PlaylistFile.cxx src/PlaylistFile.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2018-01-29 12:02:14 +01:00
|
|
|
if ENABLE_CURL
|
|
|
|
libmpd_a_SOURCES += \
|
|
|
|
src/RemoteTagCache.cxx src/RemoteTagCache.hxx \
|
|
|
|
src/RemoteTagCacheHandler.hxx
|
|
|
|
endif
|
|
|
|
|
2014-02-21 23:12:51 +01:00
|
|
|
if ANDROID
|
|
|
|
else
|
|
|
|
libmpd_a_SOURCES += \
|
|
|
|
src/unix/SignalHandlers.cxx src/unix/SignalHandlers.hxx \
|
|
|
|
src/CommandLine.cxx src/CommandLine.hxx
|
2014-11-20 20:38:37 +01:00
|
|
|
|
|
|
|
if ENABLE_DAEMON
|
|
|
|
libmpd_a_SOURCES += \
|
|
|
|
src/unix/Daemon.cxx src/unix/Daemon.hxx \
|
|
|
|
src/unix/PidFile.hxx
|
|
|
|
endif
|
|
|
|
|
2014-02-21 23:12:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-01-30 20:29:48 +01:00
|
|
|
if ENABLE_DATABASE
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd_a_SOURCES += \
|
2014-02-27 17:12:42 +01:00
|
|
|
src/queue/PlaylistUpdate.cxx \
|
2014-02-09 08:24:16 +01:00
|
|
|
src/command/StorageCommands.cxx src/command/StorageCommands.hxx \
|
2014-01-30 20:29:48 +01:00
|
|
|
src/command/DatabaseCommands.cxx src/command/DatabaseCommands.hxx \
|
2014-04-26 22:59:21 +02:00
|
|
|
src/db/Count.cxx src/db/Count.hxx \
|
2014-01-30 20:29:48 +01:00
|
|
|
src/db/LightSong.cxx src/db/LightSong.hxx \
|
|
|
|
src/db/LightDirectory.hxx \
|
|
|
|
src/db/update/UpdateDomain.cxx src/db/update/UpdateDomain.hxx \
|
|
|
|
src/db/update/Service.cxx src/db/update/Service.hxx \
|
|
|
|
src/db/update/Queue.cxx src/db/update/Queue.hxx \
|
|
|
|
src/db/update/UpdateIO.cxx src/db/update/UpdateIO.hxx \
|
|
|
|
src/db/update/Editor.cxx src/db/update/Editor.hxx \
|
|
|
|
src/db/update/Walk.cxx src/db/update/Walk.hxx \
|
|
|
|
src/db/update/UpdateSong.cxx \
|
|
|
|
src/db/update/Container.cxx \
|
|
|
|
src/db/update/Remove.cxx src/db/update/Remove.hxx \
|
|
|
|
src/db/update/ExcludeList.cxx src/db/update/ExcludeList.hxx \
|
|
|
|
src/db/Uri.hxx \
|
|
|
|
src/db/DatabaseGlue.cxx src/db/DatabaseGlue.hxx \
|
2014-02-17 21:47:15 +01:00
|
|
|
src/db/Configured.cxx src/db/Configured.hxx \
|
2014-01-30 20:29:48 +01:00
|
|
|
src/db/DatabaseSong.cxx src/db/DatabaseSong.hxx \
|
|
|
|
src/db/DatabasePrint.cxx src/db/DatabasePrint.hxx \
|
|
|
|
src/db/DatabaseQueue.cxx src/db/DatabaseQueue.hxx \
|
|
|
|
src/db/DatabasePlaylist.cxx src/db/DatabasePlaylist.hxx \
|
2016-10-29 10:22:29 +02:00
|
|
|
src/db/DatabaseError.hxx \
|
2014-01-30 20:29:48 +01:00
|
|
|
src/db/DatabaseLock.cxx src/db/DatabaseLock.hxx \
|
|
|
|
src/db/DatabasePlugin.hxx \
|
2014-02-19 22:54:52 +01:00
|
|
|
src/db/Interface.hxx \
|
|
|
|
src/db/Stats.hxx \
|
2014-01-30 20:29:48 +01:00
|
|
|
src/db/DatabaseListener.hxx \
|
|
|
|
src/db/Visitor.hxx \
|
|
|
|
src/db/Selection.cxx src/db/Selection.hxx
|
|
|
|
endif
|
|
|
|
|
2017-01-07 14:18:16 +01:00
|
|
|
CURL_SOURCES = \
|
2018-01-21 20:31:59 +01:00
|
|
|
src/lib/curl/Delegate.cxx src/lib/curl/Delegate.hxx \
|
|
|
|
src/lib/curl/Parser.hxx \
|
2017-01-07 14:18:16 +01:00
|
|
|
src/lib/curl/Version.cxx src/lib/curl/Version.hxx \
|
2017-08-18 13:13:27 +02:00
|
|
|
src/lib/curl/Init.cxx src/lib/curl/Init.hxx \
|
2017-01-07 14:18:16 +01:00
|
|
|
src/lib/curl/Global.cxx src/lib/curl/Global.hxx \
|
|
|
|
src/lib/curl/Request.cxx src/lib/curl/Request.hxx \
|
2018-01-11 17:20:54 +01:00
|
|
|
src/lib/curl/Form.cxx src/lib/curl/Form.hxx \
|
2017-01-07 14:18:16 +01:00
|
|
|
src/lib/curl/Handler.hxx \
|
|
|
|
src/lib/curl/Easy.hxx \
|
|
|
|
src/lib/curl/Multi.hxx \
|
|
|
|
src/lib/curl/Slist.hxx
|
|
|
|
|
2018-01-11 19:25:46 +01:00
|
|
|
YAJL_SOURCES = \
|
2018-01-21 20:31:59 +01:00
|
|
|
src/lib/yajl/ResponseParser.cxx src/lib/yajl/ResponseParser.hxx \
|
2018-01-11 20:02:01 +01:00
|
|
|
src/lib/yajl/ParseInputStream.cxx src/lib/yajl/ParseInputStream.hxx \
|
2018-01-11 20:25:17 +01:00
|
|
|
src/lib/yajl/Callbacks.hxx \
|
2018-01-11 19:25:46 +01:00
|
|
|
src/lib/yajl/Handle.hxx
|
|
|
|
|
2014-01-26 11:51:56 +01:00
|
|
|
UPNP_SOURCES = \
|
2017-11-16 11:39:11 +01:00
|
|
|
src/lib/upnp/Compat.hxx \
|
2014-01-26 13:53:03 +01:00
|
|
|
src/lib/upnp/Init.cxx src/lib/upnp/Init.hxx \
|
2014-01-26 15:41:25 +01:00
|
|
|
src/lib/upnp/ClientInit.cxx src/lib/upnp/ClientInit.hxx \
|
2014-01-26 11:51:56 +01:00
|
|
|
src/lib/upnp/Device.cxx src/lib/upnp/Device.hxx \
|
|
|
|
src/lib/upnp/ContentDirectoryService.cxx src/lib/upnp/ContentDirectoryService.hxx \
|
|
|
|
src/lib/upnp/Discovery.cxx src/lib/upnp/Discovery.hxx \
|
|
|
|
src/lib/upnp/ixmlwrap.cxx src/lib/upnp/ixmlwrap.hxx \
|
2014-01-26 15:04:56 +01:00
|
|
|
src/lib/upnp/Callback.hxx \
|
2014-01-26 11:51:56 +01:00
|
|
|
src/lib/upnp/Util.cxx src/lib/upnp/Util.hxx \
|
2016-02-06 23:57:29 +01:00
|
|
|
src/lib/upnp/UniqueIxml.hxx \
|
2014-01-26 11:51:56 +01:00
|
|
|
src/lib/upnp/Action.hxx
|
|
|
|
|
2017-02-08 19:35:27 +01:00
|
|
|
ALSA_SOURCES = \
|
2017-03-29 20:29:02 +02:00
|
|
|
src/lib/alsa/Version.cxx src/lib/alsa/Version.hxx \
|
2017-10-26 09:06:40 +02:00
|
|
|
src/lib/alsa/AllowedFormat.cxx src/lib/alsa/AllowedFormat.hxx \
|
2017-10-26 11:15:01 +02:00
|
|
|
src/lib/alsa/HwSetup.cxx src/lib/alsa/HwSetup.hxx \
|
2017-10-26 09:30:37 +02:00
|
|
|
src/lib/alsa/Format.hxx \
|
2017-10-26 09:27:36 +02:00
|
|
|
src/lib/alsa/PeriodBuffer.hxx \
|
2017-02-08 19:35:27 +01:00
|
|
|
src/lib/alsa/NonBlock.cxx src/lib/alsa/NonBlock.hxx
|
|
|
|
|
2018-05-31 10:54:27 +02:00
|
|
|
if ENABLE_DBUS
|
|
|
|
noinst_LIBRARIES += libodbus.a
|
|
|
|
libodbus_a_SOURCES = \
|
|
|
|
src/lib/dbus/AppendIter.hxx \
|
|
|
|
src/lib/dbus/Connection.cxx src/lib/dbus/Connection.hxx \
|
|
|
|
src/lib/dbus/Error.cxx src/lib/dbus/Error.hxx \
|
|
|
|
src/lib/dbus/Iter.hxx \
|
|
|
|
src/lib/dbus/Message.cxx src/lib/dbus/Message.hxx \
|
|
|
|
src/lib/dbus/PendingCall.hxx \
|
|
|
|
src/lib/dbus/ReadIter.hxx \
|
|
|
|
src/lib/dbus/ObjectManager.hxx \
|
|
|
|
src/lib/dbus/UDisks2.hxx \
|
|
|
|
src/lib/dbus/ScopeMatch.cxx src/lib/dbus/ScopeMatch.hxx \
|
|
|
|
src/lib/dbus/Types.hxx \
|
|
|
|
src/lib/dbus/Values.hxx \
|
|
|
|
src/lib/dbus/Watch.cxx src/lib/dbus/Watch.hxx
|
|
|
|
libodbus_a_CPPFLAGS = $(AM_CPPFLAGS) $(DBUS_CFLAGS)
|
|
|
|
endif
|
|
|
|
|
2014-02-21 10:35:20 +01:00
|
|
|
#
|
|
|
|
# Android native library
|
|
|
|
#
|
|
|
|
|
|
|
|
if ANDROID
|
2014-02-18 08:33:06 +01:00
|
|
|
|
2014-03-01 09:19:32 +01:00
|
|
|
noinst_LIBRARIES += libjava.a
|
|
|
|
libjava_a_SOURCES = \
|
|
|
|
src/java/Class.hxx \
|
|
|
|
src/java/Exception.hxx \
|
|
|
|
src/java/Global.cxx src/java/Global.hxx \
|
|
|
|
src/java/Object.hxx \
|
|
|
|
src/java/Ref.hxx \
|
|
|
|
src/java/File.cxx src/java/File.hxx \
|
|
|
|
src/java/String.cxx src/java/String.hxx
|
|
|
|
|
2014-03-01 17:46:59 +01:00
|
|
|
noinst_LIBRARIES += libandroid.a
|
|
|
|
libandroid_a_SOURCES = \
|
2014-03-01 20:20:29 +01:00
|
|
|
src/android/Context.cxx src/android/Context.hxx \
|
2014-03-01 17:46:59 +01:00
|
|
|
src/android/Environment.cxx src/android/Environment.hxx
|
|
|
|
libandroid_a_CPPFLAGS = $(AM_CPPFLAGS) -Iandroid/build/include
|
|
|
|
|
2014-02-18 08:33:06 +01:00
|
|
|
noinst_LIBRARIES += libmain.a
|
|
|
|
libmain_a_SOURCES = \
|
|
|
|
src/Main.cxx src/Main.hxx
|
|
|
|
libmain_a_CPPFLAGS = $(AM_CPPFLAGS) -Iandroid/build/include
|
|
|
|
|
2014-03-01 17:46:59 +01:00
|
|
|
src_mpd_LDADD += libandroid.a libjava.a
|
2014-03-01 09:19:32 +01:00
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
all-local: android/build/$(APK_NAME)-debug.apk
|
2014-02-18 08:33:06 +01:00
|
|
|
clean-local:
|
|
|
|
rm -rf android/build
|
|
|
|
|
|
|
|
libmpd.so: $(filter %.a,$(src_mpd_LDADD)) libmain.a
|
|
|
|
$(AM_V_CXXLD)$(CXXLD) -shared -Wl,--no-undefined,-shared,-Bsymbolic -llog -lz -o $@ $(AM_CXXFLAGS) $(CXXFLAGS) $(LDFLAGS) src/libmain_a-Main.o $(src_mpd_LDADD) $(LIBS)
|
|
|
|
|
2018-01-19 23:04:54 +01:00
|
|
|
ANDROID_SDK_BUILD_TOOLS_VERSION = 27.0.0
|
2018-01-04 18:47:52 +01:00
|
|
|
ANDROID_SDK_PLATFORM = android-17
|
2018-01-04 18:55:45 +01:00
|
|
|
|
|
|
|
ANDROID_BUILD_TOOLS_DIR = $(ANDROID_SDK)/build-tools/$(ANDROID_SDK_BUILD_TOOLS_VERSION)
|
2018-01-04 18:47:52 +01:00
|
|
|
ANDROID_SDK_PLATFORM_DIR = $(ANDROID_SDK)/platforms/$(ANDROID_SDK_PLATFORM)
|
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
JAVAC = javac
|
|
|
|
AAPT = $(ANDROID_BUILD_TOOLS_DIR)/aapt
|
|
|
|
DX = $(ANDROID_BUILD_TOOLS_DIR)/dx
|
2018-01-04 18:55:45 +01:00
|
|
|
ZIPALIGN = $(ANDROID_BUILD_TOOLS_DIR)/zipalign
|
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
ANDROID_XML_RES := $(wildcard $(srcdir)/android/res/*/*.xml)
|
|
|
|
ANDROID_XML_RES_COPIES := $(patsubst $(srcdir)/android/%,android/build/%,$(ANDROID_XML_RES))
|
|
|
|
|
|
|
|
JAVA_SOURCE_NAMES = Bridge.java Loader.java Main.java
|
2018-01-18 22:05:04 +01:00
|
|
|
JAVA_SOURCE_PATHS = $(addprefix $(srcdir)/android/src/,$(JAVA_SOURCE_NAMES))
|
2017-07-20 01:05:59 +02:00
|
|
|
|
|
|
|
JAVA_CLASSFILES_DIR = android/build/classes
|
2014-02-18 08:33:06 +01:00
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
$(ANDROID_XML_RES_COPIES): $(ANDROID_XML_RES)
|
|
|
|
@$(MKDIR_P) $(dir $@)
|
|
|
|
cp $(patsubst android/build/%,$(srcdir)/android/%,$@) $@
|
2014-02-18 08:33:06 +01:00
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
android/build/resources.apk: $(ANDROID_XML_RES_COPIES) android/build/res/drawable/icon.png
|
|
|
|
@$(MKDIR_P) android/build/gen
|
|
|
|
$(AAPT) package -f -m --auto-add-overlay \
|
|
|
|
--custom-package org.musicpd \
|
|
|
|
-M $(srcdir)/android/AndroidManifest.xml \
|
|
|
|
-S android/build/res \
|
|
|
|
-J android/build/gen \
|
|
|
|
-I $(ANDROID_SDK_PLATFORM_DIR)/android.jar \
|
|
|
|
-F android/build/resources.apk
|
2014-02-18 08:33:06 +01:00
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
# R.java is generated by aapt, when resources.apk is generated
|
|
|
|
android/build/gen/org/musicpd/R.java: android/build/resources.apk
|
|
|
|
|
2018-01-18 22:05:04 +01:00
|
|
|
android/build/classes.dex: $(JAVA_SOURCE_PATHS) android/build/gen/org/musicpd/R.java
|
2017-07-20 01:05:59 +02:00
|
|
|
@$(MKDIR_P) $(JAVA_CLASSFILES_DIR)
|
2018-05-22 12:37:01 +02:00
|
|
|
$(JAVAC) -source 1.6 -target 1.6 -Xlint:-options \
|
2017-07-20 01:05:59 +02:00
|
|
|
-cp $(ANDROID_SDK_PLATFORM_DIR)/android.jar:$(JAVA_CLASSFILES_DIR) \
|
|
|
|
-d $(JAVA_CLASSFILES_DIR) $^
|
|
|
|
$(DX) --dex --output $@ $(JAVA_CLASSFILES_DIR)
|
|
|
|
|
|
|
|
android/build/include/org_musicpd_Bridge.h: android/build/classes.dex
|
|
|
|
javah -classpath $(ANDROID_SDK_PLATFORM_DIR)/android.jar:$(JAVA_CLASSFILES_DIR) -d $(@D) org.musicpd.Bridge
|
2014-02-18 08:33:06 +01:00
|
|
|
|
2015-01-30 23:39:06 +01:00
|
|
|
BUILT_SOURCES = android/build/include/org_musicpd_Bridge.h
|
2014-02-18 08:33:06 +01:00
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
android/build/lib/armeabi-v7a/libmpd.so: libmpd.so
|
2014-02-18 08:33:06 +01:00
|
|
|
mkdir -p $(@D)
|
|
|
|
rm -f $@
|
2014-03-01 08:52:28 +01:00
|
|
|
$(STRIP) -o $@ $<
|
2014-02-18 08:33:06 +01:00
|
|
|
|
2014-07-14 19:03:45 +02:00
|
|
|
android/build/res/drawable/icon.png: mpd.svg
|
|
|
|
mkdir -p $(@D)
|
|
|
|
rsvg-convert --width=48 --height=48 $< -o $@
|
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
.DELETE_ON_ERROR: android/build/unsigned.apk
|
|
|
|
android/build/unsigned.apk: android/build/classes.dex android/build/resources.apk android/build/lib/armeabi-v7a/libmpd.so
|
|
|
|
cp android/build/resources.apk $@
|
|
|
|
cd $(dir $@) && zip -q -r $(notdir $@) classes.dex lib
|
2014-07-30 10:15:31 +02:00
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
android/build/$(APK_NAME)-debug.apk: android/build/unsigned.apk
|
|
|
|
jarsigner -keystore $(HOME)/.android/debug.keystore -storepass android -signedjar $@ $< androiddebugkey
|
2014-02-18 08:33:06 +01:00
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
android/build/$(APK_NAME)-release-unaligned.apk: android/build/unsigned.apk
|
2014-02-18 08:33:06 +01:00
|
|
|
jarsigner -digestalg SHA1 -sigalg MD5withRSA -storepass:env ANDROID_KEYSTORE_PASS -keystore $(ANDROID_KEYSTORE) -signedjar $@ $< $(ANDROID_KEY_ALIAS)
|
|
|
|
|
2017-07-20 01:05:59 +02:00
|
|
|
android/build/$(APK_NAME).apk: android/build/$(APK_NAME)-release-unaligned.apk
|
2018-01-04 18:55:45 +01:00
|
|
|
$(ZIPALIGN) -f 4 $< $@
|
2014-02-18 08:33:06 +01:00
|
|
|
|
2014-02-21 10:35:20 +01:00
|
|
|
endif
|
|
|
|
|
2012-02-18 12:33:49 +01:00
|
|
|
#
|
|
|
|
# Windows resource file
|
|
|
|
#
|
|
|
|
|
2014-12-09 13:15:40 +01:00
|
|
|
win32/res/mpd.$(OBJEXT): %.$(OBJEXT): %.rc
|
2012-02-18 12:33:49 +01:00
|
|
|
$(WINDRES) -i $< -o $@
|
|
|
|
|
|
|
|
if HAVE_WINDOWS
|
2014-12-09 13:15:40 +01:00
|
|
|
noinst_DATA = win32/res/mpd.rc
|
2012-02-18 12:33:49 +01:00
|
|
|
|
2014-12-09 13:15:40 +01:00
|
|
|
EXTRA_src_mpd_DEPENDENCIES = win32/res/mpd.$(OBJEXT)
|
|
|
|
src_mpd_LDFLAGS = -Wl,win32/res/mpd.$(OBJEXT)
|
2012-02-18 12:33:49 +01:00
|
|
|
endif
|
|
|
|
|
2015-09-17 22:18:15 +02:00
|
|
|
#
|
|
|
|
# Haiku resource file
|
|
|
|
#
|
|
|
|
|
|
|
|
src/haiku/mpd.rsrc: src/haiku/mpd.rdef
|
|
|
|
$(RC) -o $@ $<
|
|
|
|
|
2016-12-26 13:23:07 +01:00
|
|
|
if ENABLE_HAIKU
|
2015-09-17 22:18:15 +02:00
|
|
|
noinst_DATA = src/haiku/mpd.rdef
|
|
|
|
|
|
|
|
EXTRA_src_mpd_DEPENDENCIES = src/haiku/mpd.rsrc
|
|
|
|
|
|
|
|
src/mpd.haiku-rsrc-done: src/mpd src/haiku/mpd.rsrc
|
|
|
|
$(XRES) -o src/mpd src/haiku/mpd.rsrc
|
|
|
|
@touch src/mpd.haiku-rsrc-done
|
|
|
|
|
|
|
|
all-local: src/mpd.haiku-rsrc-done
|
|
|
|
|
|
|
|
clean-local:
|
|
|
|
rm -rf src/haiku/mpd.rsrc src/mpd.haiku-rsrc-done
|
|
|
|
endif
|
|
|
|
|
2014-02-18 21:05:04 +01:00
|
|
|
if ENABLE_DATABASE
|
2009-10-24 18:24:29 +02:00
|
|
|
if ENABLE_INOTIFY
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd_a_SOURCES += \
|
2014-01-24 16:18:50 +01:00
|
|
|
src/db/update/InotifyDomain.cxx src/db/update/InotifyDomain.hxx \
|
|
|
|
src/db/update/InotifySource.cxx src/db/update/InotifySource.hxx \
|
|
|
|
src/db/update/InotifyQueue.cxx src/db/update/InotifyQueue.hxx \
|
|
|
|
src/db/update/InotifyUpdate.cxx src/db/update/InotifyUpdate.hxx
|
2009-09-25 18:32:00 +02:00
|
|
|
endif
|
2014-02-18 21:05:04 +01:00
|
|
|
endif
|
2009-09-25 18:32:00 +02:00
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
if ENABLE_SQLITE
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd_a_SOURCES += \
|
2013-10-20 13:41:04 +02:00
|
|
|
src/command/StickerCommands.cxx src/command/StickerCommands.hxx \
|
2016-10-27 07:50:08 +02:00
|
|
|
src/lib/sqlite/Error.cxx src/lib/sqlite/Error.hxx \
|
2014-12-12 20:39:36 +01:00
|
|
|
src/lib/sqlite/Util.hxx \
|
2014-12-12 13:47:57 +01:00
|
|
|
src/sticker/Match.hxx \
|
2014-01-24 16:15:41 +01:00
|
|
|
src/sticker/StickerDatabase.cxx src/sticker/StickerDatabase.hxx \
|
|
|
|
src/sticker/StickerPrint.cxx src/sticker/StickerPrint.hxx \
|
|
|
|
src/sticker/SongSticker.cxx src/sticker/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 = \
|
2016-12-29 14:28:03 +01:00
|
|
|
src/util/Exception.cxx src/util/Exception.hxx \
|
2015-12-16 11:12:30 +01:00
|
|
|
src/util/RuntimeError.hxx \
|
2013-10-15 22:04:17 +02:00
|
|
|
src/util/Macros.hxx \
|
2016-06-17 17:00:05 +02:00
|
|
|
src/util/BindMethod.hxx \
|
2013-12-26 11:42:34 +01:00
|
|
|
src/util/Cast.hxx \
|
2017-02-11 22:23:33 +01:00
|
|
|
src/util/Chrono.hxx \
|
2013-12-22 21:08:06 +01:00
|
|
|
src/util/Clamp.hxx \
|
2015-10-19 15:57:00 +02:00
|
|
|
src/util/DeleteDisposer.hxx \
|
2014-01-07 23:33:46 +01:00
|
|
|
src/util/Alloc.cxx src/util/Alloc.hxx \
|
2016-04-12 21:30:44 +02:00
|
|
|
src/util/AllocatedArray.hxx \
|
2014-01-07 22:04:19 +01:00
|
|
|
src/util/VarSize.hxx \
|
2016-02-06 22:03:37 +01:00
|
|
|
src/util/ScopeExit.hxx \
|
2013-10-16 23:35:59 +02:00
|
|
|
src/util/Domain.hxx \
|
2013-08-07 18:46:58 +02:00
|
|
|
src/util/ReusableArray.hxx \
|
2013-10-20 23:09:51 +02:00
|
|
|
src/util/ASCII.hxx \
|
2014-10-10 20:42:32 +02:00
|
|
|
src/util/UTF8.cxx src/util/UTF8.hxx \
|
2013-10-31 00:08:14 +01:00
|
|
|
src/util/CharUtil.hxx \
|
2017-09-12 18:22:02 +02:00
|
|
|
src/util/WCharUtil.hxx \
|
2013-10-21 09:48:31 +02:00
|
|
|
src/util/NumberParser.hxx \
|
2016-06-10 22:24:13 +02:00
|
|
|
src/util/MimeType.cxx src/util/MimeType.hxx \
|
2017-01-17 10:58:07 +01:00
|
|
|
src/util/StringBuffer.hxx \
|
2018-01-24 12:52:43 +01:00
|
|
|
src/util/StringFormat.hxx \
|
2015-06-23 12:33:45 +02:00
|
|
|
src/util/StringPointer.hxx \
|
2015-10-16 08:59:47 +02:00
|
|
|
src/util/StringView.cxx src/util/StringView.hxx \
|
2017-09-12 19:20:03 +02:00
|
|
|
src/util/WStringView.hxx \
|
|
|
|
src/util/TStringView.hxx \
|
2017-05-16 11:01:43 +02:00
|
|
|
src/util/ConcatString.hxx \
|
2015-06-25 22:43:04 +02:00
|
|
|
src/util/AllocatedString.cxx src/util/AllocatedString.hxx \
|
2017-07-05 17:11:34 +02:00
|
|
|
src/util/TruncateString.cxx src/util/TruncateString.hxx \
|
2017-07-05 17:20:02 +02:00
|
|
|
src/util/StringStrip.cxx src/util/StringStrip.hxx \
|
2013-04-09 01:08:20 +02:00
|
|
|
src/util/StringUtil.cxx src/util/StringUtil.hxx \
|
2015-11-06 09:09:02 +01:00
|
|
|
src/util/StringCompare.cxx src/util/StringCompare.hxx \
|
|
|
|
src/util/WStringCompare.cxx src/util/WStringCompare.hxx \
|
2015-03-05 07:47:42 +01:00
|
|
|
src/util/StringAPI.hxx \
|
2015-03-05 08:05:31 +01:00
|
|
|
src/util/WStringAPI.hxx \
|
2014-12-03 21:38:06 +01:00
|
|
|
src/util/DivideString.cxx src/util/DivideString.hxx \
|
2014-12-03 21:39:45 +01:00
|
|
|
src/util/SplitString.cxx src/util/SplitString.hxx \
|
2016-03-18 14:03:00 +01:00
|
|
|
src/util/IterableSplitString.hxx \
|
2013-10-19 16:58:45 +02:00
|
|
|
src/util/FormatString.cxx src/util/FormatString.hxx \
|
2013-04-08 23:51:39 +02:00
|
|
|
src/util/Tokenizer.cxx src/util/Tokenizer.hxx \
|
2014-10-01 23:28:18 +02:00
|
|
|
src/util/TextFile.hxx \
|
2017-01-07 22:11:45 +01:00
|
|
|
src/util/TimeParser.cxx src/util/TimeParser.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 \
|
2014-10-01 23:28:18 +02:00
|
|
|
src/util/StaticFifoBuffer.hxx \
|
2014-08-06 17:39:07 +02:00
|
|
|
src/util/ForeignFifoBuffer.hxx \
|
2013-12-05 11:09:04 +01:00
|
|
|
src/util/DynamicFifoBuffer.hxx \
|
2013-11-11 22:34:57 +01:00
|
|
|
src/util/ConstBuffer.hxx \
|
2013-10-15 10:28:52 +02:00
|
|
|
src/util/WritableBuffer.hxx \
|
2014-03-15 17:30:08 +01:00
|
|
|
src/util/CircularBuffer.hxx \
|
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 \
|
2014-01-27 08:53:42 +01:00
|
|
|
src/util/OptionParser.cxx src/util/OptionParser.hxx \
|
2013-11-24 12:19:51 +01:00
|
|
|
src/util/OptionDef.hxx \
|
2013-10-16 21:04:52 +02:00
|
|
|
src/util/ByteReverse.cxx src/util/ByteReverse.hxx \
|
2015-01-10 08:58:31 +01:00
|
|
|
src/util/format.c src/util/format.h \
|
2012-03-21 18:50:18 +01:00
|
|
|
src/util/bit_reverse.c src/util/bit_reverse.h
|
|
|
|
|
2013-10-17 18:57:22 +02:00
|
|
|
# Multi-threading library
|
|
|
|
|
|
|
|
libthread_a_SOURCES = \
|
2018-01-02 12:10:41 +01:00
|
|
|
src/thread/SafeSingleton.hxx \
|
2016-09-04 15:11:56 +02:00
|
|
|
src/thread/Util.cxx src/thread/Util.hxx \
|
2014-01-23 10:07:14 +01:00
|
|
|
src/thread/Name.hxx \
|
2014-10-01 23:28:18 +02:00
|
|
|
src/thread/Slack.hxx \
|
2013-10-17 18:57:22 +02:00
|
|
|
src/thread/Mutex.hxx \
|
|
|
|
src/thread/PosixMutex.hxx \
|
|
|
|
src/thread/CriticalSection.hxx \
|
|
|
|
src/thread/Cond.hxx \
|
|
|
|
src/thread/PosixCond.hxx \
|
|
|
|
src/thread/WindowsCond.hxx \
|
2013-10-17 18:42:14 +02:00
|
|
|
src/thread/Thread.cxx src/thread/Thread.hxx \
|
2013-10-17 18:57:22 +02:00
|
|
|
src/thread/Id.hxx
|
|
|
|
|
2015-02-10 21:46:23 +01:00
|
|
|
# Networking library
|
|
|
|
|
|
|
|
libnet_a_SOURCES = \
|
2017-01-04 10:15:44 +01:00
|
|
|
src/net/Features.hxx \
|
2018-02-24 22:31:40 +01:00
|
|
|
src/net/Init.hxx \
|
2015-07-22 10:03:36 +02:00
|
|
|
src/net/ToString.cxx src/net/ToString.hxx \
|
2015-02-10 21:46:23 +01:00
|
|
|
src/net/Resolver.cxx src/net/Resolver.hxx \
|
2015-02-13 21:16:43 +01:00
|
|
|
src/net/StaticSocketAddress.cxx src/net/StaticSocketAddress.hxx \
|
2015-07-22 10:52:43 +02:00
|
|
|
src/net/AllocatedSocketAddress.cxx src/net/AllocatedSocketAddress.hxx \
|
2017-08-11 08:41:58 +02:00
|
|
|
src/net/IPv4Address.cxx src/net/IPv4Address.hxx \
|
2015-02-10 20:30:10 +01:00
|
|
|
src/net/SocketAddress.cxx src/net/SocketAddress.hxx \
|
2015-02-10 21:46:23 +01:00
|
|
|
src/net/SocketUtil.cxx src/net/SocketUtil.hxx \
|
2017-08-10 12:17:35 +02:00
|
|
|
src/net/SocketDescriptor.cxx src/net/SocketDescriptor.hxx \
|
|
|
|
src/net/UniqueSocketDescriptor.hxx \
|
2015-02-10 21:46:23 +01:00
|
|
|
src/net/SocketError.cxx src/net/SocketError.hxx
|
|
|
|
|
2013-08-07 10:31:31 +02:00
|
|
|
# System library
|
|
|
|
|
|
|
|
libsystem_a_SOURCES = \
|
2013-10-16 23:35:59 +02:00
|
|
|
src/system/ByteOrder.hxx \
|
2015-12-15 22:53:43 +01:00
|
|
|
src/system/Error.hxx \
|
2013-08-07 10:31:31 +02:00
|
|
|
src/system/FatalError.cxx src/system/FatalError.hxx \
|
2015-03-03 17:03:21 +01:00
|
|
|
src/system/FileDescriptor.cxx src/system/FileDescriptor.hxx \
|
2017-08-10 12:01:17 +02:00
|
|
|
src/system/UniqueFileDescriptor.hxx \
|
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-11-24 20:20:57 +01:00
|
|
|
src/system/PeriodClock.hxx \
|
2013-10-15 09:38:12 +02:00
|
|
|
src/system/Clock.cxx src/system/Clock.hxx
|
2013-08-07 10:31:31 +02:00
|
|
|
|
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-11-28 11:37:23 +01:00
|
|
|
src/event/PollGroup.hxx \
|
|
|
|
src/event/PollGroupEPoll.hxx \
|
2013-11-30 09:45:56 +01:00
|
|
|
src/event/PollGroupPoll.hxx src/event/PollGroupPoll.cxx \
|
2013-11-29 09:38:48 +01:00
|
|
|
src/event/PollGroupWinSelect.hxx src/event/PollGroupWinSelect.cxx \
|
|
|
|
src/event/PollResultGeneric.hxx \
|
2013-08-06 21:31:59 +02:00
|
|
|
src/event/SignalMonitor.hxx src/event/SignalMonitor.cxx \
|
2017-08-29 15:53:57 +02:00
|
|
|
src/event/TimerEvent.hxx src/event/TimerEvent.cxx \
|
2013-08-10 10:33:43 +02:00
|
|
|
src/event/IdleMonitor.hxx src/event/IdleMonitor.cxx \
|
2017-11-12 17:34:06 +01:00
|
|
|
src/event/DeferEvent.cxx src/event/DeferEvent.hxx \
|
2016-03-05 18:49:42 +01:00
|
|
|
src/event/MaskMonitor.hxx src/event/MaskMonitor.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-07 22:42:45 +02:00
|
|
|
src/event/Call.hxx src/event/Call.cxx \
|
2017-02-10 21:28:32 +01:00
|
|
|
src/event/Thread.cxx src/event/Thread.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
|
|
|
|
2014-02-23 19:27:08 +01:00
|
|
|
# UTF-8 library
|
|
|
|
|
|
|
|
libicu_a_SOURCES = \
|
2017-09-20 23:11:58 +02:00
|
|
|
src/lib/icu/CaseFold.cxx src/lib/icu/CaseFold.hxx \
|
2017-09-20 23:21:57 +02:00
|
|
|
src/lib/icu/Compare.cxx src/lib/icu/Compare.hxx \
|
2014-02-23 19:27:08 +01:00
|
|
|
src/lib/icu/Collate.cxx src/lib/icu/Collate.hxx \
|
2016-11-02 09:54:13 +01:00
|
|
|
src/lib/icu/Converter.cxx src/lib/icu/Converter.hxx
|
2014-02-23 19:27:08 +01:00
|
|
|
|
2014-06-10 22:38:00 +02:00
|
|
|
if HAVE_ICU
|
|
|
|
libicu_a_SOURCES += \
|
2014-11-30 10:53:05 +01:00
|
|
|
src/lib/icu/Util.cxx src/lib/icu/Util.hxx \
|
2014-06-10 22:38:00 +02:00
|
|
|
src/lib/icu/Init.cxx src/lib/icu/Init.hxx
|
|
|
|
endif
|
|
|
|
|
2015-06-23 12:47:35 +02:00
|
|
|
if HAVE_WINDOWS
|
|
|
|
libicu_a_SOURCES += \
|
|
|
|
src/lib/icu/Win32.cxx src/lib/icu/Win32.hxx
|
|
|
|
endif
|
|
|
|
|
2014-06-17 10:38:50 +02:00
|
|
|
libicu_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
|
|
$(ICU_CFLAGS)
|
|
|
|
|
2014-02-23 19:27:08 +01:00
|
|
|
ICU_LDADD = libicu.a $(ICU_LIBS)
|
2014-11-30 00:59:43 +01:00
|
|
|
|
2011-10-09 16:18:03 +02:00
|
|
|
# PCM library
|
|
|
|
|
|
|
|
libpcm_a_SOURCES = \
|
2017-01-17 11:19:01 +01:00
|
|
|
src/CheckAudioFormat.cxx src/CheckAudioFormat.hxx \
|
|
|
|
src/AudioFormat.cxx src/AudioFormat.hxx \
|
|
|
|
src/AudioParser.cxx src/AudioParser.hxx \
|
2017-01-17 11:02:11 +01:00
|
|
|
src/pcm/SampleFormat.cxx src/pcm/SampleFormat.hxx \
|
2013-12-01 19:24:37 +01:00
|
|
|
src/pcm/Traits.hxx \
|
2015-06-22 14:28:23 +02:00
|
|
|
src/pcm/Interleave.cxx src/pcm/Interleave.hxx \
|
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 \
|
2014-08-31 16:12:26 +02:00
|
|
|
src/pcm/PcmDop.cxx src/pcm/PcmDop.hxx \
|
2013-12-22 23:24:42 +01:00
|
|
|
src/pcm/Volume.cxx src/pcm/Volume.hxx \
|
2016-07-05 17:52:24 +02:00
|
|
|
src/pcm/Silence.cxx src/pcm/Silence.hxx \
|
2013-04-09 01:24:52 +02:00
|
|
|
src/pcm/PcmMix.cxx src/pcm/PcmMix.hxx \
|
|
|
|
src/pcm/PcmChannels.cxx src/pcm/PcmChannels.hxx \
|
2013-10-16 20:54:51 +02:00
|
|
|
src/pcm/PcmPack.cxx src/pcm/PcmPack.hxx \
|
2013-04-09 01:24:52 +02:00
|
|
|
src/pcm/PcmFormat.cxx src/pcm/PcmFormat.hxx \
|
2014-03-14 09:21:56 +01:00
|
|
|
src/pcm/FloatConvert.hxx \
|
|
|
|
src/pcm/ShiftConvert.hxx \
|
2014-03-14 23:45:27 +01:00
|
|
|
src/pcm/Neon.hxx \
|
2013-11-29 21:39:53 +01:00
|
|
|
src/pcm/FormatConverter.cxx src/pcm/FormatConverter.hxx \
|
2013-11-30 13:19:07 +01:00
|
|
|
src/pcm/ChannelsConverter.cxx src/pcm/ChannelsConverter.hxx \
|
2015-10-27 00:22:22 +01:00
|
|
|
src/pcm/Order.cxx src/pcm/Order.hxx \
|
2013-11-11 22:31:46 +01:00
|
|
|
src/pcm/Resampler.hxx \
|
2013-11-30 14:10:31 +01:00
|
|
|
src/pcm/GlueResampler.cxx src/pcm/GlueResampler.hxx \
|
2013-11-11 22:31:46 +01:00
|
|
|
src/pcm/FallbackResampler.cxx src/pcm/FallbackResampler.hxx \
|
|
|
|
src/pcm/ConfiguredResampler.cxx src/pcm/ConfiguredResampler.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) \
|
2013-11-10 19:17:16 +01:00
|
|
|
$(SOXR_CFLAGS) \
|
2014-11-21 22:19:57 +01:00
|
|
|
$(LIBSAMPLERATE_CFLAGS)
|
2011-10-09 16:18:03 +02:00
|
|
|
|
|
|
|
PCM_LIBS = \
|
|
|
|
libpcm.a \
|
2013-11-10 19:17:16 +01:00
|
|
|
$(SOXR_LIBS) \
|
2014-11-21 22:19:57 +01:00
|
|
|
$(LIBSAMPLERATE_LIBS)
|
2009-03-28 21:38:44 +01:00
|
|
|
|
2014-09-26 10:52:46 +02:00
|
|
|
if ENABLE_DSD
|
|
|
|
libpcm_a_SOURCES += \
|
2017-01-11 22:33:37 +01:00
|
|
|
src/pcm/Dsd16.cxx src/pcm/Dsd16.hxx \
|
2017-01-11 15:18:57 +01:00
|
|
|
src/pcm/Dsd32.cxx src/pcm/Dsd32.hxx \
|
2014-09-26 10:52:46 +02:00
|
|
|
src/pcm/PcmDsd.cxx src/pcm/PcmDsd.hxx \
|
|
|
|
src/pcm/dsd2pcm/dsd2pcm.c src/pcm/dsd2pcm/dsd2pcm.h
|
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_LIBSAMPLERATE
|
2013-11-11 22:31:46 +01:00
|
|
|
libpcm_a_SOURCES += \
|
|
|
|
src/pcm/LibsamplerateResampler.cxx src/pcm/LibsamplerateResampler.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_SOXR
|
2013-11-10 19:17:16 +01:00
|
|
|
libpcm_a_SOURCES += \
|
|
|
|
src/pcm/SoxrResampler.cxx src/pcm/SoxrResampler.hxx
|
|
|
|
endif
|
|
|
|
|
2016-05-03 12:54:47 +02:00
|
|
|
# Xiph codec support library
|
|
|
|
|
|
|
|
if HAVE_XIPH
|
|
|
|
|
|
|
|
noinst_LIBRARIES += libxiph.a
|
|
|
|
|
|
|
|
libxiph_a_SOURCES = \
|
2016-05-09 12:22:22 +02:00
|
|
|
src/lib/xiph/VorbisComment.hxx \
|
2016-05-02 23:11:07 +02:00
|
|
|
src/lib/xiph/VorbisComments.cxx src/lib/xiph/VorbisComments.hxx \
|
2016-05-03 12:54:47 +02:00
|
|
|
src/lib/xiph/XiphTags.cxx src/lib/xiph/XiphTags.hxx
|
2016-05-03 23:31:17 +02:00
|
|
|
libxiph_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
|
|
$(OGG_CFLAGS)
|
2016-05-03 12:54:47 +02:00
|
|
|
|
2016-05-02 23:11:07 +02:00
|
|
|
if HAVE_OGG
|
|
|
|
libxiph_a_SOURCES += \
|
2016-05-14 10:33:54 +02:00
|
|
|
src/lib/xiph/OggVisitor.cxx src/lib/xiph/OggVisitor.hxx \
|
2016-05-02 23:11:07 +02:00
|
|
|
src/lib/xiph/OggSerial.cxx src/lib/xiph/OggSerial.hxx \
|
2016-05-09 16:29:04 +02:00
|
|
|
src/lib/xiph/OggSyncState.cxx src/lib/xiph/OggSyncState.hxx \
|
2016-05-14 10:32:13 +02:00
|
|
|
src/lib/xiph/OggFind.cxx src/lib/xiph/OggFind.hxx \
|
2016-05-09 14:22:12 +02:00
|
|
|
src/lib/xiph/OggPage.hxx \
|
2016-05-14 10:39:53 +02:00
|
|
|
src/lib/xiph/OggPacket.cxx src/lib/xiph/OggPacket.hxx \
|
2016-05-09 14:55:58 +02:00
|
|
|
src/lib/xiph/OggStreamState.hxx
|
2016-05-02 23:11:07 +02:00
|
|
|
endif
|
|
|
|
|
2017-01-11 21:17:02 +01:00
|
|
|
XIPH_LIBS = libxiph.a \
|
|
|
|
$(OGG_LIBS)
|
2016-05-03 12:54:47 +02:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2013-01-21 20:31:29 +01:00
|
|
|
# File system library
|
|
|
|
|
2014-08-06 16:34:24 +02:00
|
|
|
FS_LIBS = libfs.a
|
|
|
|
|
2013-01-21 20:31:29 +01:00
|
|
|
libfs_a_SOURCES = \
|
2014-08-07 18:10:23 +02:00
|
|
|
src/fs/io/Reader.hxx \
|
2014-08-11 20:57:14 +02:00
|
|
|
src/fs/io/PeekReader.cxx src/fs/io/PeekReader.hxx \
|
2014-08-07 18:10:23 +02:00
|
|
|
src/fs/io/FileReader.cxx src/fs/io/FileReader.hxx \
|
2014-08-07 18:54:06 +02:00
|
|
|
src/fs/io/BufferedReader.cxx src/fs/io/BufferedReader.hxx \
|
2014-08-07 18:35:57 +02:00
|
|
|
src/fs/io/TextFile.cxx src/fs/io/TextFile.hxx \
|
|
|
|
src/fs/io/OutputStream.hxx \
|
2014-10-01 23:28:18 +02:00
|
|
|
src/fs/io/StdioOutputStream.hxx \
|
2014-08-07 18:35:57 +02:00
|
|
|
src/fs/io/FileOutputStream.cxx src/fs/io/FileOutputStream.hxx \
|
|
|
|
src/fs/io/BufferedOutputStream.cxx src/fs/io/BufferedOutputStream.hxx \
|
2013-10-17 22:20:53 +02:00
|
|
|
src/fs/Domain.cxx src/fs/Domain.hxx \
|
2013-10-17 22:00:01 +02:00
|
|
|
src/fs/Limits.hxx \
|
2013-10-21 10:26:53 +02:00
|
|
|
src/fs/Traits.cxx src/fs/Traits.hxx \
|
2013-10-17 22:13:54 +02:00
|
|
|
src/fs/Config.cxx src/fs/Config.hxx \
|
|
|
|
src/fs/Charset.cxx src/fs/Charset.hxx \
|
2014-12-02 06:44:57 +01:00
|
|
|
src/fs/Path.cxx src/fs/Path2.cxx src/fs/Path.hxx \
|
2013-10-17 21:59:35 +02:00
|
|
|
src/fs/AllocatedPath.cxx src/fs/AllocatedPath.hxx \
|
2015-03-05 09:13:51 +01:00
|
|
|
src/fs/NarrowPath.hxx \
|
2013-01-21 20:31:29 +01:00
|
|
|
src/fs/FileSystem.cxx src/fs/FileSystem.hxx \
|
2015-02-28 20:42:50 +01:00
|
|
|
src/fs/FileInfo.hxx \
|
2015-06-22 21:01:46 +02:00
|
|
|
src/fs/Glob.hxx \
|
2013-12-06 12:07:32 +01:00
|
|
|
src/fs/StandardDirectory.cxx src/fs/StandardDirectory.hxx \
|
2014-02-07 23:25:47 +01:00
|
|
|
src/fs/CheckFile.cxx src/fs/CheckFile.hxx \
|
2015-12-29 12:41:45 +01:00
|
|
|
src/fs/DirectoryReader.cxx src/fs/DirectoryReader.hxx
|
2014-07-30 22:26:24 +02:00
|
|
|
libfs_a_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS)
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_ZLIB
|
2014-07-30 22:26:24 +02:00
|
|
|
libfs_a_SOURCES += \
|
2015-12-16 10:14:56 +01:00
|
|
|
src/lib/zlib/Error.cxx src/lib/zlib/Error.hxx \
|
2014-08-07 17:14:58 +02:00
|
|
|
src/fs/io/GunzipReader.cxx src/fs/io/GunzipReader.hxx \
|
2014-08-11 20:42:51 +02:00
|
|
|
src/fs/io/AutoGunzipReader.cxx src/fs/io/AutoGunzipReader.hxx \
|
2014-08-07 18:35:57 +02:00
|
|
|
src/fs/io/GzipOutputStream.cxx src/fs/io/GzipOutputStream.hxx
|
2014-07-30 22:26:24 +02:00
|
|
|
FS_LIBS += $(ZLIB_LIBS)
|
|
|
|
endif
|
2013-01-21 20:31:29 +01:00
|
|
|
|
2015-06-22 21:18:40 +02:00
|
|
|
if HAVE_WINDOWS
|
|
|
|
# for PathMatchSpec()
|
|
|
|
FS_LIBS += -lshlwapi
|
|
|
|
endif
|
|
|
|
|
2014-01-29 18:14:57 +01:00
|
|
|
# Storage library
|
|
|
|
|
2014-02-06 22:11:59 +01:00
|
|
|
SMBCLIENT_SOURCES = \
|
2014-02-06 22:11:03 +01:00
|
|
|
src/lib/smbclient/Domain.cxx src/lib/smbclient/Domain.hxx \
|
2014-02-06 22:19:59 +01:00
|
|
|
src/lib/smbclient/Mutex.cxx src/lib/smbclient/Mutex.hxx \
|
2014-02-06 22:11:59 +01:00
|
|
|
src/lib/smbclient/Init.cxx src/lib/smbclient/Init.hxx
|
|
|
|
|
2014-04-30 21:49:03 +02:00
|
|
|
NFS_SOURCES = \
|
2014-03-15 15:29:10 +01:00
|
|
|
src/lib/nfs/Callback.hxx \
|
|
|
|
src/lib/nfs/Cancellable.hxx \
|
2014-10-01 23:28:18 +02:00
|
|
|
src/lib/nfs/Lease.hxx \
|
2014-03-15 15:29:10 +01:00
|
|
|
src/lib/nfs/Connection.cxx src/lib/nfs/Connection.hxx \
|
|
|
|
src/lib/nfs/Manager.cxx src/lib/nfs/Manager.hxx \
|
|
|
|
src/lib/nfs/Glue.cxx src/lib/nfs/Glue.hxx \
|
2014-10-05 07:41:50 +02:00
|
|
|
src/lib/nfs/Base.cxx src/lib/nfs/Base.hxx \
|
2014-03-15 15:29:10 +01:00
|
|
|
src/lib/nfs/FileReader.cxx src/lib/nfs/FileReader.hxx \
|
2016-09-16 16:55:57 +02:00
|
|
|
src/lib/nfs/Blocking.cxx src/lib/nfs/Blocking.hxx
|
2014-04-30 21:49:03 +02:00
|
|
|
|
2014-01-29 18:14:57 +01:00
|
|
|
if ENABLE_DATABASE
|
|
|
|
|
|
|
|
noinst_LIBRARIES += libstorage.a
|
|
|
|
|
|
|
|
libstorage_a_SOURCES = \
|
2014-02-05 19:23:02 +01:00
|
|
|
src/storage/StoragePlugin.hxx \
|
|
|
|
src/storage/Registry.cxx src/storage/Registry.hxx \
|
2014-02-05 17:03:43 +01:00
|
|
|
src/storage/StorageInterface.cxx src/storage/StorageInterface.hxx \
|
2014-02-08 15:37:02 +01:00
|
|
|
src/storage/CompositeStorage.cxx src/storage/CompositeStorage.hxx \
|
2014-10-06 22:13:17 +02:00
|
|
|
src/storage/MemoryDirectoryReader.cxx src/storage/MemoryDirectoryReader.hxx \
|
2014-02-09 07:21:25 +01:00
|
|
|
src/storage/Configured.cxx src/storage/Configured.hxx \
|
2014-02-05 19:24:59 +01:00
|
|
|
src/storage/plugins/LocalStorage.cxx src/storage/plugins/LocalStorage.hxx \
|
2017-11-25 11:20:32 +01:00
|
|
|
src/storage/StorageState.cxx src/storage/StorageState.hxx \
|
2014-01-29 18:14:57 +01:00
|
|
|
src/storage/FileInfo.hxx
|
|
|
|
|
2014-02-05 19:23:38 +01:00
|
|
|
libstorage_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2014-02-08 14:03:25 +01:00
|
|
|
$(NFS_CFLAGS) \
|
2014-02-05 19:23:38 +01:00
|
|
|
$(SMBCLIENT_CFLAGS)
|
|
|
|
|
2014-10-07 06:21:30 +02:00
|
|
|
STORAGE_LIBS = \
|
2014-10-07 06:07:00 +02:00
|
|
|
libstorage.a \
|
2017-01-03 07:25:14 +01:00
|
|
|
$(CURL_LIBS) \
|
|
|
|
$(EXPAT_LIBS) \
|
2014-10-07 06:21:30 +02:00
|
|
|
$(NFS_LIBS) \
|
2014-10-07 06:07:00 +02:00
|
|
|
$(SMBCLIENT_LIBS)
|
2014-01-29 18:14:57 +01:00
|
|
|
|
2014-02-05 19:23:38 +01:00
|
|
|
if ENABLE_SMBCLIENT
|
|
|
|
libstorage_a_SOURCES += \
|
2014-02-06 22:11:59 +01:00
|
|
|
$(SMBCLIENT_SOURCES) \
|
2014-10-01 23:28:18 +02:00
|
|
|
src/storage/plugins/SmbclientStorage.cxx src/storage/plugins/SmbclientStorage.hxx
|
2014-02-05 19:23:38 +01:00
|
|
|
endif
|
|
|
|
|
2014-02-08 14:03:25 +01:00
|
|
|
if ENABLE_NFS
|
|
|
|
libstorage_a_SOURCES += \
|
2014-04-30 21:49:03 +02:00
|
|
|
$(NFS_SOURCES) \
|
2014-10-01 23:28:18 +02:00
|
|
|
src/storage/plugins/NfsStorage.cxx src/storage/plugins/NfsStorage.hxx
|
2014-02-08 14:03:25 +01:00
|
|
|
endif
|
|
|
|
|
2017-01-03 07:25:14 +01:00
|
|
|
if ENABLE_WEBDAV
|
|
|
|
libstorage_a_SOURCES += \
|
|
|
|
src/lib/expat/ExpatParser.cxx \
|
|
|
|
src/storage/plugins/CurlStorage.cxx src/storage/plugins/CurlStorage.hxx
|
|
|
|
endif
|
|
|
|
|
2014-01-29 18:14:57 +01:00
|
|
|
endif
|
|
|
|
|
2014-01-18 16:36:42 +01:00
|
|
|
# neighbor plugins
|
|
|
|
|
|
|
|
if ENABLE_NEIGHBOR_PLUGINS
|
|
|
|
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd_a_SOURCES += \
|
2014-01-18 16:36:42 +01:00
|
|
|
src/command/NeighborCommands.cxx \
|
|
|
|
src/command/NeighborCommands.hxx
|
|
|
|
|
2014-01-28 11:26:59 +01:00
|
|
|
noinst_LIBRARIES += libneighbor.a
|
|
|
|
|
2014-01-18 16:36:42 +01:00
|
|
|
libneighbor_a_SOURCES = \
|
|
|
|
src/neighbor/Registry.cxx src/neighbor/Registry.hxx \
|
|
|
|
src/neighbor/Glue.cxx src/neighbor/Glue.hxx \
|
|
|
|
src/neighbor/Info.hxx \
|
|
|
|
src/neighbor/Listener.hxx \
|
|
|
|
src/neighbor/Explorer.hxx \
|
|
|
|
src/neighbor/NeighborPlugin.hxx
|
|
|
|
|
|
|
|
libneighbor_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2017-10-13 18:14:06 +02:00
|
|
|
$(UPNP_CFLAGS) \
|
2014-01-18 16:36:42 +01:00
|
|
|
$(SMBCLIENT_CFLAGS)
|
|
|
|
|
|
|
|
if ENABLE_SMBCLIENT
|
|
|
|
libneighbor_a_SOURCES += \
|
2014-02-06 22:11:59 +01:00
|
|
|
$(SMBCLIENT_SOURCES) \
|
2014-01-18 16:36:42 +01:00
|
|
|
src/neighbor/plugins/SmbclientNeighborPlugin.cxx src/neighbor/plugins/SmbclientNeighborPlugin.hxx
|
|
|
|
endif
|
|
|
|
|
|
|
|
NEIGHBOR_LIBS = \
|
|
|
|
$(SMBCLIENT_LIBS) \
|
|
|
|
libneighbor.a
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_UPNP
|
2014-01-26 11:19:17 +01:00
|
|
|
libneighbor_a_SOURCES += \
|
|
|
|
$(UPNP_SOURCES) \
|
|
|
|
src/neighbor/plugins/UpnpNeighborPlugin.cxx src/neighbor/plugins/UpnpNeighborPlugin.hxx
|
|
|
|
NEIGHBOR_LIBS += \
|
|
|
|
$(EXPAT_LIBS) \
|
|
|
|
$(UPNP_LIBS)
|
|
|
|
endif
|
|
|
|
|
2014-01-18 16:36:42 +01:00
|
|
|
endif
|
|
|
|
|
2012-08-02 19:23:11 +02:00
|
|
|
# database plugins
|
|
|
|
|
2014-01-30 20:29:48 +01:00
|
|
|
if ENABLE_DATABASE
|
|
|
|
|
|
|
|
noinst_LIBRARIES += libdb_plugins.a
|
|
|
|
|
2012-08-02 19:23:11 +02:00
|
|
|
libdb_plugins_a_SOURCES = \
|
2014-02-19 09:52:58 +01:00
|
|
|
src/PlaylistDatabase.cxx src/PlaylistDatabase.hxx \
|
2014-01-24 16:18:50 +01:00
|
|
|
src/db/Registry.cxx src/db/Registry.hxx \
|
|
|
|
src/db/Helpers.cxx src/db/Helpers.hxx \
|
2014-04-25 18:39:21 +02:00
|
|
|
src/db/UniqueTags.cxx src/db/UniqueTags.hxx \
|
2014-02-26 09:17:41 +01:00
|
|
|
src/db/plugins/simple/DatabaseSave.cxx \
|
|
|
|
src/db/plugins/simple/DatabaseSave.hxx \
|
|
|
|
src/db/plugins/simple/DirectorySave.cxx \
|
|
|
|
src/db/plugins/simple/DirectorySave.hxx \
|
|
|
|
src/db/plugins/simple/Directory.cxx \
|
|
|
|
src/db/plugins/simple/Directory.hxx \
|
|
|
|
src/db/plugins/simple/Song.cxx \
|
|
|
|
src/db/plugins/simple/Song.hxx \
|
|
|
|
src/db/plugins/simple/SongSort.cxx \
|
|
|
|
src/db/plugins/simple/SongSort.hxx \
|
2014-02-26 08:39:44 +01:00
|
|
|
src/db/plugins/simple/Mount.cxx \
|
|
|
|
src/db/plugins/simple/Mount.hxx \
|
|
|
|
src/db/plugins/simple/PrefixedLightSong.hxx \
|
2014-02-26 09:17:41 +01:00
|
|
|
src/db/plugins/simple/SimpleDatabasePlugin.cxx \
|
|
|
|
src/db/plugins/simple/SimpleDatabasePlugin.hxx
|
2017-10-13 18:14:06 +02:00
|
|
|
libdb_plugins_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
|
|
$(UPNP_CFLAGS)
|
2012-08-02 19:23:11 +02:00
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_LIBMPDCLIENT
|
2011-09-05 22:53:46 +02:00
|
|
|
libdb_plugins_a_SOURCES += \
|
2014-01-24 16:18:50 +01:00
|
|
|
src/db/plugins/ProxyDatabasePlugin.cxx src/db/plugins/ProxyDatabasePlugin.hxx
|
2011-09-05 22:53:46 +02:00
|
|
|
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
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_UPNP
|
2013-11-01 19:26:01 +01:00
|
|
|
libdb_plugins_a_SOURCES += \
|
2014-01-26 11:51:56 +01:00
|
|
|
$(UPNP_SOURCES) \
|
2014-02-19 23:46:00 +01:00
|
|
|
src/db/plugins/upnp/UpnpDatabasePlugin.cxx src/db/plugins/upnp/UpnpDatabasePlugin.hxx \
|
2014-01-24 16:18:50 +01:00
|
|
|
src/db/plugins/upnp/Tags.cxx src/db/plugins/upnp/Tags.hxx \
|
2014-01-26 11:51:56 +01:00
|
|
|
src/db/plugins/upnp/ContentDirectoryService.cxx \
|
2014-01-24 16:18:50 +01:00
|
|
|
src/db/plugins/upnp/Directory.cxx src/db/plugins/upnp/Directory.hxx \
|
|
|
|
src/db/plugins/upnp/Object.cxx src/db/plugins/upnp/Object.hxx
|
2013-11-01 19:26:01 +01:00
|
|
|
DB_LIBS += \
|
|
|
|
$(EXPAT_LIBS) \
|
|
|
|
$(UPNP_LIBS)
|
|
|
|
endif
|
|
|
|
|
2014-01-30 20:29:48 +01:00
|
|
|
endif
|
|
|
|
|
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
|
|
|
|
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd_a_SOURCES += \
|
2015-03-01 00:48:44 +01:00
|
|
|
src/TagArchive.cxx src/TagArchive.hxx \
|
2014-01-29 20:16:43 +01:00
|
|
|
src/db/update/Archive.cxx
|
2012-06-13 21:28:26 +02:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libarchive_a_SOURCES = \
|
2014-01-24 00:09:37 +01:00
|
|
|
src/archive/ArchiveDomain.cxx src/archive/ArchiveDomain.hxx \
|
|
|
|
src/archive/ArchiveLookup.cxx src/archive/ArchiveLookup.hxx \
|
|
|
|
src/archive/ArchiveList.cxx src/archive/ArchiveList.hxx \
|
|
|
|
src/archive/ArchivePlugin.cxx src/archive/ArchivePlugin.hxx \
|
|
|
|
src/archive/ArchiveVisitor.hxx \
|
|
|
|
src/archive/ArchiveFile.hxx \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/plugins/ArchiveInputPlugin.cxx src/input/plugins/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)
|
|
|
|
|
2014-12-09 21:07:05 +01:00
|
|
|
if ENABLE_BZ2
|
2013-01-24 19:18:58 +01:00
|
|
|
libarchive_a_SOURCES += \
|
2014-01-24 00:09:37 +01:00
|
|
|
src/archive/plugins/Bzip2ArchivePlugin.cxx \
|
|
|
|
src/archive/plugins/Bzip2ArchivePlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_ZZIP
|
2013-01-24 19:18:58 +01:00
|
|
|
libarchive_a_SOURCES += \
|
2014-01-24 00:09:37 +01:00
|
|
|
src/archive/plugins/ZzipArchivePlugin.cxx \
|
|
|
|
src/archive/plugins/ZzipArchivePlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-12-22 10:18:06 +01:00
|
|
|
if ENABLE_ISO9660
|
2013-01-24 19:18:58 +01:00
|
|
|
libarchive_a_SOURCES += \
|
2014-01-24 00:09:37 +01:00
|
|
|
src/archive/plugins/Iso9660ArchivePlugin.cxx \
|
|
|
|
src/archive/plugins/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
|
|
|
|
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic_a_SOURCES = \
|
2016-11-25 11:13:08 +01:00
|
|
|
src/ReplayGainConfig.hxx \
|
2016-11-24 17:25:32 +01:00
|
|
|
src/ReplayGainMode.cxx src/ReplayGainMode.hxx \
|
2018-02-05 17:13:00 +01:00
|
|
|
src/SingleMode.cxx src/SingleMode.hxx \
|
2016-10-28 22:31:26 +02:00
|
|
|
src/ReplayGainInfo.cxx src/ReplayGainInfo.hxx
|
|
|
|
|
2013-01-30 19:00:31 +01:00
|
|
|
# configuration library
|
|
|
|
|
|
|
|
libconf_a_SOURCES = \
|
2014-01-24 00:20:01 +01:00
|
|
|
src/config/ConfigDefaults.hxx \
|
|
|
|
src/config/ConfigPath.cxx src/config/ConfigPath.hxx \
|
2015-01-21 21:50:02 +01:00
|
|
|
src/config/Data.cxx src/config/Data.hxx \
|
2015-01-21 20:45:34 +01:00
|
|
|
src/config/Block.cxx src/config/Block.hxx \
|
2015-01-21 21:14:25 +01:00
|
|
|
src/config/Param.cxx src/config/Param.hxx \
|
2014-01-24 00:20:01 +01:00
|
|
|
src/config/ConfigParser.cxx src/config/ConfigParser.hxx \
|
|
|
|
src/config/ConfigGlobal.cxx src/config/ConfigGlobal.hxx \
|
|
|
|
src/config/ConfigFile.cxx src/config/ConfigFile.hxx \
|
|
|
|
src/config/ConfigTemplates.cxx src/config/ConfigTemplates.hxx \
|
|
|
|
src/config/ConfigError.cxx src/config/ConfigError.hxx \
|
|
|
|
src/config/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 =\
|
2017-02-08 08:26:58 +01:00
|
|
|
src/tag/Type.h \
|
2013-09-05 18:22:02 +02:00
|
|
|
src/tag/Tag.cxx src/tag/Tag.hxx \
|
2017-02-08 08:26:58 +01:00
|
|
|
src/tag/Builder.cxx src/tag/Builder.hxx \
|
|
|
|
src/tag/Item.hxx \
|
|
|
|
src/tag/Handler.cxx src/tag/Handler.hxx \
|
2015-08-24 11:40:25 +02:00
|
|
|
src/tag/Mask.hxx \
|
2015-08-24 11:19:19 +02:00
|
|
|
src/tag/Settings.cxx src/tag/Settings.hxx \
|
2017-02-08 08:26:58 +01:00
|
|
|
src/tag/Config.cxx src/tag/Config.hxx \
|
2017-02-08 08:57:22 +01:00
|
|
|
src/tag/ParseName.cxx src/tag/ParseName.hxx \
|
2017-02-08 08:26:58 +01:00
|
|
|
src/tag/Names.c \
|
|
|
|
src/tag/FixString.cxx src/tag/FixString.hxx \
|
|
|
|
src/tag/Pool.cxx src/tag/Pool.hxx \
|
|
|
|
src/tag/Table.cxx src/tag/Table.hxx \
|
2014-04-24 18:29:11 +02:00
|
|
|
src/tag/Set.cxx src/tag/Set.hxx \
|
2015-01-10 08:58:31 +01:00
|
|
|
src/tag/Format.cxx src/tag/Format.hxx \
|
2014-09-24 20:56:25 +02:00
|
|
|
src/tag/VorbisComment.cxx src/tag/VorbisComment.hxx \
|
2014-09-24 20:10:59 +02:00
|
|
|
src/tag/ReplayGain.cxx src/tag/ReplayGain.hxx \
|
2014-09-24 20:31:54 +02:00
|
|
|
src/tag/MixRamp.cxx src/tag/MixRamp.hxx \
|
2016-02-22 18:00:49 +01:00
|
|
|
src/tag/Generic.cxx src/tag/Generic.hxx \
|
2017-07-19 22:36:04 +02:00
|
|
|
src/tag/Id3MusicBrainz.cxx src/tag/Id3MusicBrainz.hxx \
|
2013-09-04 23:46:20 +02:00
|
|
|
src/tag/ApeLoader.cxx src/tag/ApeLoader.hxx \
|
|
|
|
src/tag/ApeReplayGain.cxx src/tag/ApeReplayGain.hxx \
|
|
|
|
src/tag/ApeTag.cxx src/tag/ApeTag.hxx
|
2009-04-25 13:21:28 +02:00
|
|
|
|
2014-11-22 23:18:07 +01:00
|
|
|
if ENABLE_ID3TAG
|
2011-10-09 14:29:36 +02:00
|
|
|
libtag_a_SOURCES += \
|
2016-02-19 19:06:06 +01:00
|
|
|
src/tag/Id3Load.cxx src/tag/Id3Load.hxx \
|
2016-02-19 19:16:40 +01:00
|
|
|
src/tag/Id3Unique.hxx \
|
2017-02-08 08:26:58 +01:00
|
|
|
src/tag/Id3Scan.cxx src/tag/Id3Scan.hxx \
|
|
|
|
src/tag/Rva2.cxx src/tag/Rva2.hxx \
|
2013-09-28 14:14:13 +02:00
|
|
|
src/tag/Riff.cxx src/tag/Riff.hxx \
|
|
|
|
src/tag/Aiff.cxx src/tag/Aiff.hxx
|
2009-04-25 13:21:28 +02:00
|
|
|
endif
|
|
|
|
|
2014-08-18 10:12:37 +02:00
|
|
|
# ffmpeg
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_FFMPEG
|
2014-08-18 10:12:37 +02:00
|
|
|
noinst_LIBRARIES += libffmpeg.a
|
|
|
|
libffmpeg_a_SOURCES = \
|
2014-12-21 20:51:41 +01:00
|
|
|
src/lib/ffmpeg/Init.cxx src/lib/ffmpeg/Init.hxx \
|
2014-12-19 09:41:21 +01:00
|
|
|
src/lib/ffmpeg/Time.hxx \
|
2014-12-18 21:28:50 +01:00
|
|
|
src/lib/ffmpeg/Buffer.hxx \
|
2014-12-18 22:07:38 +01:00
|
|
|
src/lib/ffmpeg/LogError.cxx src/lib/ffmpeg/LogError.hxx \
|
2014-12-20 18:46:29 +01:00
|
|
|
src/lib/ffmpeg/LogCallback.cxx src/lib/ffmpeg/LogCallback.hxx \
|
2014-08-18 20:20:51 +02:00
|
|
|
src/lib/ffmpeg/Error.cxx src/lib/ffmpeg/Error.hxx \
|
2014-08-18 10:12:37 +02:00
|
|
|
src/lib/ffmpeg/Domain.cxx src/lib/ffmpeg/Domain.hxx
|
2014-10-04 14:23:11 +02:00
|
|
|
libffmpeg_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
|
|
$(FFMPEG_CFLAGS)
|
2014-08-18 10:12:37 +02:00
|
|
|
FFMPEG_LIBS2 = libffmpeg.a $(FFMPEG_LIBS)
|
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
# decoder plugins
|
|
|
|
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES = \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/PcmDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/PcmDecoderPlugin.hxx \
|
2016-11-21 22:14:09 +01:00
|
|
|
src/decoder/DecoderAPI.cxx src/decoder/DecoderAPI.hxx \
|
2016-05-02 23:44:26 +02:00
|
|
|
src/decoder/Reader.cxx src/decoder/Reader.hxx \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/DecoderBuffer.cxx src/decoder/DecoderBuffer.hxx \
|
|
|
|
src/decoder/DecoderPlugin.cxx \
|
|
|
|
src/decoder/DecoderList.cxx src/decoder/DecoderList.hxx
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_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 = \
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder.a \
|
2016-05-03 12:54:47 +02:00
|
|
|
$(XIPH_LIBS) \
|
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) \
|
2014-08-18 10:12:37 +02:00
|
|
|
$(FFMPEG_LIBS2) \
|
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
|
|
|
|
2014-09-26 09:00:58 +02:00
|
|
|
if ENABLE_DSD
|
2014-09-26 11:06:11 +02:00
|
|
|
libdecoder_a_SOURCES += \
|
2018-02-12 23:17:19 +01:00
|
|
|
src/decoder/plugins/HybridDsdDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/HybridDsdDecoderPlugin.hxx \
|
2014-09-26 11:06:11 +02:00
|
|
|
src/decoder/plugins/DsdiffDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/DsdiffDecoderPlugin.hxx \
|
|
|
|
src/decoder/plugins/DsfDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/DsfDecoderPlugin.hxx \
|
|
|
|
src/decoder/plugins/DsdLib.cxx \
|
|
|
|
src/decoder/plugins/DsdLib.hxx
|
2014-09-26 09:00:58 +02:00
|
|
|
endif
|
|
|
|
|
2014-11-22 23:18:07 +01:00
|
|
|
if ENABLE_MAD
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/MadDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/MadDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_MPG123
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/Mpg123DecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/Mpg123DecoderPlugin.hxx
|
2009-08-26 20:08:13 +02:00
|
|
|
endif
|
|
|
|
|
2014-12-09 21:07:05 +01:00
|
|
|
if ENABLE_MPCDEC
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/MpcdecDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/MpcdecDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_OPUS
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/OpusDomain.cxx src/decoder/plugins/OpusDomain.hxx \
|
|
|
|
src/decoder/plugins/OpusReader.hxx \
|
|
|
|
src/decoder/plugins/OpusHead.hxx \
|
|
|
|
src/decoder/plugins/OpusHead.cxx \
|
|
|
|
src/decoder/plugins/OpusTags.cxx \
|
|
|
|
src/decoder/plugins/OpusTags.hxx \
|
|
|
|
src/decoder/plugins/OpusDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/OpusDecoderPlugin.h
|
2012-09-04 09:26:18 +02:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_WAVPACK
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/WavpackDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/WavpackDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_ADPLUG
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/AdPlugDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/AdPlugDecoderPlugin.h
|
2012-09-25 22:03:44 +02:00
|
|
|
endif
|
|
|
|
|
2014-12-09 21:36:52 +01:00
|
|
|
if ENABLE_FAAD
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/FaadDecoderPlugin.cxx src/decoder/plugins/FaadDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2016-07-12 18:10:40 +02:00
|
|
|
if HAVE_OGG
|
|
|
|
libdecoder_a_SOURCES += \
|
|
|
|
src/decoder/plugins/OggDecoder.cxx src/decoder/plugins/OggDecoder.hxx
|
|
|
|
endif
|
|
|
|
|
2012-09-05 22:56:17 +02:00
|
|
|
if HAVE_XIPH
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/OggCodec.cxx src/decoder/plugins/OggCodec.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-04-01 22:45:17 +02:00
|
|
|
if ENABLE_VORBIS_DECODER
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/VorbisDomain.cxx src/decoder/plugins/VorbisDomain.hxx \
|
|
|
|
src/decoder/plugins/VorbisDecoderPlugin.cxx src/decoder/plugins/VorbisDecoderPlugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_FLAC
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/FlacInput.cxx src/decoder/plugins/FlacInput.hxx \
|
|
|
|
src/decoder/plugins/FlacIOHandle.cxx src/decoder/plugins/FlacIOHandle.hxx \
|
|
|
|
src/decoder/plugins/FlacMetadata.cxx src/decoder/plugins/FlacMetadata.hxx \
|
|
|
|
src/decoder/plugins/FlacPcm.cxx src/decoder/plugins/FlacPcm.hxx \
|
|
|
|
src/decoder/plugins/FlacDomain.cxx src/decoder/plugins/FlacDomain.hxx \
|
|
|
|
src/decoder/plugins/FlacCommon.cxx src/decoder/plugins/FlacCommon.hxx \
|
2016-07-10 21:21:35 +02:00
|
|
|
src/decoder/plugins/FlacStreamDecoder.hxx \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/FlacDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/FlacDecoderPlugin.h
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_AUDIOFILE
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/AudiofileDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/AudiofileDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-04-01 22:48:06 +02:00
|
|
|
if ENABLE_MIKMOD_DECODER
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/MikmodDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/MikmodDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_MODPLUG
|
2013-07-28 12:56:35 +02:00
|
|
|
libmodplug_decoder_plugin_a_SOURCES = \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/ModplugDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/ModplugDecoderPlugin.hxx
|
2013-07-28 12:56:35 +02:00
|
|
|
libmodplug_decoder_plugin_a_CXXFLAGS = $(AM_CXXFLAGS) $(MODPLUG_CFLAGS)
|
2014-02-21 10:22:14 +01:00
|
|
|
libmodplug_decoder_plugin_a_CPPFLAGS = $(AM_CPPFLAGS)
|
2011-01-09 18:21:27 +01:00
|
|
|
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
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/SidplayDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/SidplayDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_FLUIDSYNTH
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/FluidsynthDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/FluidsynthDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if ENABLE_WILDMIDI
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/WildmidiDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/WildmidiDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_FFMPEG
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-12-19 10:35:10 +01:00
|
|
|
src/decoder/plugins/FfmpegIo.cxx \
|
|
|
|
src/decoder/plugins/FfmpegIo.hxx \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/FfmpegMetaData.cxx \
|
|
|
|
src/decoder/plugins/FfmpegMetaData.hxx \
|
|
|
|
src/decoder/plugins/FfmpegDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/FfmpegDecoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2009-07-07 08:58:51 +02:00
|
|
|
if ENABLE_SNDFILE
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/SndfileDecoderPlugin.cxx \
|
|
|
|
src/decoder/plugins/SndfileDecoderPlugin.hxx
|
2009-07-07 08:58:51 +02:00
|
|
|
endif
|
|
|
|
|
2014-12-22 10:28:15 +01:00
|
|
|
if ENABLE_GME
|
2014-02-18 10:02:46 +01:00
|
|
|
libdecoder_a_SOURCES += \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/GmeDecoderPlugin.cxx src/decoder/plugins/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) \
|
2014-01-12 21:40:29 +01:00
|
|
|
$(SHINE_CFLAGS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(VORBISENC_CFLAGS)
|
|
|
|
|
|
|
|
ENCODER_LIBS = \
|
2011-10-09 14:29:36 +02:00
|
|
|
libencoder_plugins.a \
|
2016-05-02 23:11:07 +02:00
|
|
|
$(XIPH_LIBS) \
|
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) \
|
2014-01-12 21:40:29 +01:00
|
|
|
$(SHINE_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(VORBISENC_LIBS)
|
|
|
|
|
2012-10-02 09:06:03 +02:00
|
|
|
libencoder_plugins_a_SOURCES = \
|
2017-11-10 21:37:56 +01:00
|
|
|
src/encoder/Configured.cxx src/encoder/Configured.hxx \
|
2014-01-27 08:53:42 +01:00
|
|
|
src/encoder/EncoderAPI.hxx \
|
2015-01-08 19:31:57 +01:00
|
|
|
src/encoder/EncoderInterface.hxx \
|
2014-01-27 08:53:42 +01:00
|
|
|
src/encoder/EncoderPlugin.hxx \
|
2015-01-14 20:11:00 +01:00
|
|
|
src/encoder/ToOutputStream.cxx src/encoder/ToOutputStream.hxx \
|
2014-01-23 23:09:14 +01:00
|
|
|
src/encoder/plugins/NullEncoderPlugin.cxx \
|
|
|
|
src/encoder/plugins/NullEncoderPlugin.hxx \
|
|
|
|
src/encoder/EncoderList.cxx src/encoder/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 += \
|
2014-01-23 23:09:14 +01:00
|
|
|
src/encoder/plugins/WaveEncoderPlugin.cxx \
|
|
|
|
src/encoder/plugins/WaveEncoderPlugin.hxx
|
2009-11-10 23:29:54 +01:00
|
|
|
endif
|
|
|
|
|
2016-05-04 18:52:57 +02:00
|
|
|
if HAVE_OGG
|
|
|
|
libencoder_plugins_a_SOURCES += \
|
|
|
|
src/encoder/plugins/OggEncoder.hxx
|
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_VORBISENC
|
2012-10-01 20:02:59 +02:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
2014-01-23 23:09:14 +01:00
|
|
|
src/encoder/plugins/VorbisEncoderPlugin.cxx \
|
|
|
|
src/encoder/plugins/VorbisEncoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_OPUS
|
2012-10-01 20:15:15 +02:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
2014-01-23 23:09:14 +01:00
|
|
|
src/encoder/plugins/OpusEncoderPlugin.cxx \
|
|
|
|
src/encoder/plugins/OpusEncoderPlugin.hxx
|
2012-10-01 20:15:15 +02:00
|
|
|
endif
|
|
|
|
|
2014-12-09 21:07:05 +01:00
|
|
|
if ENABLE_LAME
|
2013-07-30 08:52:47 +02:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
2014-01-23 23:09:14 +01:00
|
|
|
src/encoder/plugins/LameEncoderPlugin.cxx \
|
|
|
|
src/encoder/plugins/LameEncoderPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
2009-07-14 23:07:41 +02:00
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_TWOLAME
|
2013-07-30 08:52:47 +02:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
2014-01-23 23:09:14 +01:00
|
|
|
src/encoder/plugins/TwolameEncoderPlugin.cxx \
|
|
|
|
src/encoder/plugins/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 += \
|
2014-01-23 23:09:14 +01:00
|
|
|
src/encoder/plugins/FlacEncoderPlugin.cxx \
|
|
|
|
src/encoder/plugins/FlacEncoderPlugin.hxx
|
2009-11-17 19:41:35 +01:00
|
|
|
endif
|
2011-10-09 14:29:36 +02:00
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_SHINE
|
2014-01-12 21:40:29 +01:00
|
|
|
libencoder_plugins_a_SOURCES += \
|
2014-01-23 23:09:14 +01:00
|
|
|
src/encoder/plugins/ShineEncoderPlugin.cxx \
|
|
|
|
src/encoder/plugins/ShineEncoderPlugin.hxx
|
2014-01-12 21:40:29 +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
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd_a_SOURCES += \
|
2014-01-24 00:14:54 +01:00
|
|
|
src/zeroconf/ZeroconfInternal.hxx \
|
|
|
|
src/zeroconf/ZeroconfGlue.cxx src/zeroconf/ZeroconfGlue.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
|
|
|
|
if HAVE_AVAHI
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd_a_SOURCES += \
|
2014-01-24 00:14:54 +01:00
|
|
|
src/zeroconf/AvahiPoll.cxx src/zeroconf/AvahiPoll.hxx \
|
|
|
|
src/zeroconf/ZeroconfAvahi.cxx src/zeroconf/ZeroconfAvahi.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_BONJOUR
|
2014-02-18 23:30:34 +01:00
|
|
|
libmpd_a_SOURCES += src/zeroconf/ZeroconfBonjour.cxx src/zeroconf/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 = \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/Init.cxx src/input/Init.hxx \
|
|
|
|
src/input/Registry.cxx src/input/Registry.hxx \
|
2014-05-21 18:21:25 +02:00
|
|
|
src/input/Open.cxx \
|
2014-10-02 21:06:01 +02:00
|
|
|
src/input/LocalOpen.cxx src/input/LocalOpen.hxx \
|
2014-08-19 22:29:52 +02:00
|
|
|
src/input/Offset.hxx \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/InputStream.cxx src/input/InputStream.hxx \
|
2017-01-04 10:15:44 +01:00
|
|
|
src/input/Ptr.hxx \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/InputPlugin.hxx \
|
2018-01-26 16:06:41 +01:00
|
|
|
src/input/RemoteTagScanner.hxx \
|
2018-01-29 16:53:09 +01:00
|
|
|
src/input/ScanTags.cxx src/input/ScanTags.hxx \
|
2016-05-02 23:55:35 +02:00
|
|
|
src/input/Reader.cxx src/input/Reader.hxx \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/TextInputStream.cxx src/input/TextInputStream.hxx \
|
2014-03-15 16:42:15 +01:00
|
|
|
src/input/ThreadInputStream.cxx src/input/ThreadInputStream.hxx \
|
2014-05-02 22:31:02 +02:00
|
|
|
src/input/AsyncInputStream.cxx src/input/AsyncInputStream.hxx \
|
2014-05-15 22:16:26 +02:00
|
|
|
src/input/ProxyInputStream.cxx src/input/ProxyInputStream.hxx \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/plugins/RewindInputPlugin.cxx src/input/plugins/RewindInputPlugin.hxx \
|
|
|
|
src/input/plugins/FileInputPlugin.cxx src/input/plugins/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) \
|
2013-12-29 00:36:57 +01:00
|
|
|
$(SMBCLIENT_CFLAGS) \
|
2014-02-06 07:29:26 +01:00
|
|
|
$(NFS_CFLAGS) \
|
2010-12-21 22:23:01 +01:00
|
|
|
$(CDIO_PARANOIA_CFLAGS) \
|
2010-05-18 20:48:52 +02:00
|
|
|
$(FFMPEG_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) \
|
2013-12-29 00:36:57 +01:00
|
|
|
$(SMBCLIENT_LIBS) \
|
2014-02-06 07:29:26 +01:00
|
|
|
$(NFS_LIBS) \
|
2010-12-21 22:23:01 +01:00
|
|
|
$(CDIO_PARANOIA_LIBS) \
|
2014-08-18 10:12:37 +02:00
|
|
|
$(FFMPEG_LIBS2) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(MMS_LIBS)
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_ALSA
|
add draft ALSA input plugin
I've created an elementary input plugin that plays sound from the
soundcard, so you can use MPD to listen to anything connected to the
line-in jack, or to Video4Linux FM radio cards that send audio through
the soundcard. There has been a small number of posts here in the
past requesting line-in input, so here is a first, simplistic stab at
it.
The patch adds a new sheme, alsa://, which causes mpd to play data
read directly from a souncdard. It defaults to hw:0,0, but you can
pass any ALSA device name in the URI. So, using mpc for example:
mpc add alsa://
mpc play
will play from device hw:0,0.
To use a diffferent device:
mpc add alsa://hw:1,0
2013-12-15 17:52:21 +01:00
|
|
|
libinput_a_SOURCES += \
|
2017-02-08 19:35:27 +01:00
|
|
|
$(ALSA_SOURCES) \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/plugins/AlsaInputPlugin.cxx \
|
|
|
|
src/input/plugins/AlsaInputPlugin.hxx
|
add draft ALSA input plugin
I've created an elementary input plugin that plays sound from the
soundcard, so you can use MPD to listen to anything connected to the
line-in jack, or to Video4Linux FM radio cards that send audio through
the soundcard. There has been a small number of posts here in the
past requesting line-in input, so here is a first, simplistic stab at
it.
The patch adds a new sheme, alsa://, which causes mpd to play data
read directly from a souncdard. It defaults to hw:0,0, but you can
pass any ALSA device name in the URI. So, using mpc for example:
mpc add alsa://
mpc play
will play from device hw:0,0.
To use a diffferent device:
mpc add alsa://hw:1,0
2013-12-15 17:52:21 +01:00
|
|
|
INPUT_LIBS += $(ALSA_LIBS)
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
2009-09-24 21:40:07 +02:00
|
|
|
if ENABLE_CURL
|
2013-01-10 10:14:29 +01:00
|
|
|
libinput_a_SOURCES += \
|
2014-05-11 15:32:47 +02:00
|
|
|
src/input/IcyInputStream.cxx src/input/IcyInputStream.hxx \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/plugins/CurlInputPlugin.cxx src/input/plugins/CurlInputPlugin.hxx \
|
2017-01-07 14:18:16 +01:00
|
|
|
$(CURL_SOURCES) \
|
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
|
|
|
|
2018-01-10 20:57:50 +01:00
|
|
|
if ENABLE_TIDAL
|
|
|
|
libinput_a_SOURCES += \
|
|
|
|
$(YAJL_SOURCES) \
|
2018-01-24 12:44:57 +01:00
|
|
|
src/input/plugins/TidalError.hxx \
|
2018-01-21 12:17:18 +01:00
|
|
|
src/input/plugins/TidalErrorParser.cxx src/input/plugins/TidalErrorParser.hxx \
|
2018-01-10 20:57:50 +01:00
|
|
|
src/input/plugins/TidalLoginRequest.cxx src/input/plugins/TidalLoginRequest.hxx \
|
|
|
|
src/input/plugins/TidalSessionManager.cxx src/input/plugins/TidalSessionManager.hxx \
|
|
|
|
src/input/plugins/TidalTrackRequest.cxx src/input/plugins/TidalTrackRequest.hxx \
|
2018-01-26 16:46:38 +01:00
|
|
|
src/input/plugins/TidalTagScanner.cxx src/input/plugins/TidalTagScanner.hxx \
|
2018-01-10 20:57:50 +01:00
|
|
|
src/input/plugins/TidalInputPlugin.cxx src/input/plugins/TidalInputPlugin.hxx
|
|
|
|
INPUT_LIBS += $(YAJL_LIBS)
|
|
|
|
endif
|
|
|
|
|
2018-01-13 18:03:26 +01:00
|
|
|
if ENABLE_QOBUZ
|
|
|
|
libinput_a_SOURCES += \
|
|
|
|
$(YAJL_SOURCES) \
|
|
|
|
src/lib/gcrypt/MD5.cxx src/lib/gcrypt/MD5.hxx \
|
|
|
|
src/input/plugins/QobuzSession.hxx \
|
|
|
|
src/input/plugins/QobuzClient.cxx src/input/plugins/QobuzClient.hxx \
|
2018-01-21 12:52:54 +01:00
|
|
|
src/input/plugins/QobuzErrorParser.cxx src/input/plugins/QobuzErrorParser.hxx \
|
2018-01-13 18:03:26 +01:00
|
|
|
src/input/plugins/QobuzLoginRequest.cxx src/input/plugins/QobuzLoginRequest.hxx \
|
|
|
|
src/input/plugins/QobuzTrackRequest.cxx src/input/plugins/QobuzTrackRequest.hxx \
|
2018-01-26 18:50:13 +01:00
|
|
|
src/input/plugins/QobuzTagScanner.cxx src/input/plugins/QobuzTagScanner.hxx \
|
2018-01-13 18:03:26 +01:00
|
|
|
src/input/plugins/QobuzInputPlugin.cxx src/input/plugins/QobuzInputPlugin.hxx
|
|
|
|
INPUT_LIBS += $(YAJL_LIBS) $(LIBGCRYPT_LIBS)
|
|
|
|
endif
|
|
|
|
|
2013-12-29 00:36:57 +01:00
|
|
|
if ENABLE_SMBCLIENT
|
|
|
|
libinput_a_SOURCES += \
|
2014-02-06 22:11:59 +01:00
|
|
|
$(SMBCLIENT_SOURCES) \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/plugins/SmbclientInputPlugin.cxx src/input/plugins/SmbclientInputPlugin.hxx
|
2013-12-29 00:36:57 +01:00
|
|
|
endif
|
|
|
|
|
2014-02-06 07:29:26 +01:00
|
|
|
if ENABLE_NFS
|
|
|
|
libinput_a_SOURCES += \
|
2014-04-30 21:49:03 +02:00
|
|
|
$(NFS_SOURCES) \
|
2014-02-06 07:29:26 +01:00
|
|
|
src/input/plugins/NfsInputPlugin.cxx src/input/plugins/NfsInputPlugin.hxx
|
|
|
|
endif
|
|
|
|
|
2010-12-21 22:23:01 +01:00
|
|
|
if ENABLE_CDIO_PARANOIA
|
2013-01-21 17:58:30 +01:00
|
|
|
libinput_a_SOURCES += \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/plugins/CdioParanoiaInputPlugin.cxx \
|
|
|
|
src/input/plugins/CdioParanoiaInputPlugin.hxx
|
2010-12-21 22:23:01 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_FFMPEG
|
2013-01-21 17:38:40 +01:00
|
|
|
libinput_a_SOURCES += \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/plugins/FfmpegInputPlugin.cxx src/input/plugins/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 += \
|
2014-01-24 16:18:21 +01:00
|
|
|
src/input/plugins/MmsInputPlugin.cxx src/input/plugins/MmsInputPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
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) \
|
2016-12-26 13:23:07 +01:00
|
|
|
$(HAIKU_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) \
|
2016-12-26 13:23:07 +01:00
|
|
|
$(SNDIO_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) \
|
2016-12-26 13:23:07 +01:00
|
|
|
$(HAIKU_LIBS) \
|
2010-01-01 17:10:10 +01:00
|
|
|
$(OPENAL_LIBS) \
|
2016-12-26 13:23:07 +01:00
|
|
|
$(SNDIO_LIBS) \
|
2009-02-25 16:44:11 +01:00
|
|
|
$(SHOUT_LIBS)
|
|
|
|
|
2009-03-10 15:46:55 +01:00
|
|
|
OUTPUT_API_SRC = \
|
2017-01-04 10:15:44 +01:00
|
|
|
src/output/Client.hxx \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/OutputAPI.hxx \
|
2017-08-07 21:50:13 +02:00
|
|
|
src/output/Filtered.cxx src/output/Filtered.hxx \
|
2014-01-28 11:42:54 +01:00
|
|
|
src/output/Registry.cxx src/output/Registry.hxx \
|
2014-01-27 08:20:25 +01:00
|
|
|
src/output/MultipleOutputs.cxx src/output/MultipleOutputs.hxx \
|
2016-12-12 15:24:38 +01:00
|
|
|
src/output/SharedPipeConsumer.cxx src/output/SharedPipeConsumer.hxx \
|
2016-12-20 16:37:36 +01:00
|
|
|
src/output/Source.cxx src/output/Source.hxx \
|
2017-04-28 21:42:24 +02:00
|
|
|
src/output/Thread.cxx \
|
2014-01-28 11:42:54 +01:00
|
|
|
src/output/Domain.cxx src/output/Domain.hxx \
|
2017-04-18 22:36:48 +02:00
|
|
|
src/output/Control.cxx src/output/Control.hxx \
|
2017-04-28 21:42:24 +02:00
|
|
|
src/output/State.cxx src/output/State.hxx \
|
|
|
|
src/output/Print.cxx src/output/Print.hxx \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/OutputCommand.cxx src/output/OutputCommand.hxx \
|
|
|
|
src/output/OutputPlugin.cxx src/output/OutputPlugin.hxx \
|
2014-01-28 11:42:54 +01:00
|
|
|
src/output/Finish.cxx \
|
|
|
|
src/output/Init.cxx
|
2009-03-10 15:46:55 +01:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES = \
|
2017-12-19 08:45:34 +01:00
|
|
|
src/output/Interface.cxx src/output/Interface.hxx \
|
2014-02-19 09:00:29 +01:00
|
|
|
src/output/Timer.cxx src/output/Timer.hxx \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/NullOutputPlugin.cxx \
|
|
|
|
src/output/plugins/NullOutputPlugin.hxx
|
2009-02-25 16:44:11 +01:00
|
|
|
|
2011-11-13 23:19:38 +01:00
|
|
|
MIXER_LIBS = \
|
|
|
|
libmixer_plugins.a \
|
2015-11-21 23:54:51 +01:00
|
|
|
$(ALSA_LIBS) \
|
2014-12-29 22:25:14 +01:00
|
|
|
$(PULSE_LIBS2)
|
2011-11-13 23:19:38 +01:00
|
|
|
|
2009-03-12 18:34:37 +01:00
|
|
|
MIXER_API_SRC = \
|
2014-02-05 23:20:33 +01:00
|
|
|
src/mixer/Listener.hxx \
|
2014-01-24 16:25:21 +01:00
|
|
|
src/mixer/MixerPlugin.hxx \
|
|
|
|
src/mixer/MixerList.hxx \
|
|
|
|
src/mixer/MixerControl.cxx src/mixer/MixerControl.hxx \
|
|
|
|
src/mixer/MixerType.cxx src/mixer/MixerType.hxx \
|
2014-01-27 08:20:25 +01:00
|
|
|
src/mixer/MixerAll.cxx \
|
2014-01-24 16:25:21 +01:00
|
|
|
src/mixer/MixerInternal.hxx
|
2009-02-25 16:44:11 +01:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libmixer_plugins_a_SOURCES = \
|
2014-12-02 18:16:33 +01:00
|
|
|
src/mixer/plugins/NullMixerPlugin.cxx \
|
2014-01-24 16:25:21 +01:00
|
|
|
src/mixer/plugins/SoftwareMixerPlugin.cxx \
|
|
|
|
src/mixer/plugins/SoftwareMixerPlugin.hxx
|
2017-01-05 12:07:01 +01:00
|
|
|
|
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
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_ALSA
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2017-01-24 23:10:35 +01:00
|
|
|
$(ALSA_SOURCES) \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/AlsaOutputPlugin.cxx \
|
|
|
|
src/output/plugins/AlsaOutputPlugin.hxx
|
2017-01-05 12:07:01 +01:00
|
|
|
libmixer_plugins_a_SOURCES += \
|
2017-02-08 19:35:27 +01:00
|
|
|
$(ALSA_SOURCES) \
|
2017-01-05 12:07:01 +01:00
|
|
|
src/mixer/plugins/volume_mapping.h \
|
|
|
|
src/mixer/plugins/volume_mapping.c \
|
|
|
|
src/mixer/plugins/AlsaMixerPlugin.cxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2014-02-21 23:17:52 +01:00
|
|
|
if ANDROID
|
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/plugins/sles/Object.hxx \
|
|
|
|
src/output/plugins/sles/Engine.hxx \
|
|
|
|
src/output/plugins/sles/Play.hxx \
|
|
|
|
src/output/plugins/sles/AndroidSimpleBufferQueue.hxx \
|
|
|
|
src/output/plugins/sles/SlesOutputPlugin.cxx \
|
|
|
|
src/output/plugins/sles/SlesOutputPlugin.hxx
|
|
|
|
OUTPUT_LIBS += -lOpenSLES
|
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_ROAR
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/RoarOutputPlugin.cxx \
|
|
|
|
src/output/plugins/RoarOutputPlugin.hxx
|
2014-01-24 16:25:21 +01:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/plugins/RoarMixerPlugin.cxx
|
2011-02-08 00:17:58 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_AO
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/AoOutputPlugin.cxx \
|
|
|
|
src/output/plugins/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 += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/FifoOutputPlugin.cxx \
|
|
|
|
src/output/plugins/FifoOutputPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
2016-12-26 13:23:07 +01:00
|
|
|
if ENABLE_SNDIO
|
2016-06-21 19:28:41 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/plugins/SndioOutputPlugin.cxx \
|
|
|
|
src/output/plugins/SndioOutputPlugin.hxx
|
2017-09-16 08:21:07 +02:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/plugins/SndioMixerPlugin.cxx
|
2016-06-21 19:28:41 +02:00
|
|
|
endif
|
|
|
|
|
2016-12-26 13:23:07 +01:00
|
|
|
if ENABLE_HAIKU
|
2015-09-17 22:18:16 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
|
|
|
src/output/plugins/HaikuOutputPlugin.cxx \
|
|
|
|
src/output/plugins/HaikuOutputPlugin.hxx
|
|
|
|
libmixer_plugins_a_SOURCES += \
|
2017-01-04 10:15:44 +01:00
|
|
|
src/mixer/plugins/HaikuMixerPlugin.cxx
|
2015-09-17 22:18:16 +02: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 += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/PipeOutputPlugin.cxx \
|
|
|
|
src/output/plugins/PipeOutputPlugin.hxx
|
2009-02-28 16:11:59 +01:00
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_JACK
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/JackOutputPlugin.cxx \
|
|
|
|
src/output/plugins/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 += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/OssOutputPlugin.cxx \
|
|
|
|
src/output/plugins/OssOutputPlugin.hxx
|
2014-01-24 16:25:21 +01:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/plugins/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 += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/OpenALOutputPlugin.cxx \
|
|
|
|
src/output/plugins/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 += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/OSXOutputPlugin.cxx \
|
|
|
|
src/output/plugins/OSXOutputPlugin.hxx
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
2017-08-21 18:10:12 +02:00
|
|
|
libmixer_plugins_a_SOURCES += \
|
|
|
|
src/mixer/plugins/OSXMixerPlugin.cxx
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_PULSE
|
2011-10-09 14:29:36 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/PulseOutputPlugin.cxx \
|
|
|
|
src/output/plugins/PulseOutputPlugin.hxx
|
2013-01-09 22:25:24 +01:00
|
|
|
libmixer_plugins_a_SOURCES += \
|
2014-01-24 16:25:21 +01:00
|
|
|
src/mixer/plugins/PulseMixerPlugin.cxx src/mixer/plugins/PulseMixerPlugin.hxx
|
2014-12-29 22:25:14 +01:00
|
|
|
|
|
|
|
noinst_LIBRARIES += libpulse.a
|
|
|
|
libpulse_a_SOURCES = \
|
2016-09-09 14:36:24 +02:00
|
|
|
src/lib/pulse/LockGuard.hxx \
|
2014-12-29 22:42:52 +01:00
|
|
|
src/lib/pulse/LogError.cxx src/lib/pulse/LogError.hxx \
|
2014-12-29 22:34:32 +01:00
|
|
|
src/lib/pulse/Error.cxx src/lib/pulse/Error.hxx \
|
2014-12-29 22:25:14 +01:00
|
|
|
src/lib/pulse/Domain.cxx src/lib/pulse/Domain.hxx
|
|
|
|
libpulse_a_CPPFLAGS = $(AM_CPPFLAGS) $(PULSE_CFLAGS)
|
|
|
|
PULSE_LIBS2 = libpulse.a $(PULSE_LIBS)
|
|
|
|
OUTPUT_LIBS += $(PULSE_LIBS2)
|
2009-02-23 10:04:51 +01:00
|
|
|
endif
|
|
|
|
|
|
|
|
if HAVE_SHOUT
|
2012-06-27 10:11:21 +02:00
|
|
|
liboutput_plugins_a_SOURCES += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/ShoutOutputPlugin.cxx \
|
|
|
|
src/output/plugins/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 += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/RecorderOutputPlugin.cxx \
|
|
|
|
src/output/plugins/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 += \
|
2014-02-19 09:08:29 +01:00
|
|
|
src/output/plugins/httpd/IcyMetaDataServer.cxx \
|
|
|
|
src/output/plugins/httpd/IcyMetaDataServer.hxx \
|
|
|
|
src/output/plugins/httpd/Page.cxx src/output/plugins/httpd/Page.hxx \
|
|
|
|
src/output/plugins/httpd/HttpdInternal.hxx \
|
|
|
|
src/output/plugins/httpd/HttpdClient.cxx \
|
|
|
|
src/output/plugins/httpd/HttpdClient.hxx \
|
|
|
|
src/output/plugins/httpd/HttpdOutputPlugin.cxx \
|
|
|
|
src/output/plugins/httpd/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 += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/SolarisOutputPlugin.cxx src/output/plugins/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 += \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/plugins/WinmmOutputPlugin.cxx \
|
|
|
|
src/output/plugins/WinmmOutputPlugin.hxx
|
2014-01-24 16:25:21 +01:00
|
|
|
libmixer_plugins_a_SOURCES += src/mixer/plugins/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 = \
|
2014-01-23 23:30:12 +01:00
|
|
|
src/playlist/PlaylistPlugin.hxx \
|
|
|
|
src/playlist/SongEnumerator.hxx \
|
|
|
|
src/playlist/MemorySongEnumerator.cxx \
|
|
|
|
src/playlist/MemorySongEnumerator.hxx \
|
|
|
|
src/playlist/plugins/ExtM3uPlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/ExtM3uPlaylistPlugin.hxx \
|
|
|
|
src/playlist/plugins/M3uPlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/M3uPlaylistPlugin.hxx \
|
2014-12-04 22:58:30 +01:00
|
|
|
src/playlist/plugins/PlsPlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/PlsPlaylistPlugin.hxx \
|
2014-01-23 23:30:12 +01:00
|
|
|
src/playlist/PlaylistRegistry.cxx src/playlist/PlaylistRegistry.hxx
|
2011-10-09 14:29:36 +02:00
|
|
|
libplaylist_plugins_a_CPPFLAGS = $(AM_CPPFLAGS) \
|
2014-01-09 11:57:47 +01:00
|
|
|
$(EXPAT_CFLAGS) \
|
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 \
|
2014-01-09 11:57:47 +01:00
|
|
|
$(EXPAT_LIBS) \
|
2011-10-09 14:29:36 +02:00
|
|
|
$(FLAC_LIBS)
|
2009-10-12 22:34:04 +02:00
|
|
|
|
2015-10-26 13:16:01 +01:00
|
|
|
if ENABLE_FLAC
|
|
|
|
libplaylist_plugins_a_SOURCES += \
|
|
|
|
src/playlist/plugins/FlacPlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/FlacPlaylistPlugin.hxx
|
|
|
|
endif
|
|
|
|
|
2014-12-08 18:38:03 +01:00
|
|
|
if ENABLE_CUE
|
|
|
|
libplaylist_plugins_a_SOURCES += \
|
|
|
|
src/playlist/cue/CueParser.cxx src/playlist/cue/CueParser.hxx \
|
|
|
|
src/playlist/plugins/CuePlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/CuePlaylistPlugin.hxx \
|
|
|
|
src/playlist/plugins/EmbeddedCuePlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/EmbeddedCuePlaylistPlugin.hxx
|
|
|
|
endif
|
|
|
|
|
2012-02-27 13:19:45 +01:00
|
|
|
if ENABLE_SOUNDCLOUD
|
|
|
|
libplaylist_plugins_a_SOURCES += \
|
2018-01-11 19:25:46 +01:00
|
|
|
$(YAJL_SOURCES) \
|
2014-01-23 23:30:12 +01:00
|
|
|
src/playlist/plugins/SoundCloudPlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/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
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_EXPAT
|
2013-12-15 12:32:15 +01:00
|
|
|
libplaylist_plugins_a_SOURCES += \
|
2017-01-07 15:46:36 +01:00
|
|
|
src/lib/expat/StreamExpatParser.cxx \
|
2014-01-24 16:26:42 +01:00
|
|
|
src/lib/expat/ExpatParser.cxx src/lib/expat/ExpatParser.hxx \
|
2014-01-23 23:30:12 +01:00
|
|
|
src/playlist/plugins/XspfPlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/XspfPlaylistPlugin.hxx \
|
|
|
|
src/playlist/plugins/AsxPlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/AsxPlaylistPlugin.hxx \
|
|
|
|
src/playlist/plugins/RssPlaylistPlugin.cxx \
|
|
|
|
src/playlist/plugins/RssPlaylistPlugin.hxx
|
2013-12-15 12:32:15 +01:00
|
|
|
endif
|
|
|
|
|
2009-07-05 06:54:48 +02:00
|
|
|
#
|
|
|
|
# Filter plugins
|
|
|
|
#
|
|
|
|
|
2018-01-02 22:52:23 +01:00
|
|
|
libfilter_api_a_SOURCES = \
|
|
|
|
src/filter/Observer.cxx src/filter/Observer.hxx \
|
|
|
|
src/filter/FilterPlugin.hxx \
|
|
|
|
src/filter/Prepared.hxx \
|
2018-01-01 19:22:45 +01:00
|
|
|
src/filter/Filter.cxx src/filter/Filter.hxx
|
2018-01-02 22:52:23 +01:00
|
|
|
|
2011-10-09 14:29:36 +02:00
|
|
|
libfilter_plugins_a_SOURCES = \
|
2014-02-19 10:03:11 +01:00
|
|
|
src/AudioCompress/config.h \
|
|
|
|
src/AudioCompress/compress.h \
|
|
|
|
src/AudioCompress/compress.c \
|
2014-01-24 16:31:52 +01:00
|
|
|
src/filter/plugins/NullFilterPlugin.cxx \
|
|
|
|
src/filter/plugins/ChainFilterPlugin.cxx \
|
|
|
|
src/filter/plugins/ChainFilterPlugin.hxx \
|
|
|
|
src/filter/plugins/AutoConvertFilterPlugin.cxx \
|
|
|
|
src/filter/plugins/AutoConvertFilterPlugin.hxx \
|
|
|
|
src/filter/plugins/ConvertFilterPlugin.cxx \
|
|
|
|
src/filter/plugins/ConvertFilterPlugin.hxx \
|
|
|
|
src/filter/plugins/RouteFilterPlugin.cxx \
|
|
|
|
src/filter/plugins/NormalizeFilterPlugin.cxx \
|
2017-08-07 18:28:52 +02:00
|
|
|
src/filter/plugins/NormalizeFilterPlugin.hxx \
|
2014-01-24 16:31:52 +01:00
|
|
|
src/filter/plugins/ReplayGainFilterPlugin.cxx \
|
|
|
|
src/filter/plugins/ReplayGainFilterPlugin.hxx \
|
|
|
|
src/filter/plugins/VolumeFilterPlugin.cxx \
|
|
|
|
src/filter/plugins/VolumeFilterPlugin.hxx
|
2009-07-05 06:54:48 +02:00
|
|
|
|
2018-01-02 22:52:23 +01:00
|
|
|
libfilter_glue_a_SOURCES = \
|
|
|
|
src/filter/FilterRegistry.cxx src/filter/FilterRegistry.hxx \
|
|
|
|
src/filter/LoadOne.cxx src/filter/LoadOne.hxx \
|
|
|
|
src/filter/LoadChain.cxx src/filter/LoadChain.hxx
|
|
|
|
|
2011-10-09 16:18:03 +02:00
|
|
|
FILTER_LIBS = \
|
2018-01-02 22:52:23 +01:00
|
|
|
libfilter_glue.a \
|
2011-10-09 16:18:03 +02:00
|
|
|
libfilter_plugins.a \
|
2018-01-02 22:52:23 +01:00
|
|
|
libfilter_api.a \
|
2011-10-09 16:18:03 +02:00
|
|
|
$(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 = \
|
2016-12-13 08:42:05 +01:00
|
|
|
systemd/system/mpd.socket \
|
|
|
|
systemd/system/mpd.service
|
2011-09-30 08:37:36 +02:00
|
|
|
endif
|
|
|
|
|
2016-12-13 08:41:55 +01:00
|
|
|
if HAVE_SYSTEMD_USER
|
|
|
|
systemduserunit_DATA = \
|
|
|
|
systemd/user/mpd.service
|
2011-09-30 08:37:36 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-18 19:27:05 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Test programs
|
|
|
|
#
|
|
|
|
|
|
|
|
if ENABLE_TEST
|
|
|
|
|
2011-07-19 00:34:33 +02:00
|
|
|
C_TESTS = \
|
2013-10-23 21:29:37 +02:00
|
|
|
test/test_util \
|
2012-03-21 19:08:32 +01:00
|
|
|
test/test_byte_reverse \
|
2014-05-21 18:25:43 +02:00
|
|
|
test/test_rewind \
|
2013-10-26 13:36:25 +02:00
|
|
|
test/test_mixramp \
|
2011-10-09 13:22:08 +02:00
|
|
|
test/test_pcm \
|
2014-09-04 15:15:58 +02:00
|
|
|
test/test_protocol \
|
2014-12-01 20:55:05 +01:00
|
|
|
test/test_queue_priority \
|
2015-06-22 21:29:29 +02:00
|
|
|
test/TestFs \
|
2014-12-01 20:55:05 +01:00
|
|
|
test/TestIcu
|
2011-07-19 00:34:33 +02:00
|
|
|
|
2014-02-17 23:45:46 +01:00
|
|
|
if ENABLE_CURL
|
|
|
|
C_TESTS += test/test_icy_parser
|
|
|
|
endif
|
|
|
|
|
2014-01-30 20:29:48 +01:00
|
|
|
if ENABLE_DATABASE
|
|
|
|
C_TESTS += test/test_translate_song
|
|
|
|
endif
|
|
|
|
|
2013-10-17 00:19:22 +02:00
|
|
|
if ENABLE_ARCHIVE
|
|
|
|
C_TESTS += test/test_archive
|
|
|
|
endif
|
|
|
|
|
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 \
|
2013-01-05 02:39:32 +01:00
|
|
|
test/run_input \
|
2015-01-06 19:22:04 +01:00
|
|
|
test/WriteFile \
|
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 \
|
2015-10-16 14:28:57 +02:00
|
|
|
test/ReadApeTags \
|
2016-11-22 16:03:10 +01:00
|
|
|
test/ContainerScan \
|
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
|
|
|
|
|
2014-01-30 20:29:48 +01:00
|
|
|
if ENABLE_DATABASE
|
|
|
|
noinst_PROGRAMS += test/DumpDatabase
|
2014-10-07 06:07:00 +02:00
|
|
|
noinst_PROGRAMS += test/run_storage
|
2014-01-30 20:29:48 +01:00
|
|
|
endif
|
|
|
|
|
2014-01-18 16:36:42 +01:00
|
|
|
if ENABLE_NEIGHBOR_PLUGINS
|
|
|
|
noinst_PROGRAMS += test/run_neighbor_explorer
|
|
|
|
endif
|
|
|
|
|
2013-10-18 08:37:28 +02:00
|
|
|
if HAVE_AVAHI
|
|
|
|
noinst_PROGRAMS += test/run_avahi
|
|
|
|
endif
|
|
|
|
|
2013-01-29 22:40:11 +01:00
|
|
|
if ENABLE_ARCHIVE
|
|
|
|
noinst_PROGRAMS += test/visit_archive
|
|
|
|
endif
|
|
|
|
|
2014-11-22 23:18:07 +01:00
|
|
|
if ENABLE_ID3TAG
|
2012-04-23 22:30:06 +02:00
|
|
|
noinst_PROGRAMS += test/dump_rva2
|
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_ALSA
|
2010-05-18 23:40:11 +02:00
|
|
|
# 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 \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-09-27 22:31:24 +02:00
|
|
|
test_read_conf_SOURCES = \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2013-09-27 22:31:24 +02:00
|
|
|
test/read_conf.cxx
|
2009-04-10 09:14:12 +02:00
|
|
|
|
2011-10-09 17:33:09 +02:00
|
|
|
test_run_resolver_LDADD = \
|
2015-02-10 21:46:23 +01:00
|
|
|
libnet.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-09-27 22:31:24 +02:00
|
|
|
test_run_resolver_SOURCES = \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2013-09-27 22:31:24 +02:00
|
|
|
test/run_resolver.cxx
|
2011-09-20 20:51:46 +02:00
|
|
|
|
2014-01-30 20:29:48 +01:00
|
|
|
if ENABLE_DATABASE
|
|
|
|
|
2012-08-07 20:08:50 +02:00
|
|
|
test_DumpDatabase_LDADD = \
|
2011-09-05 22:53:46 +02:00
|
|
|
$(DB_LIBS) \
|
2013-09-05 18:22:02 +02:00
|
|
|
$(TAG_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2014-01-11 01:01:54 +01:00
|
|
|
libevent.a \
|
2017-08-18 14:20:03 +02:00
|
|
|
libthread.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2016-04-12 22:18:36 +02:00
|
|
|
$(ICU_LDADD) \
|
|
|
|
libutil.a
|
2012-08-07 20:08:50 +02:00
|
|
|
test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \
|
2013-10-30 16:14:40 +01:00
|
|
|
src/protocol/Ack.cxx \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2014-01-24 16:18:50 +01:00
|
|
|
src/db/Registry.cxx \
|
|
|
|
src/db/Selection.cxx \
|
2014-02-19 09:52:58 +01:00
|
|
|
src/db/PlaylistVector.cxx \
|
|
|
|
src/db/DatabaseLock.cxx \
|
2014-02-26 09:17:41 +01:00
|
|
|
src/SongSave.cxx \
|
2014-01-23 21:21:27 +01:00
|
|
|
src/DetachedSong.cxx \
|
2013-09-05 18:22:02 +02:00
|
|
|
src/TagSave.cxx \
|
2013-12-06 22:22:58 +01:00
|
|
|
src/SongFilter.cxx
|
2017-01-26 09:34:53 +01:00
|
|
|
test_DumpDatabase_CPPFLAGS = $(AM_CPPFLAGS)
|
2012-08-07 20:08:50 +02:00
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_UPNP
|
2017-01-26 09:34:53 +01:00
|
|
|
test_DumpDatabase_SOURCES += \
|
|
|
|
$(CURL_SOURCES) \
|
|
|
|
src/lib/expat/ExpatParser.cxx
|
|
|
|
test_DumpDatabase_CPPFLAGS += $(CURL_CFLAGS)
|
|
|
|
test_DumpDatabase_LDADD += $(CURL_LIBS)
|
2013-11-01 19:26:01 +01:00
|
|
|
endif
|
|
|
|
|
2014-10-07 06:07:00 +02:00
|
|
|
test_run_storage_LDADD = \
|
|
|
|
$(STORAGE_LIBS) \
|
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-10-07 19:45:40 +02:00
|
|
|
libevent.a \
|
|
|
|
libthread.a \
|
2014-10-07 06:07:00 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2014-10-07 06:07:00 +02:00
|
|
|
test_run_storage_SOURCES = \
|
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
|
|
|
test/run_storage.cxx
|
|
|
|
|
2017-01-03 07:25:14 +01:00
|
|
|
if ENABLE_WEBDAV
|
|
|
|
test_run_storage_SOURCES += $(CURL_SOURCES)
|
|
|
|
endif
|
|
|
|
|
2014-01-30 20:29:48 +01:00
|
|
|
endif
|
|
|
|
|
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-09-05 18:22:02 +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-10-17 18:42:14 +02:00
|
|
|
libthread.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-01-27 22:17:47 +01:00
|
|
|
test_run_input_SOURCES = test/run_input.cxx \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2013-09-05 18:22:02 +02:00
|
|
|
src/TagSave.cxx
|
2009-04-13 19:18:10 +02:00
|
|
|
|
2014-01-18 16:36:42 +01:00
|
|
|
if ENABLE_NEIGHBOR_PLUGINS
|
|
|
|
|
|
|
|
test_run_neighbor_explorer_SOURCES = \
|
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
|
|
|
test/run_neighbor_explorer.cxx
|
2014-01-27 14:54:35 +01:00
|
|
|
test_run_neighbor_explorer_LDADD = $(AM_LDADD) \
|
2014-01-18 16:36:42 +01:00
|
|
|
$(NEIGHBOR_LIBS) \
|
2014-01-26 11:19:17 +01:00
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
|
|
|
libtag.a \
|
2014-01-18 16:36:42 +01:00
|
|
|
libconf.a \
|
|
|
|
libevent.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-01-18 16:36:42 +01:00
|
|
|
libsystem.a \
|
|
|
|
libthread.a \
|
|
|
|
libutil.a
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_UPNP
|
2014-01-26 11:19:17 +01:00
|
|
|
test_run_neighbor_explorer_SOURCES += src/lib/expat/ExpatParser.cxx
|
|
|
|
endif
|
|
|
|
|
2014-01-18 16:36:42 +01:00
|
|
|
endif
|
|
|
|
|
2013-01-29 22:40:11 +01:00
|
|
|
if ENABLE_ARCHIVE
|
|
|
|
|
|
|
|
test_visit_archive_LDADD = \
|
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
2013-09-05 18:22:02 +02:00
|
|
|
$(TAG_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-01-29 22:40:11 +01:00
|
|
|
libevent.a \
|
2013-10-17 18:42:14 +02:00
|
|
|
libthread.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-01-29 22:40:11 +01:00
|
|
|
test_visit_archive_SOURCES = test/visit_archive.cxx \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2014-05-21 18:21:25 +02:00
|
|
|
src/input/Open.cxx
|
2013-01-29 22:40:11 +01:00
|
|
|
|
|
|
|
endif
|
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_ZLIB
|
2014-07-30 22:26:24 +02:00
|
|
|
|
2014-08-07 17:14:58 +02:00
|
|
|
noinst_PROGRAMS += test/run_gzip test/run_gunzip
|
|
|
|
|
2014-07-30 22:26:24 +02:00
|
|
|
test_run_gzip_LDADD = \
|
|
|
|
libutil.a \
|
|
|
|
$(FS_LIBS)
|
2015-12-16 10:14:56 +01:00
|
|
|
test_run_gzip_SOURCES = test/run_gzip.cxx \
|
|
|
|
src/Log.cxx src/LogBackend.cxx
|
2014-07-30 22:26:24 +02:00
|
|
|
|
2014-08-07 17:14:58 +02:00
|
|
|
test_run_gunzip_SOURCES = test/run_gunzip.cxx \
|
|
|
|
src/Log.cxx src/LogBackend.cxx
|
|
|
|
test_run_gunzip_LDADD = \
|
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2015-11-06 09:09:02 +01:00
|
|
|
libsystem.a \
|
|
|
|
libutil.a
|
2014-08-07 17:14:58 +02:00
|
|
|
|
2014-07-30 22:26:24 +02:00
|
|
|
endif
|
|
|
|
|
2015-01-06 19:22:04 +01:00
|
|
|
test_WriteFile_LDADD = \
|
|
|
|
$(FS_LIBS) \
|
|
|
|
$(ICU_LDADD) \
|
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2015-01-06 19:22:04 +01:00
|
|
|
test_WriteFile_SOURCES = \
|
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
|
|
|
test/WriteFile.cxx
|
|
|
|
|
2012-03-19 19:59:30 +01:00
|
|
|
test_dump_text_file_LDADD = \
|
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
2013-09-05 18:22:02 +02:00
|
|
|
$(TAG_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libevent.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-10-17 18:42:14 +02:00
|
|
|
libthread.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-01-10 10:15:09 +01:00
|
|
|
test_dump_text_file_SOURCES = test/dump_text_file.cxx \
|
2017-02-10 22:14:07 +01:00
|
|
|
src/Log.cxx src/LogBackend.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) \
|
2012-02-12 15:20:38 +01:00
|
|
|
$(DECODER_LIBS) \
|
|
|
|
$(TAG_LIBS) \
|
2016-05-07 22:47:45 +02:00
|
|
|
$(XIPH_LIBS) \
|
2016-05-03 00:04:57 +02:00
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libevent.a \
|
2013-10-17 18:42:14 +02:00
|
|
|
libthread.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2012-03-21 18:50:18 +01:00
|
|
|
libutil.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libpcm.a
|
2013-01-05 02:39:32 +01:00
|
|
|
test_dump_playlist_SOURCES = test/dump_playlist.cxx \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2014-01-07 21:39:47 +01:00
|
|
|
src/TagSave.cxx \
|
2013-09-05 18:22:02 +02:00
|
|
|
src/TagFile.cxx \
|
2014-02-19 08:56:58 +01:00
|
|
|
src/DetachedSong.cxx
|
2009-10-12 22:34:04 +02:00
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_FLAC
|
2013-01-05 02:39:32 +01:00
|
|
|
test_dump_playlist_SOURCES += \
|
2013-01-04 23:45:55 +01:00
|
|
|
src/ReplayGainInfo.cxx \
|
2014-01-24 00:02:24 +01:00
|
|
|
src/decoder/plugins/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 \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libevent.a \
|
2013-10-17 18:42:14 +02:00
|
|
|
libthread.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-01-10 10:15:09 +01:00
|
|
|
test_run_decoder_SOURCES = test/run_decoder.cxx \
|
2018-02-17 08:27:03 +01:00
|
|
|
test/DumpDecoderClient.cxx test/DumpDecoderClient.hxx \
|
2016-11-22 12:25:52 +01:00
|
|
|
src/DetachedSong.cxx \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2016-11-22 16:04:02 +01:00
|
|
|
src/ReplayGainInfo.cxx
|
2009-02-28 17:04:37 +01:00
|
|
|
|
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 \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2013-01-15 07:14:36 +01:00
|
|
|
libevent.a \
|
2013-10-17 18:42:14 +02:00
|
|
|
libthread.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-01-10 10:15:09 +01:00
|
|
|
test_read_tags_SOURCES = test/read_tags.cxx \
|
2016-11-22 12:25:52 +01:00
|
|
|
src/DetachedSong.cxx \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2016-11-22 16:04:02 +01:00
|
|
|
src/ReplayGainInfo.cxx
|
2009-02-18 22:27:55 +01:00
|
|
|
|
2015-10-16 14:28:57 +02:00
|
|
|
test_ReadApeTags_LDADD = \
|
|
|
|
$(TAG_LIBS) \
|
2016-02-22 13:31:03 +01:00
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
2015-10-16 14:28:57 +02:00
|
|
|
$(FS_LIBS) \
|
|
|
|
$(ICU_LDADD) \
|
2016-02-22 13:31:03 +01:00
|
|
|
libsystem.a \
|
2015-10-16 14:28:57 +02:00
|
|
|
libutil.a
|
2016-02-22 13:31:03 +01:00
|
|
|
test_ReadApeTags_SOURCES = \
|
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
|
|
|
test/ReadApeTags.cxx
|
2015-10-16 14:28:57 +02:00
|
|
|
|
2016-11-22 16:03:10 +01:00
|
|
|
test_ContainerScan_LDADD = \
|
|
|
|
$(DECODER_LIBS) \
|
|
|
|
libpcm.a \
|
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
|
|
|
$(TAG_LIBS) \
|
|
|
|
libconf.a \
|
|
|
|
libbasic.a \
|
|
|
|
libevent.a \
|
|
|
|
libthread.a \
|
|
|
|
$(FS_LIBS) \
|
|
|
|
$(ICU_LDADD) \
|
|
|
|
libsystem.a \
|
|
|
|
libutil.a
|
|
|
|
test_ContainerScan_SOURCES = test/ContainerScan.cxx \
|
2016-11-22 12:25:52 +01:00
|
|
|
src/DetachedSong.cxx \
|
|
|
|
src/SongSave.cxx src/TagSave.cxx \
|
2016-11-22 16:03:10 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
|
|
|
src/ReplayGainInfo.cxx \
|
|
|
|
$(DECODER_SRC)
|
|
|
|
|
2014-11-22 23:18:07 +01:00
|
|
|
if ENABLE_ID3TAG
|
2012-04-23 22:30:06 +02:00
|
|
|
test_dump_rva2_LDADD = \
|
2013-09-04 23:46:20 +02:00
|
|
|
$(TAG_LIBS) \
|
2016-02-19 19:35:16 +01:00
|
|
|
$(INPUT_LIBS) \
|
|
|
|
$(ARCHIVE_LIBS) \
|
|
|
|
$(FS_LIBS) \
|
|
|
|
$(ICU_LDADD) \
|
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-09-27 22:31:24 +02:00
|
|
|
test_dump_rva2_SOURCES = \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2013-09-27 22:31:24 +02:00
|
|
|
test/dump_rva2.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 \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-01-29 17:23:58 +01:00
|
|
|
test_run_filter_SOURCES = test/run_filter.cxx \
|
2018-01-02 22:52:23 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx
|
2009-07-05 06:54:48 +02:00
|
|
|
|
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 \
|
2016-10-28 22:31:26 +02:00
|
|
|
src/Log.cxx src/LogBackend.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 \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2011-10-10 08:17:39 +02:00
|
|
|
libpcm.a \
|
2013-10-17 18:42:14 +02:00
|
|
|
libthread.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2009-07-06 22:50:07 +02:00
|
|
|
endif
|
2009-02-25 17:12:14 +01:00
|
|
|
|
2014-11-21 22:19:57 +01:00
|
|
|
if ENABLE_VORBISENC
|
2012-04-04 22:56:38 +02:00
|
|
|
noinst_PROGRAMS += test/test_vorbis_encoder
|
2013-01-30 22:19:24 +01:00
|
|
|
test_test_vorbis_encoder_SOURCES = test/test_vorbis_encoder.cxx \
|
2016-11-22 16:04:02 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx
|
2012-04-04 22:56:38 +02:00
|
|
|
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-09-05 18:22:02 +02:00
|
|
|
$(TAG_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2012-04-04 22:56:38 +02:00
|
|
|
endif
|
|
|
|
|
2013-01-30 21:27:37 +01:00
|
|
|
test_software_volume_SOURCES = test/software_volume.cxx \
|
2016-10-28 22:31:26 +02:00
|
|
|
src/Log.cxx src/LogBackend.cxx
|
2009-03-12 19:41:11 +01:00
|
|
|
test_software_volume_LDADD = \
|
2011-10-09 16:18:03 +02:00
|
|
|
$(PCM_LIBS) \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2009-02-28 17:04:37 +01:00
|
|
|
|
2013-10-18 08:37:28 +02:00
|
|
|
test_run_avahi_SOURCES = \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2014-01-24 00:14:54 +01:00
|
|
|
src/zeroconf/ZeroconfAvahi.cxx src/zeroconf/AvahiPoll.cxx \
|
2013-10-18 08:37:28 +02:00
|
|
|
test/ShutdownHandler.cxx test/ShutdownHandler.hxx \
|
|
|
|
test/run_avahi.cxx
|
|
|
|
test_run_avahi_CPPFLAGS = $(AM_CPPFLAGS) \
|
|
|
|
$(AVAHI_CFLAGS)
|
|
|
|
test_run_avahi_LDADD = \
|
|
|
|
libevent.a \
|
|
|
|
libsystem.a \
|
2014-08-07 15:36:03 +02:00
|
|
|
libutil.a \
|
2013-10-18 08:37:28 +02:00
|
|
|
$(AVAHI_LIBS)
|
|
|
|
|
2013-01-30 21:47:12 +01:00
|
|
|
test_run_normalize_SOURCES = test/run_normalize.cxx \
|
2016-10-28 21:46:20 +02:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2013-07-29 07:50:08 +02:00
|
|
|
src/CheckAudioFormat.cxx \
|
2014-02-19 10:13:31 +01:00
|
|
|
src/AudioCompress/compress.c \
|
2014-02-19 10:03:11 +01:00
|
|
|
src/AudioParser.cxx
|
2009-12-02 21:56:02 +01:00
|
|
|
test_run_normalize_LDADD = \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2009-12-02 21:56:02 +01:00
|
|
|
|
2013-01-30 21:27:37 +01:00
|
|
|
test_run_convert_SOURCES = test/run_convert.cxx \
|
2016-10-28 22:31:26 +02:00
|
|
|
src/Log.cxx src/LogBackend.cxx
|
2009-11-19 21:00:46 +01:00
|
|
|
test_run_convert_LDADD = \
|
2011-10-09 16:18:03 +02:00
|
|
|
$(PCM_LIBS) \
|
2015-01-21 20:42:41 +01:00
|
|
|
libconf.a \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2015-01-21 20:42:41 +01:00
|
|
|
$(FS_LIBS) \
|
|
|
|
libsystem.a \
|
2016-04-12 22:18:36 +02:00
|
|
|
$(ICU_LDADD) \
|
|
|
|
libutil.a
|
2009-11-19 21:00:46 +01:00
|
|
|
|
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 \
|
2017-08-07 21:55:29 +02:00
|
|
|
$(PCM_LIBS) \
|
2013-09-05 18:22:02 +02:00
|
|
|
$(TAG_LIBS) \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2013-01-15 07:53:44 +01:00
|
|
|
libevent.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2015-02-10 21:46:23 +01:00
|
|
|
libnet.a \
|
2013-08-07 10:31:31 +02:00
|
|
|
libsystem.a \
|
2013-10-17 18:42:14 +02:00
|
|
|
libthread.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-01-04 09:46:41 +01:00
|
|
|
test_run_output_SOURCES = test/run_output.cxx \
|
2018-01-23 16:28:56 +01:00
|
|
|
test/NullMixerListener.hxx \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2014-01-28 11:42:54 +01:00
|
|
|
src/output/Domain.cxx \
|
2017-08-07 21:55:29 +02:00
|
|
|
src/output/Registry.cxx \
|
2014-01-23 23:49:50 +01:00
|
|
|
src/output/OutputPlugin.cxx \
|
2014-01-24 16:25:21 +01:00
|
|
|
src/mixer/MixerControl.cxx \
|
2017-08-07 21:55:29 +02:00
|
|
|
src/mixer/MixerType.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) \
|
2018-01-02 22:52:23 +01:00
|
|
|
libfilter_api.a \
|
2013-01-30 19:00:31 +01:00
|
|
|
libconf.a \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2013-01-15 07:53:44 +01:00
|
|
|
libevent.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-08-07 19:38:08 +02:00
|
|
|
libsystem.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2013-01-30 19:05:04 +01:00
|
|
|
test_read_mixer_SOURCES = test/read_mixer.cxx \
|
2018-01-23 16:28:56 +01:00
|
|
|
test/NullMixerListener.hxx \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2014-01-24 16:25:21 +01:00
|
|
|
src/mixer/MixerControl.cxx \
|
2014-01-24 16:31:52 +01:00
|
|
|
src/filter/plugins/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-10-18 08:56:25 +02:00
|
|
|
test/ShutdownHandler.cxx test/ShutdownHandler.hxx \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2014-01-24 16:18:50 +01:00
|
|
|
src/db/update/InotifyDomain.cxx \
|
|
|
|
src/db/update/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 \
|
2015-06-27 16:06:28 +02:00
|
|
|
libutil.a
|
2010-05-30 23:30:43 +02:00
|
|
|
endif
|
|
|
|
|
2013-10-23 21:29:37 +02:00
|
|
|
test_test_util_SOURCES = \
|
2014-12-04 07:23:06 +01:00
|
|
|
test/DivideStringTest.hxx \
|
2014-12-03 21:39:45 +01:00
|
|
|
test/SplitStringTest.hxx \
|
2014-12-04 07:12:04 +01:00
|
|
|
test/UriUtilTest.hxx \
|
2016-06-10 22:24:13 +02:00
|
|
|
test/MimeTypeTest.hxx \
|
2014-03-15 17:30:08 +01:00
|
|
|
test/TestCircularBuffer.hxx \
|
2013-10-23 21:29:37 +02:00
|
|
|
test/test_util.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_util_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2013-10-23 21:29:37 +02:00
|
|
|
test_test_util_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
|
|
|
test_test_util_LDADD = \
|
|
|
|
libutil.a \
|
|
|
|
$(CPPUNIT_LIBS)
|
|
|
|
|
2012-03-21 19:08:32 +01:00
|
|
|
test_test_byte_reverse_SOURCES = \
|
2013-10-16 21:04:52 +02:00
|
|
|
test/test_byte_reverse.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_byte_reverse_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2013-10-16 21:55:00 +02:00
|
|
|
test_test_byte_reverse_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
2012-03-21 19:08:32 +01:00
|
|
|
test_test_byte_reverse_LDADD = \
|
|
|
|
libutil.a \
|
2013-10-16 21:55:00 +02:00
|
|
|
$(CPPUNIT_LIBS)
|
2013-10-26 13:36:25 +02:00
|
|
|
|
2014-05-21 18:25:43 +02:00
|
|
|
test_test_rewind_SOURCES = \
|
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
|
|
|
test/test_rewind.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_rewind_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2014-05-21 18:25:43 +02:00
|
|
|
test_test_rewind_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
|
|
|
test_test_rewind_LDADD = \
|
|
|
|
$(INPUT_LIBS) \
|
|
|
|
libthread.a \
|
|
|
|
libtag.a \
|
|
|
|
libutil.a \
|
|
|
|
$(CPPUNIT_LIBS)
|
|
|
|
|
2013-10-26 13:36:25 +02:00
|
|
|
test_test_mixramp_SOURCES = \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2013-10-26 13:36:25 +02:00
|
|
|
test/test_mixramp.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_mixramp_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2013-10-26 13:36:25 +02:00
|
|
|
test_test_mixramp_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
|
|
|
test_test_mixramp_LDADD = \
|
2014-08-07 15:36:03 +02:00
|
|
|
libutil.a \
|
2013-10-26 13:36:25 +02:00
|
|
|
$(CPPUNIT_LIBS)
|
2012-03-21 19:08:32 +01:00
|
|
|
|
2014-02-17 23:45:46 +01:00
|
|
|
if ENABLE_CURL
|
2014-01-27 09:51:31 +01:00
|
|
|
test_test_icy_parser_SOURCES = \
|
2014-01-27 10:33:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2014-01-27 09:51:31 +01:00
|
|
|
test/test_icy_parser.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_icy_parser_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2014-01-27 09:51:31 +01:00
|
|
|
test_test_icy_parser_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
|
|
|
test_test_icy_parser_LDADD = \
|
|
|
|
libtag.a \
|
2014-01-27 10:33:42 +01:00
|
|
|
libutil.a \
|
2014-01-27 09:51:31 +01:00
|
|
|
$(CPPUNIT_LIBS)
|
2014-02-17 23:45:46 +01:00
|
|
|
endif
|
2014-01-27 09:51:31 +01:00
|
|
|
|
2011-10-09 13:22:08 +02:00
|
|
|
test_test_pcm_SOURCES = \
|
2017-01-17 10:56:42 +01:00
|
|
|
test/TestAudioFormat.cxx test/TestAudioFormat.hxx \
|
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 \
|
2015-06-22 15:08:17 +02:00
|
|
|
test/test_pcm_interleave.cxx \
|
2014-08-12 22:05:38 +02:00
|
|
|
test/test_pcm_export.cxx \
|
2013-01-31 20:45:19 +01:00
|
|
|
test/test_pcm_all.hxx \
|
|
|
|
test/test_pcm_main.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_pcm_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2013-10-16 21:55:00 +02:00
|
|
|
test_test_pcm_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
2011-10-09 13:22:08 +02:00
|
|
|
test_test_pcm_LDADD = \
|
|
|
|
$(PCM_LIBS) \
|
2016-10-28 22:31:26 +02:00
|
|
|
libbasic.a \
|
2012-03-21 18:45:51 +01:00
|
|
|
libutil.a \
|
2015-06-27 16:06:28 +02:00
|
|
|
$(CPPUNIT_LIBS)
|
2011-10-09 13:22:08 +02:00
|
|
|
|
2013-10-17 00:19:22 +02:00
|
|
|
test_test_archive_SOURCES = \
|
2013-12-15 17:20:42 +01:00
|
|
|
src/Log.cxx src/LogBackend.cxx \
|
2013-10-17 00:19:22 +02:00
|
|
|
test/test_archive.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_archive_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2013-10-17 00:19:22 +02:00
|
|
|
test_test_archive_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
|
|
|
test_test_archive_LDADD = \
|
|
|
|
libarchive.a \
|
2014-08-07 15:36:03 +02:00
|
|
|
libutil.a \
|
2013-10-17 00:19:22 +02:00
|
|
|
$(CPPUNIT_LIBS)
|
|
|
|
|
2014-01-30 20:29:48 +01:00
|
|
|
if ENABLE_DATABASE
|
|
|
|
|
2014-01-20 21:31:40 +01:00
|
|
|
test_test_translate_song_SOURCES = \
|
2014-01-23 23:30:12 +01:00
|
|
|
src/playlist/PlaylistSong.cxx \
|
2014-02-02 14:37:52 +01:00
|
|
|
src/PlaylistError.cxx \
|
2014-01-20 21:31:40 +01:00
|
|
|
src/DetachedSong.cxx \
|
2014-02-02 14:37:52 +01:00
|
|
|
src/SongLoader.cxx \
|
2015-10-22 09:29:02 +02:00
|
|
|
src/LocateUri.cxx \
|
2014-01-20 21:31:40 +01:00
|
|
|
src/Log.cxx \
|
|
|
|
test/test_translate_song.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_translate_song_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2014-01-20 21:31:40 +01:00
|
|
|
test_test_translate_song_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
|
|
|
test_test_translate_song_LDADD = \
|
2014-02-07 19:01:06 +01:00
|
|
|
$(STORAGE_LIBS) \
|
2014-01-20 21:31:40 +01:00
|
|
|
libtag.a \
|
2014-08-06 16:34:24 +02:00
|
|
|
$(FS_LIBS) \
|
2014-11-29 23:59:37 +01:00
|
|
|
$(ICU_LDADD) \
|
2014-01-20 21:31:40 +01:00
|
|
|
libsystem.a \
|
|
|
|
libutil.a \
|
|
|
|
$(CPPUNIT_LIBS)
|
|
|
|
|
2014-01-30 20:29:48 +01:00
|
|
|
endif
|
|
|
|
|
2014-09-04 15:15:58 +02:00
|
|
|
test_test_protocol_SOURCES = \
|
|
|
|
src/protocol/ArgParser.cxx \
|
|
|
|
test/test_protocol.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_protocol_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2014-09-04 15:15:58 +02:00
|
|
|
test_test_protocol_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
|
|
|
test_test_protocol_LDADD = \
|
|
|
|
libsystem.a \
|
|
|
|
libutil.a \
|
|
|
|
$(CPPUNIT_LIBS)
|
|
|
|
|
2013-01-08 15:33:58 +01:00
|
|
|
test_test_queue_priority_SOURCES = \
|
2014-01-24 00:17:50 +01:00
|
|
|
src/queue/Queue.cxx \
|
2014-01-23 21:21:27 +01:00
|
|
|
src/DetachedSong.cxx \
|
2013-01-08 15:33:58 +01:00
|
|
|
test/test_queue_priority.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_test_queue_priority_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2013-10-16 21:55:00 +02:00
|
|
|
test_test_queue_priority_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
2013-01-08 15:33:58 +01:00
|
|
|
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 \
|
2013-10-16 21:55:00 +02:00
|
|
|
$(CPPUNIT_LIBS)
|
2011-07-19 00:34:33 +02:00
|
|
|
|
2015-06-22 21:29:29 +02:00
|
|
|
test_TestFs_SOURCES = \
|
|
|
|
test/TestFs.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_TestFs_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2015-06-22 21:29:29 +02:00
|
|
|
test_TestFs_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
|
|
|
test_TestFs_LDADD = \
|
|
|
|
$(FS_LIBS) \
|
|
|
|
$(CPPUNIT_LIBS)
|
|
|
|
|
2014-12-01 20:55:05 +01:00
|
|
|
test_TestIcu_SOURCES = \
|
|
|
|
test/TestIcu.cxx
|
2017-12-29 17:04:12 +01:00
|
|
|
test_TestIcu_CPPFLAGS = $(AM_CPPFLAGS) $(CPPUNIT_CFLAGS)
|
2014-12-01 20:55:05 +01:00
|
|
|
test_TestIcu_CXXFLAGS = $(AM_CXXFLAGS) -Wno-error=deprecated-declarations
|
|
|
|
test_TestIcu_LDADD = \
|
|
|
|
$(ICU_LDADD) \
|
|
|
|
libutil.a \
|
|
|
|
$(CPPUNIT_LIBS)
|
|
|
|
|
2014-09-26 09:00:58 +02:00
|
|
|
if ENABLE_DSD
|
|
|
|
|
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 \
|
2013-11-04 08:08:54 +01:00
|
|
|
src/pcm/dsd2pcm/dsd2pcm.hpp \
|
2013-04-09 01:24:52 +02:00
|
|
|
src/pcm/dsd2pcm/noiseshape.c src/pcm/dsd2pcm/noiseshape.h \
|
2013-11-04 08:08:54 +01:00
|
|
|
src/pcm/dsd2pcm/noiseshape.hpp \
|
2013-04-09 01:24:52 +02:00
|
|
|
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
|
|
|
|
|
2014-09-26 09:00:58 +02:00
|
|
|
endif
|
|
|
|
|
2009-02-23 10:04:51 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Documentation
|
|
|
|
#
|
|
|
|
|
|
|
|
man_MANS = doc/mpd.1 doc/mpd.conf.5
|
2016-02-26 17:56:24 +01:00
|
|
|
doc_DATA = AUTHORS COPYING NEWS README.md 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
|
|
|
DOCBOOK_HTML = $(patsubst %.xml,%/index.html,$(DOCBOOK_FILES))
|
|
|
|
|
2016-04-22 10:01:02 +02:00
|
|
|
DOCBOOK_INCLUDES = $(wildcard $(srcdir)/doc/include/*.xml)
|
|
|
|
|
|
|
|
$(DOCBOOK_HTML): %/index.html: %.xml $(DOCBOOK_INCLUDES)
|
2014-09-02 13:44:38 +02:00
|
|
|
$(XMLTO) -o $(@D) --stringparam chunker.output.encoding=utf-8 html --stringparam use.id.as.filename=1 $<
|
2009-02-23 10:04:51 +01:00
|
|
|
|
2009-04-26 20:02:53 +02:00
|
|
|
doc/api/html/index.html: doc/doxygen.conf
|
2014-01-26 12:30:36 +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
|
2017-01-04 10:09:24 +01:00
|
|
|
rsync -vpruz --delete doc/ www.musicpd.org:/var/www/mpd/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 \
|
2013-11-04 08:08:54 +01:00
|
|
|
test/test_archive_bzip2.sh \
|
|
|
|
test/test_archive_iso9660.sh \
|
|
|
|
test/test_archive_zzip.sh \
|
2016-05-02 08:58:17 +02:00
|
|
|
$(wildcard $(srcdir)/scripts/*.rb) \
|
2012-02-18 12:33:49 +01:00
|
|
|
$(man_MANS) $(DOCBOOK_FILES) doc/mpdconf.example doc/doxygen.conf \
|
2016-05-02 08:56:21 +02:00
|
|
|
$(wildcard $(srcdir)/doc/include/*.xml) \
|
2016-12-13 10:53:41 +01:00
|
|
|
systemd/system/mpd.socket \
|
2017-12-05 11:24:52 +01:00
|
|
|
$(wildcard $(srcdir)/python/build/*.py) \
|
2014-11-26 20:10:00 +01:00
|
|
|
android/AndroidManifest.xml \
|
|
|
|
android/build.py \
|
|
|
|
android/custom_rules.xml \
|
|
|
|
android/res/values/strings.xml \
|
|
|
|
android/src/Bridge.java \
|
|
|
|
android/src/Loader.java \
|
|
|
|
android/src/Main.java \
|
2017-12-05 11:24:52 +01:00
|
|
|
win32/build.py \
|
2015-09-17 22:18:15 +02:00
|
|
|
win32/res/mpd.rc.in win32/res/mpd.ico \
|
|
|
|
src/haiku/App_MusicPD
|