mosaic: use vlc_picture_chain_HasNext to check if we can drop a picture
[vlc.git] / 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 # XXX: netsync disabled, move current code to new playlist/player and add a
8 # way to control the output clock from the player
9 #libnetsync_plugin_la_SOURCES = control/netsync.c
10 #libnetsync_plugin_la_LIBADD = $(SOCKET_LIBS)
11 librc_plugin_la_SOURCES = control/rc.c control/intromsg.h
12 librc_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBM)
13
14 control_LTLIBRARIES = \
15         libdummy_plugin.la \
16         libgestures_plugin.la \
17         libhotkeys_plugin.la \
18         librc_plugin.la
19
20 liblirc_plugin_la_SOURCES = control/lirc.c
21 liblirc_plugin_la_LIBADD = -llirc_client
22 if HAVE_LIRC
23 control_LTLIBRARIES += liblirc_plugin.la
24 endif
25
26 libvlc_motion_la_SOURCES = control/motionlib.c control/motionlib.h
27 if HAVE_DARWIN
28 libvlc_motion_la_SOURCES += control/unimotion.c control/unimotion.h
29 libvlc_motion_la_CFLAGS = $(AM_CFLAGS) -fconstant-cfstrings
30 endif
31 libvlc_motion_la_LDFLAGS = -static
32 noinst_LTLIBRARIES += libvlc_motion.la
33
34 libdbus_plugin_la_SOURCES = \
35         control/dbus/dbus_introspect.h control/dbus/dbus_common.h \
36         control/dbus/dbus_root.c control/dbus/dbus_root.h \
37         control/dbus/dbus_player.c control/dbus/dbus_player.h \
38         control/dbus/dbus_tracklist.c control/dbus/dbus_tracklist.h \
39         control/dbus/dbus.c
40 libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
41 libdbus_plugin_la_LIBADD = $(DBUS_LIBS) $(LIBM)
42 if HAVE_DBUS
43 control_LTLIBRARIES += libdbus_plugin.la
44 endif
45
46 libxcb_hotkeys_plugin_la_SOURCES = control/globalhotkeys/xcb.c
47 libxcb_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) \
48         $(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS)
49 libxcb_hotkeys_plugin_la_LIBADD = $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
50 if HAVE_XCB_KEYSYMS
51 control_LTLIBRARIES += libxcb_hotkeys_plugin.la
52 endif
53
54 libntservice_plugin_la_SOURCES = control/ntservice.c
55 libwin_hotkeys_plugin_la_SOURCES = control/globalhotkeys/win32.c
56 libwin_msg_plugin_la_SOURCES = control/win_msg.c
57 if HAVE_WIN32_DESKTOP
58 control_LTLIBRARIES += libntservice_plugin.la
59 control_LTLIBRARIES += libwin_hotkeys_plugin.la libwin_msg_plugin.la
60 endif