From 64dc5212f942db693cd94a0c7b46a0f9d16aba0a Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 7 Jan 2017 14:18:16 +0100 Subject: [PATCH] Makefile.am: add variable CURL_SOURCES --- Makefile.am | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/Makefile.am b/Makefile.am index 0900f39a2..124c3de4b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -233,6 +233,15 @@ libmpd_a_SOURCES += \ src/db/Selection.cxx src/db/Selection.hxx endif +CURL_SOURCES = \ + src/lib/curl/Version.cxx src/lib/curl/Version.hxx \ + src/lib/curl/Global.cxx src/lib/curl/Global.hxx \ + src/lib/curl/Request.cxx src/lib/curl/Request.hxx \ + src/lib/curl/Handler.hxx \ + src/lib/curl/Easy.hxx \ + src/lib/curl/Multi.hxx \ + src/lib/curl/Slist.hxx + UPNP_SOURCES = \ src/lib/upnp/Init.cxx src/lib/upnp/Init.hxx \ src/lib/upnp/ClientInit.cxx src/lib/upnp/ClientInit.hxx \ @@ -1279,13 +1288,7 @@ if ENABLE_CURL libinput_a_SOURCES += \ src/input/IcyInputStream.cxx src/input/IcyInputStream.hxx \ src/input/plugins/CurlInputPlugin.cxx src/input/plugins/CurlInputPlugin.hxx \ - src/lib/curl/Version.cxx src/lib/curl/Version.hxx \ - src/lib/curl/Global.cxx src/lib/curl/Global.hxx \ - src/lib/curl/Request.cxx src/lib/curl/Request.hxx \ - src/lib/curl/Handler.hxx \ - src/lib/curl/Easy.hxx \ - src/lib/curl/Multi.hxx \ - src/lib/curl/Slist.hxx \ + $(CURL_SOURCES) \ src/IcyMetaDataParser.cxx src/IcyMetaDataParser.hxx endif