]> git.sesse.net Git - vlc/blob - modules/control/Makefile.am
decoder: drain the audio output properly
[vlc] / modules / control / Makefile.am
1 controldir = $(pluginsdir)/control
2
3 libdummy_plugin_la_SOURCES = control/dummy.c control/intromsg.h
4 libgestures_plugin_la_SOURCES = control/gestures.c
5 libhotkeys_plugin_la_SOURCES = control/hotkeys.c
6 libhotkeys_plugin_la_LIBADD = $(LIBM)
7 libnetsync_plugin_la_SOURCES = control/netsync.c
8 libnetsync_plugin_la_LIBADD = $(SOCKET_LIBS)
9 liboldrc_plugin_la_SOURCES = control/rc.c control/intromsg.h
10 liboldrc_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBM)
11
12 control_LTLIBRARIES = \
13         libdummy_plugin.la \
14         libgestures_plugin.la \
15         libhotkeys_plugin.la \
16         libnetsync_plugin.la \
17         liboldrc_plugin.la
18
19 liblirc_plugin_la_SOURCES = control/lirc.c
20 liblirc_plugin_la_LIBADD = -llirc_client
21 if HAVE_LIRC
22 control_LTLIBRARIES += liblirc_plugin.la
23 endif
24
25 libvlc_motion_la_SOURCES = control/motionlib.c control/motionlib.h
26 if HAVE_DARWIN
27 libvlc_motion_la_SOURCES += control/unimotion.c control/unimotion.h
28 libvlc_motion_la_CFLAGS = $(AM_CFLAGS) -fconstant-cfstrings
29 endif
30 libvlc_motion_la_LDFLAGS = -static
31 noinst_LTLIBRARIES += libvlc_motion.la
32
33 libmotion_plugin_la_SOURCES = control/motion.c
34 libmotion_plugin_la_LIBADD = libvlc_motion.la
35 libmotion_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(controldir)'
36 if HAVE_DARWIN
37 libmotion_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
38 endif
39 if !HAVE_WIN32
40 control_LTLIBRARIES += libmotion_plugin.la
41 endif
42
43 libdbus_plugin_la_SOURCES = \
44         control/dbus/dbus_introspect.h control/dbus/dbus_common.h \
45         control/dbus/dbus_root.c control/dbus/dbus_root.h \
46         control/dbus/dbus_player.c control/dbus/dbus_player.h \
47         control/dbus/dbus_tracklist.c control/dbus/dbus_tracklist.h \
48         control/dbus/dbus.c
49 libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
50 libdbus_plugin_la_LIBADD = $(DBUS_LIBS) $(LIBM)
51 if HAVE_DBUS
52 control_LTLIBRARIES += libdbus_plugin.la
53 endif
54
55 libxcb_hotkeys_plugin_la_SOURCES = control/globalhotkeys/xcb.c
56 libxcb_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) \
57         $(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS)
58 libxcb_hotkeys_plugin_la_LIBADD = $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
59 if HAVE_XCB_KEYSYMS
60 control_LTLIBRARIES += libxcb_hotkeys_plugin.la
61 endif
62
63 libntservice_plugin_la_SOURCES = control/ntservice.c
64 libwin_hotkeys_plugin_la_SOURCES = control/globalhotkeys/win32.c
65 libwin_msg_plugin_la_SOURCES = control/win_msg.c
66 if HAVE_WIN32
67 control_LTLIBRARIES += libntservice_plugin.la
68 if !HAVE_WINSTORE
69 control_LTLIBRARIES += libwin_hotkeys_plugin.la libwin_msg_plugin.la
70 endif
71 endif