d2ed1e4cbef6121c02dcbafa33420cb5a55bf480
[vlc.git] / modules / misc / Modules.am
1 SOURCES_vod_rtsp = rtsp.c
2 SOURCES_audioscrobbler = audioscrobbler.c
3 SOURCES_fingerprinter = fingerprinter.c \
4         webservices/acoustid.c \
5         webservices/acoustid.h \
6         webservices/json.c \
7         webservices/json.h
8
9 SOURCES_xml = xml/libxml.c
10
11 libexport_plugin_la_SOURCES = \
12         playlist/html.c \
13         playlist/m3u.c \
14         playlist/xspf.c \
15         playlist/export.c
16 libexport_plugin_la_CFLAGS = $(AM_CFLAGS)
17 libexport_plugin_la_LIBADD = $(AM_LIBADD)
18 if HAVE_WIN32
19 libexport_plugin_la_DEPENDENCIES = libexport_plugin.rc.o
20 endif
21 libvlc_LTLIBRARIES += libexport_plugin.la
22
23 libgnutls_plugin_la_SOURCES = gnutls.c dhparams.h
24 libgnutls_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNUTLS_CFLAGS)
25 libgnutls_plugin_la_LIBADD = $(AM_LIBADD) $(GNUTLS_LIBS)
26 if HAVE_WIN32
27 libgnutls_plugin_la_LIBADD += $(SOCKET_LIBS)
28 libgnutls_plugin_la_DEPENDENCIES = libgnutls_plugin.rc.o
29 endif
30 EXTRA_LTLIBRARIES += libgnutls_plugin.la
31 libvlc_LTLIBRARIES += $(LTLIBgnutls)
32
33 libxdg_screensaver_plugin_la_SOURCES = inhibit/xdg.c
34 libxdg_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS)
35 libxdg_screensaver_plugin_la_LIBADD = $(AM_LIBADD)
36 if HAVE_XCB
37 libvlc_LTLIBRARIES += \
38         libxdg_screensaver_plugin.la
39 endif
40
41 libdbus_screensaver_plugin_la_SOURCES = inhibit/dbus.c
42 libdbus_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
43 libdbus_screensaver_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS)
44 if HAVE_DBUS
45 libvlc_LTLIBRARIES += libdbus_screensaver_plugin.la
46 endif
47
48 liblogger_plugin_la_SOURCES = logger.c
49 liblogger_plugin_la_CFLAGS = $(AM_CFLAGS)
50 liblogger_plugin_la_LIBADD = $(AM_LIBADD)
51 if HAVE_ANDROID
52 liblogger_plugin_la_LIBADD += -llog
53 endif
54 if HAVE_WIN32
55 liblogger_plugin_la_DEPENDENCIES = liblogger_plugin.rc.o
56 endif
57
58 libstats_plugin_la_SOURCES = stats.c
59 libstats_plugin_la_CFLAGS = $(AM_CFLAGS)
60 libstats_plugin_la_LIBADD = $(AM_LIBADD)
61 if HAVE_WIN32
62 libstats_plugin_la_DEPENDENCIES = libstats_plugin.rc.o
63 endif
64
65 libvlc_LTLIBRARIES += \
66         libaudioscrobbler_plugin.la \
67         liblogger_plugin.la \
68         libstats_plugin.la
69
70 if ENABLE_SOUT
71 libvlc_LTLIBRARIES += \
72         libvod_rtsp_plugin.la \
73         $(NULL)
74 endif