UPnP database plugin
[mk: renamed source files, applied coding style, reduced bloat, using MPD's threading library, using MPD's error reporting and logging library and refactoring, fixed lots of bugs]
This commit is contained in:
committed by
Max Kellermann
parent
12b139beaf
commit
406452f019
+22
@@ -407,6 +407,24 @@ DB_LIBS = \
|
||||
libdb_plugins.a \
|
||||
$(LIBMPDCLIENT_LIBS)
|
||||
|
||||
if HAVE_LIBUPNP
|
||||
libdb_plugins_a_SOURCES += \
|
||||
src/db/UpnpDatabasePlugin.cxx src/db/UpnpDatabasePlugin.hxx \
|
||||
src/db/upnp/ContentDirectoryService.cxx src/db/upnp/ContentDirectoryService.hxx \
|
||||
src/db/upnp/Device.cxx src/db/upnp/Device.hxx \
|
||||
src/db/upnp/Directory.cxx src/db/upnp/Directory.hxx \
|
||||
src/db/upnp/Discovery.cxx src/db/upnp/Discovery.hxx \
|
||||
src/db/upnp/Domain.cxx src/db/upnp/Domain.hxx \
|
||||
src/db/upnp/ixmlwrap.cxx src/db/upnp/ixmlwrap.hxx \
|
||||
src/db/upnp/upnpplib.cxx src/db/upnp/upnpplib.hxx \
|
||||
src/db/upnp/Util.cxx src/db/upnp/Util.hxx \
|
||||
src/db/upnp/WorkQueue.hxx \
|
||||
src/db/upnp/Object.hxx
|
||||
DB_LIBS += \
|
||||
$(EXPAT_LIBS) \
|
||||
$(UPNP_LIBS)
|
||||
endif
|
||||
|
||||
# archive plugins
|
||||
|
||||
if ENABLE_ARCHIVE
|
||||
@@ -1200,6 +1218,10 @@ test_DumpDatabase_SOURCES = test/DumpDatabase.cxx \
|
||||
src/TagSave.cxx \
|
||||
src/SongFilter.cxx
|
||||
|
||||
if HAVE_LIBUPNP
|
||||
test_DumpDatabase_SOURCES += src/Expat.cxx
|
||||
endif
|
||||
|
||||
test_run_input_LDADD = \
|
||||
$(INPUT_LIBS) \
|
||||
$(ARCHIVE_LIBS) \
|
||||
|
||||
Reference in New Issue
Block a user