Modules.am 1.71 KB
Newer Older
1 2 3
sddir = $(pluginsdir)/services_discovery
sd_LTLIBRARIES =

4
SOURCES_upnp = upnp.cpp upnp.hpp
5
SOURCES_bonjour = bonjour.c
6
SOURCES_podcast = podcast.c
7
SOURCES_mtp = mtp.c
8
SOURCES_mediadirs = mediadirs.c
9

10 11 12
libsap_plugin_la_SOURCES = sap.c
libsap_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sap)
libsap_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_sap) $(SOCKET_LIBS)
13 14 15
if HAVE_WIN32
libsap_plugin_la_DEPENDENCIES = libsap_plugin.rc.o
endif
16
sd_LTLIBRARIES += libsap_plugin.la
17

18
libpulselist_plugin_la_SOURCES = pulse.c
19
libpulselist_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
20 21
libpulselist_plugin_la_LIBADD = ../libvlc_pulse.la \
	$(AM_LIBADD) $(PULSE_LIBS)
22
if HAVE_PULSE
23
sd_LTLIBRARIES += libpulselist_plugin.la
24 25
endif

26 27 28 29 30 31 32
libudev_plugin_la_SOURCES = udev.c
libudev_plugin_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
libudev_plugin_la_LIBADD = $(AM_LIBADD) $(UDEV_LIBS)
if HAVE_ALSA
libudev_plugin_la_CFLAGS += $(ALSA_CFLAGS) -DHAVE_ALSA
libudev_plugin_la_LIBADD += $(ALSA_LIBS)
endif
33 34 35
libudev_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
EXTRA_LTLIBRARIES += libudev_plugin.la
sd_LTLIBRARIES += $(LTLIBudev)
36 37

libxcb_apps_plugin_la_SOURCES = xcb_apps.c
38 39
libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
libxcb_apps_plugin_la_LIBADD = $(AM_LIBADD) $(XCB_LIBS)
40
if HAVE_XCB
41
sd_LTLIBRARIES += libxcb_apps_plugin.la
42
endif
43

44 45 46
libwindrive_plugin_la_SOURCES = windrive.c
libwindrive_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
47
sd_LTLIBRARIES += libwindrive_plugin.la
48
libwindrive_plugin_la_DEPENDENCIES = libwindrive_plugin.rc.o
49 50
endif

51 52 53
libos2drive_plugin_la_SOURCES = os2drive.c
libos2drive_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_OS2
54
sd_LTLIBRARIES += libos2drive_plugin.la
55 56
endif

57
services_discovery_LTLIBRARIES += \
58
	libmediadirs_plugin.la \
59
	libpodcast_plugin.la