Commit 9b0de3ea authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

sd: remove recursion

parent 8b58a9e2
...@@ -4209,7 +4209,6 @@ AC_CONFIG_FILES([ ...@@ -4209,7 +4209,6 @@ AC_CONFIG_FILES([
modules/mux/Makefile modules/mux/Makefile
modules/notify/Makefile modules/notify/Makefile
modules/packetizer/Makefile modules/packetizer/Makefile
modules/services_discovery/Makefile
modules/stream_filter/Makefile modules/stream_filter/Makefile
modules/stream_out/Makefile modules/stream_out/Makefile
modules/text_renderer/Makefile modules/text_renderer/Makefile
......
...@@ -10,7 +10,6 @@ BASE_SUBDIRS = \ ...@@ -10,7 +10,6 @@ BASE_SUBDIRS = \
misc \ misc \
notify \ notify \
packetizer \ packetizer \
services_discovery \
stream_filter \ stream_filter \
text_renderer \ text_renderer \
video_chroma \ video_chroma \
...@@ -59,6 +58,7 @@ include audio_output/Makefile.am ...@@ -59,6 +58,7 @@ include audio_output/Makefile.am
include codec/Makefile.am include codec/Makefile.am
include demux/Makefile.am include demux/Makefile.am
include meta_engine/Makefile.am include meta_engine/Makefile.am
include services_discovery/Makefile.am
BUILT_SOURCES += dummy.cpp BUILT_SOURCES += dummy.cpp
......
sddir = $(pluginsdir)/services_discovery sddir = $(pluginsdir)/services_discovery
sd_LTLIBRARIES = sd_LTLIBRARIES =
EXTRA_LTLIBRARIES =
include ../common.am libmediadirs_plugin_la_SOURCES = services_discovery/mediadirs.c
libmediadirs_plugin_la_SOURCES = mediadirs.c
sd_LTLIBRARIES += libmediadirs_plugin.la sd_LTLIBRARIES += libmediadirs_plugin.la
libpodcast_plugin_la_SOURCES = podcast.c libpodcast_plugin_la_SOURCES = services_discovery/podcast.c
sd_LTLIBRARIES += libpodcast_plugin.la sd_LTLIBRARIES += libpodcast_plugin.la
libsap_plugin_la_SOURCES = sap.c libsap_plugin_la_SOURCES = services_discovery/sap.c
libsap_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sap) libsap_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sap)
libsap_plugin_la_LIBADD = $(LIBS_sap) $(SOCKET_LIBS) libsap_plugin_la_LIBADD = $(LIBS_sap) $(SOCKET_LIBS)
sd_LTLIBRARIES += libsap_plugin.la sd_LTLIBRARIES += libsap_plugin.la
libbonjour_plugin_la_SOURCES = bonjour.c libbonjour_plugin_la_SOURCES = services_discovery/bonjour.c
libbonjour_plugin_la_CFLAGS = $(AM_CFLAGS) $(BONJOUR_CFLAGS) libbonjour_plugin_la_CFLAGS = $(AM_CFLAGS) $(BONJOUR_CFLAGS)
libbonjour_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)' libbonjour_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
libbonjour_plugin_la_LIBADD = $(BONJOUR_LIBS) libbonjour_plugin_la_LIBADD = $(BONJOUR_LIBS)
EXTRA_LTLIBRARIES += libbonjour_plugin.la EXTRA_LTLIBRARIES += libbonjour_plugin.la
sd_LTLIBRARIES += $(LTLIBbonjour) sd_LTLIBRARIES += $(LTLIBbonjour)
libmtp_plugin_la_SOURCES = mtp.c libmtp_plugin_la_SOURCES = services_discovery/mtp.c
libmtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS) libmtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS)
libmtp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)' libmtp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
libmtp_plugin_la_LIBADD = $(MTP_LIBS) libmtp_plugin_la_LIBADD = $(MTP_LIBS)
EXTRA_LTLIBRARIES += libmtp_plugin.la EXTRA_LTLIBRARIES += libmtp_plugin.la
sd_LTLIBRARIES += $(LTLIBmtp) sd_LTLIBRARIES += $(LTLIBmtp)
libupnp_plugin_la_SOURCES = upnp.cpp upnp.hpp libupnp_plugin_la_SOURCES = services_discovery/upnp.cpp services_discovery/upnp.hpp
libupnp_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(UPNP_CFLAGS) libupnp_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(UPNP_CFLAGS)
libupnp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)' libupnp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
libupnp_plugin_la_LIBADD = $(UPNP_LIBS) libupnp_plugin_la_LIBADD = $(UPNP_LIBS)
EXTRA_LTLIBRARIES += libupnp_plugin.la EXTRA_LTLIBRARIES += libupnp_plugin.la
sd_LTLIBRARIES += $(LTLIBupnp) sd_LTLIBRARIES += $(LTLIBupnp)
libpulselist_plugin_la_SOURCES = pulse.c libpulselist_plugin_la_SOURCES = services_discovery/pulse.c
libpulselist_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS) libpulselist_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
libpulselist_plugin_la_LIBADD = ../libvlc_pulse.la $(PULSE_LIBS) libpulselist_plugin_la_LIBADD = libvlc_pulse.la $(PULSE_LIBS)
if HAVE_PULSE if HAVE_PULSE
sd_LTLIBRARIES += libpulselist_plugin.la sd_LTLIBRARIES += libpulselist_plugin.la
endif endif
libudev_plugin_la_SOURCES = udev.c libudev_plugin_la_SOURCES = services_discovery/udev.c
libudev_plugin_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS) libudev_plugin_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
libudev_plugin_la_LIBADD = $(UDEV_LIBS) libudev_plugin_la_LIBADD = $(UDEV_LIBS)
if HAVE_ALSA if HAVE_ALSA
...@@ -54,19 +51,19 @@ libudev_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)' ...@@ -54,19 +51,19 @@ libudev_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
EXTRA_LTLIBRARIES += libudev_plugin.la EXTRA_LTLIBRARIES += libudev_plugin.la
sd_LTLIBRARIES += $(LTLIBudev) sd_LTLIBRARIES += $(LTLIBudev)
libxcb_apps_plugin_la_SOURCES = xcb_apps.c libxcb_apps_plugin_la_SOURCES = services_discovery/xcb_apps.c
libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS) libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
libxcb_apps_plugin_la_LIBADD = $(XCB_LIBS) libxcb_apps_plugin_la_LIBADD = $(XCB_LIBS)
if HAVE_XCB if HAVE_XCB
sd_LTLIBRARIES += libxcb_apps_plugin.la sd_LTLIBRARIES += libxcb_apps_plugin.la
endif endif
libwindrive_plugin_la_SOURCES = windrive.c libwindrive_plugin_la_SOURCES = services_discovery/windrive.c
if HAVE_WIN32 if HAVE_WIN32
sd_LTLIBRARIES += libwindrive_plugin.la sd_LTLIBRARIES += libwindrive_plugin.la
endif endif
libos2drive_plugin_la_SOURCES = os2drive.c libos2drive_plugin_la_SOURCES = services_discovery/os2drive.c
if HAVE_OS2 if HAVE_OS2
sd_LTLIBRARIES += libos2drive_plugin.la sd_LTLIBRARIES += libos2drive_plugin.la
endif endif
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
# include "config.h" # include "config.h"
#endif #endif
#include "upnp.hpp" #include "services_discovery/upnp.hpp"
#include <vlc_plugin.h> #include <vlc_plugin.h>
#include <vlc_services_discovery.h> #include <vlc_services_discovery.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment