37b93579d7095b4db1925be7c14bdc56f28c869c
[vlc.git] / modules / control / Modules.am
1 SOURCES_dummy = dummy.c
2 SOURCES_gestures = gestures.c
3 SOURCES_netsync = netsync.c
4 SOURCES_ntservice = ntservice.c
5 SOURCES_hotkeys = hotkeys.c
6 SOURCES_lirc = lirc.c
7 SOURCES_oldrc = rc.c
8 if HAVE_DARWIN
9 motion_extra = unimotion.c unimotion.h
10 else
11 motion_extra = $(NULL)
12 endif
13 SOURCES_motion = \
14         motion.c \
15         motionlib.c \
16         motionlib.h \
17         $(motion_extra) \
18         $(NULL)
19
20 libvlc_LTLIBRARIES += \
21         libdummy_plugin.la \
22         libgestures_plugin.la \
23         libnetsync_plugin.la \
24         libhotkeys_plugin.la \
25         liboldrc_plugin.la
26
27 if HAVE_WIN32
28 libvlc_LTLIBRARIES += libntservice_plugin.la
29 else
30 libvlc_LTLIBRARIES += libmotion_plugin.la
31 endif
32
33 libdbus_plugin_la_SOURCES = \
34         dbus/dbus_introspect.h dbus/dbus_common.h \
35         dbus/dbus_root.c dbus/dbus_root.h \
36         dbus/dbus_player.c dbus/dbus_player.h \
37         dbus/dbus_tracklist.c dbus/dbus_tracklist.h \
38         dbus/dbus.c
39 libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
40 libdbus_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) $(LIBM)
41 if HAVE_DBUS
42 libvlc_LTLIBRARIES += libdbus_plugin.la
43 endif
44
45 libxcb_hotkeys_plugin_la_SOURCES = globalhotkeys/xcb.c
46 libxcb_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) \
47         $(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS)
48 libxcb_hotkeys_plugin_la_LIBADD = $(AM_LIBADD) $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
49 EXTRA_LTLIBRARIES += libxcb_hotkeys_plugin.la
50 libvlc_LTLIBRARIES += $(LTLIBxcb_hotkeys)
51
52 libwin_hotkeys_plugin_la_SOURCES = globalhotkeys/win32.c
53 libwin_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS)
54 libwin_hotkeys_plugin_la_LIBADD = $(AM_LIBADD)
55 if HAVE_WIN32
56 libvlc_LTLIBRARIES += libwin_hotkeys_plugin.la
57 endif