]> git.sesse.net Git - vlc/blob - modules/misc/Modules.am
addons: add local storage module
[vlc] / modules / misc / Modules.am
1 SOURCES_vod_rtsp = rtsp.c
2
3 SOURCES_xml = xml/libxml.c
4
5 libaudioscrobbler_plugin_la_SOURCES = audioscrobbler.c
6 libaudioscrobbler_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBPTHREAD)
7 misc_LTLIBRARIES += libaudioscrobbler_plugin.la
8
9 libexport_plugin_la_SOURCES = \
10         playlist/html.c \
11         playlist/m3u.c \
12         playlist/xspf.c \
13         playlist/export.c
14 misc_LTLIBRARIES += libexport_plugin.la
15
16 libfingerprinter_plugin_la_SOURCES = fingerprinter.c \
17         webservices/acoustid.c webservices/acoustid.h \
18         webservices/json.c webservices/json.h
19 libfingerprinter_plugin_la_LIBADD = $(LIBM) $(LIBPTHREAD)
20 misc_LTLIBRARIES += libfingerprinter_plugin.la
21
22 libgnutls_plugin_la_SOURCES = gnutls.c dhparams.h
23 libgnutls_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNUTLS_CFLAGS)
24 libgnutls_plugin_la_LIBADD = $(GNUTLS_LIBS)
25 if HAVE_WIN32
26 libgnutls_plugin_la_LIBADD += $(SOCKET_LIBS)
27 endif
28 libgnutls_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(miscdir)'
29 if HAVE_DARWIN
30 libgnutls_plugin_la_LDFLAGS += -Wl,-framework,Security,-framework,CoreFoundation
31 endif
32 EXTRA_LTLIBRARIES += libgnutls_plugin.la
33 misc_LTLIBRARIES += $(LTLIBgnutls)
34
35 if HAVE_DARWIN
36 libsecuretransport_plugin_la_SOURCES = securetransport.c
37 libsecuretransport_plugin_la_CFLAGS = $(AM_CFLAGS) $(SECURETRANSPORT_CFLAGS)
38 libsecuretransport_plugin_la_LIBADD = $(SECURETRANSPORT_LIBS)
39 libsecuretransport_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(miscdir)' -Wl,-framework,Security,-framework,CoreFoundation
40 misc_LTLIBRARIES += libsecuretransport_plugin.la
41 endif
42
43 libxdg_screensaver_plugin_la_SOURCES = inhibit/xdg.c
44 if HAVE_XCB
45 misc_LTLIBRARIES += libxdg_screensaver_plugin.la
46 endif
47
48 libdbus_screensaver_plugin_la_SOURCES = inhibit/dbus.c
49 libdbus_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
50 libdbus_screensaver_plugin_la_LIBADD = $(DBUS_LIBS)
51 if HAVE_DBUS
52 misc_LTLIBRARIES += libdbus_screensaver_plugin.la
53 endif
54
55 liblogger_plugin_la_SOURCES = logger.c
56 if HAVE_ANDROID
57 liblogger_plugin_la_LIBADD = -llog
58 endif
59
60 libstats_plugin_la_SOURCES = stats.c
61
62 libaddonsfsstorage_plugin_la_SOURCES = addons/fsstorage.c addons/xmlreading.h
63
64 misc_LTLIBRARIES += \
65         liblogger_plugin.la \
66         libstats_plugin.la \
67         libaddonsfsstorage_plugin.la
68
69 if ENABLE_SOUT
70 misc_LTLIBRARIES += \
71         libvod_rtsp_plugin.la \
72         $(NULL)
73 endif