]> git.sesse.net Git - vlc/blob - modules/control/Modules.am
win32: move single instance back-end to separate interface
[vlc] / 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
9 libvlc_motion_la_SOURCES = motionlib.c motionlib.h
10 if HAVE_DARWIN
11 libvlc_motion_la_SOURCES += unimotion.c unimotion.h
12 libvlc_motion_la_CFLAGS = $(AM_CFLAGS) -fconstant-cfstrings
13 endif
14 libvlc_motion_la_LDFLAGS = -static
15 noinst_LTLIBRARIES = libvlc_motion.la
16
17 libmotion_plugin_la_SOURCES = motion.c
18 libmotion_plugin_la_LIBADD = libvlc_motion.la
19 libmotion_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(controldir)'
20 if HAVE_DARWIN
21 libmotion_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
22 endif
23
24 control_LTLIBRARIES += \
25         libdummy_plugin.la \
26         libgestures_plugin.la \
27         libnetsync_plugin.la \
28         libhotkeys_plugin.la \
29         liboldrc_plugin.la
30
31 if HAVE_WIN32
32 control_LTLIBRARIES += libntservice_plugin.la
33 else
34 control_LTLIBRARIES += libmotion_plugin.la
35 endif
36
37 libdbus_plugin_la_SOURCES = \
38         dbus/dbus_introspect.h dbus/dbus_common.h \
39         dbus/dbus_root.c dbus/dbus_root.h \
40         dbus/dbus_player.c dbus/dbus_player.h \
41         dbus/dbus_tracklist.c dbus/dbus_tracklist.h \
42         dbus/dbus.c
43 libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
44 libdbus_plugin_la_LIBADD = $(DBUS_LIBS) $(LIBM)
45 if HAVE_DBUS
46 control_LTLIBRARIES += libdbus_plugin.la
47 endif
48
49 libxcb_hotkeys_plugin_la_SOURCES = globalhotkeys/xcb.c
50 libxcb_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) \
51         $(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS)
52 libxcb_hotkeys_plugin_la_LIBADD = $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
53 if HAVE_XCB_KEYSYMS
54 control_LTLIBRARIES += libxcb_hotkeys_plugin.la
55 endif
56
57 libwin_hotkeys_plugin_la_SOURCES = globalhotkeys/win32.c
58 libwin_msg_plugin_la_SOURCES = win_msg.c
59 if HAVE_WIN32
60 control_LTLIBRARIES += libwin_hotkeys_plugin.la libwin_msg_plugin.la
61 endif