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

4
libmediadirs_plugin_la_SOURCES = services_discovery/mediadirs.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
5 6
sd_LTLIBRARIES += libmediadirs_plugin.la

7
libpodcast_plugin_la_SOURCES = services_discovery/podcast.c
8
libpodcast_plugin_la_LIBADD = $(LIBPTHREAD)
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
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
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
17 18 19 20 21 22
libbonjour_plugin_la_CFLAGS = $(AM_CFLAGS) $(BONJOUR_CFLAGS)
libbonjour_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
libbonjour_plugin_la_LIBADD = $(BONJOUR_LIBS)
EXTRA_LTLIBRARIES += libbonjour_plugin.la
sd_LTLIBRARIES += $(LTLIBbonjour)

23
libmtp_plugin_la_SOURCES = services_discovery/mtp.c
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
24 25 26 27 28 29
libmtp_plugin_la_CFLAGS = $(AM_CFLAGS) $(MTP_CFLAGS)
libmtp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
libmtp_plugin_la_LIBADD = $(MTP_LIBS)
EXTRA_LTLIBRARIES += libmtp_plugin.la
sd_LTLIBRARIES += $(LTLIBmtp)

30
libupnp_plugin_la_SOURCES = services_discovery/upnp.cpp services_discovery/upnp.hpp
Rémi Denis-Courmont's avatar
Rémi Denis-Courmont committed
31 32 33 34 35 36
libupnp_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(UPNP_CFLAGS)
libupnp_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
libupnp_plugin_la_LIBADD = $(UPNP_LIBS)
EXTRA_LTLIBRARIES += libupnp_plugin.la
sd_LTLIBRARIES += $(LTLIBupnp)

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 43
endif

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 48 49 50
if HAVE_ALSA
libudev_plugin_la_CFLAGS += $(ALSA_CFLAGS) -DHAVE_ALSA
libudev_plugin_la_LIBADD += $(ALSA_LIBS)
endif
51 52 53
libudev_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
EXTRA_LTLIBRARIES += libudev_plugin.la
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 66
endif

67
libos2drive_plugin_la_SOURCES = services_discovery/os2drive.c
68
if HAVE_OS2
69
sd_LTLIBRARIES += libos2drive_plugin.la
70
endif
71 72

sd_LTLIBRARIES += $(LTLIBdsm)