07e2b4204b58188197d069e0d1fb9754643ad9da
[vlc.git] / modules / services_discovery / Modules.am
1 SOURCES_upnp = upnp.cpp upnp.hpp
2 SOURCES_bonjour = bonjour.c
3 SOURCES_podcast = podcast.c
4 SOURCES_mtp = mtp.c
5 SOURCES_mediadirs = mediadirs.c
6
7 libsap_plugin_la_SOURCES = sap.c
8 libsap_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sap)
9 libsap_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_sap) $(SOCKET_LIBS)
10 if HAVE_WIN32
11 libsap_plugin_la_DEPENDENCIES = libsap_plugin.rc.o
12 endif
13
14 libpulselist_plugin_la_SOURCES = pulse.c
15 libpulselist_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
16 libpulselist_plugin_la_LIBADD = ../libvlc_pulse.la \
17         $(AM_LIBADD) $(PULSE_LIBS)
18 if HAVE_PULSE
19 libvlc_LTLIBRARIES += libpulselist_plugin.la
20 endif
21
22 libudev_plugin_la_SOURCES = udev.c
23 libudev_plugin_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
24 libudev_plugin_la_LIBADD = $(AM_LIBADD) $(UDEV_LIBS)
25 if HAVE_ALSA
26 libudev_plugin_la_CFLAGS += $(ALSA_CFLAGS) -DHAVE_ALSA
27 libudev_plugin_la_LIBADD += $(ALSA_LIBS)
28 endif
29
30 libxcb_apps_plugin_la_SOURCES = xcb_apps.c
31 libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) \
32         $(XCB_CFLAGS)
33 libxcb_apps_plugin_la_LIBADD = $(AM_LIBADD) \
34         $(XCB_LIBS)
35 if HAVE_XCB
36 libvlc_LTLIBRARIES += libxcb_apps_plugin.la
37 endif
38
39 libwindrive_plugin_la_SOURCES = windrive.c
40 libwindrive_plugin_la_CFLAGS = $(AM_CFLAGS)
41 libwindrive_plugin_la_LIBADD = $(AM_LIBADD)
42 if HAVE_WIN32
43 libvlc_LTLIBRARIES += libwindrive_plugin.la
44 libwindrive_plugin_la_DEPENDENCIES = libwindrive_plugin.rc.o
45 endif
46
47 libos2drive_plugin_la_SOURCES = os2drive.c
48 libos2drive_plugin_la_CFLAGS = $(AM_CFLAGS)
49 libos2drive_plugin_la_LIBADD = $(AM_LIBADD)
50 if HAVE_OS2
51 libvlc_LTLIBRARIES += libos2drive_plugin.la
52 endif
53
54 EXTRA_LTLIBRARIES += \
55         libudev_plugin.la
56 libvlc_LTLIBRARIES += \
57         libmediadirs_plugin.la \
58         libpodcast_plugin.la \
59         libsap_plugin.la \
60         $(LTLIBudev)