aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-26 11:19:17 +0100
committerMax Kellermann <max@duempel.org>2014-01-26 15:51:33 +0100
commit0b3fbdba87e9ecbfaefab9f71203a1c35f1a8b00 (patch)
tree4e103fbcbea5dd504054f0d60dbc84e83ceed52b /Makefile.am
parent3dad837ca692df4eecee9c16fd9155b4ca23e289 (diff)
downloadmpd-0b3fbdba87e9ecbfaefab9f71203a1c35f1a8b00.tar.gz
mpd-0b3fbdba87e9ecbfaefab9f71203a1c35f1a8b00.tar.xz
mpd-0b3fbdba87e9ecbfaefab9f71203a1c35f1a8b00.zip
neighbor/upnp: UPnP media server discovery
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 0acca6b31..8a648e45b 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -436,6 +436,15 @@ NEIGHBOR_LIBS = \
$(SMBCLIENT_LIBS) \
libneighbor.a
+if HAVE_LIBUPNP
+libneighbor_a_SOURCES += \
+ $(UPNP_SOURCES) \
+ src/neighbor/plugins/UpnpNeighborPlugin.cxx src/neighbor/plugins/UpnpNeighborPlugin.hxx
+NEIGHBOR_LIBS += \
+ $(EXPAT_LIBS) \
+ $(UPNP_LIBS)
+endif
+
endif
# database plugins
@@ -1323,10 +1332,14 @@ if ENABLE_NEIGHBOR_PLUGINS
test_run_neighbor_explorer_SOURCES = \
src/Log.cxx src/LogBackend.cxx \
+ src/IOThread.cxx \
test/run_neighbor_explorer.cxx
test_run_neighbor_explorer_LDADD = \
$(GLIB_LIBS) \
$(NEIGHBOR_LIBS) \
+ $(INPUT_LIBS) \
+ $(ARCHIVE_LIBS) \
+ libtag.a \
libconf.a \
libevent.a \
libfs.a \
@@ -1334,6 +1347,16 @@ test_run_neighbor_explorer_LDADD = \
libthread.a \
libutil.a
+if HAVE_LIBUPNP
+test_run_neighbor_explorer_SOURCES += src/lib/expat/ExpatParser.cxx
+endif
+
+if ENABLE_DESPOTIFY
+test_run_neighbor_explorer_SOURCES += \
+ src/lib/despotify/DespotifyUtils.cxx \
+ src/lib/despotify/DespotifyUtils.hxx
+endif
+
endif
if ENABLE_ARCHIVE