SD: do not install dsm plugin twice
[vlc.git] / modules / services_discovery / Makefile.am
1 sddir = $(pluginsdir)/services_discovery
2 sd_LTLIBRARIES =
3
4 libmediadirs_plugin_la_SOURCES = services_discovery/mediadirs.c
5 sd_LTLIBRARIES += libmediadirs_plugin.la
6
7 libpodcast_plugin_la_SOURCES = services_discovery/podcast.c
8 libpodcast_plugin_la_LIBADD = $(LIBPTHREAD)
9 sd_LTLIBRARIES += libpodcast_plugin.la
10
11 libsap_plugin_la_SOURCES = services_discovery/sap.c
12 libsap_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sap)
13 libsap_plugin_la_LIBADD = $(LIBS_sap) $(SOCKET_LIBS)
14 sd_LTLIBRARIES += libsap_plugin.la
15
16 libbonjour_plugin_la_SOURCES = services_discovery/bonjour.c
17 libbonjour_plugin_la_CFLAGS = $(AM_CFLAGS) $(BONJOUR_CFLAGS)
18 libbonjour_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
19 libbonjour_plugin_la_LIBADD = $(BONJOUR_LIBS)
20 EXTRA_LTLIBRARIES += libbonjour_plugin.la
21 sd_LTLIBRARIES += $(LTLIBbonjour)
22
23 libmtp_plugin_la_SOURCES = services_discovery/mtp.c
24 libmtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS)
25 libmtp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
26 libmtp_plugin_la_LIBADD = $(MTP_LIBS)
27 EXTRA_LTLIBRARIES += libmtp_plugin.la
28 sd_LTLIBRARIES += $(LTLIBmtp)
29
30 libupnp_plugin_la_SOURCES = services_discovery/upnp.cpp services_discovery/upnp.hpp
31 libupnp_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(UPNP_CFLAGS)
32 libupnp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
33 libupnp_plugin_la_LIBADD = $(UPNP_LIBS)
34 EXTRA_LTLIBRARIES += libupnp_plugin.la
35 sd_LTLIBRARIES += $(LTLIBupnp)
36
37 libpulselist_plugin_la_SOURCES = services_discovery/pulse.c
38 libpulselist_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
39 libpulselist_plugin_la_LIBADD = libvlc_pulse.la $(PULSE_LIBS)
40 if HAVE_PULSE
41 sd_LTLIBRARIES += libpulselist_plugin.la
42 endif
43
44 libudev_plugin_la_SOURCES = services_discovery/udev.c
45 libudev_plugin_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
46 libudev_plugin_la_LIBADD = $(UDEV_LIBS)
47 if HAVE_ALSA
48 libudev_plugin_la_CFLAGS += $(ALSA_CFLAGS) -DHAVE_ALSA
49 libudev_plugin_la_LIBADD += $(ALSA_LIBS)
50 endif
51 libudev_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
52 EXTRA_LTLIBRARIES += libudev_plugin.la
53 sd_LTLIBRARIES += $(LTLIBudev)
54
55 libxcb_apps_plugin_la_SOURCES = services_discovery/xcb_apps.c
56 libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
57 libxcb_apps_plugin_la_LIBADD = $(XCB_LIBS)
58 if HAVE_XCB
59 sd_LTLIBRARIES += libxcb_apps_plugin.la
60 endif
61
62 libwindrive_plugin_la_SOURCES = services_discovery/windrive.c
63 if HAVE_WIN32
64 sd_LTLIBRARIES += libwindrive_plugin.la
65 endif
66
67 libos2drive_plugin_la_SOURCES = services_discovery/os2drive.c
68 if HAVE_OS2
69 sd_LTLIBRARIES += libos2drive_plugin.la
70 endif