]> git.sesse.net Git - vlc/blobdiff - modules/control/Modules.am
hotkeys: Fix test (was always true)
[vlc] / modules / control / Modules.am
index 1c64745fcb3501b29a836699cbd7be4f6a200302..30549d883ee8da8f5e33506413ea308a242d2b7b 100644 (file)
@@ -1,7 +1,56 @@
+SOURCES_dummy = dummy.c
 SOURCES_gestures = gestures.c
-SOURCES_http = http.c
+SOURCES_netsync = netsync.c
 SOURCES_ntservice = ntservice.c
-SOURCES_joystick = joystick.c
 SOURCES_hotkeys = hotkeys.c
 SOURCES_lirc = lirc.c
-SOURCES_rc = rc.c
+SOURCES_oldrc = rc.c
+if HAVE_DARWIN
+motion_extra = unimotion.c unimotion.h
+else
+motion_extra = $(NULL)
+endif
+SOURCES_motion = \
+        motion.c \
+        motionlib.c \
+        motionlib.h \
+        $(motion_extra) \
+        $(NULL)
+
+libvlc_LTLIBRARIES += \
+       libdummy_plugin.la \
+       libgestures_plugin.la \
+       libnetsync_plugin.la \
+       libhotkeys_plugin.la \
+       liboldrc_plugin.la
+
+libdbus_plugin_la_SOURCES = \
+       dbus/dbus_introspect.h dbus/dbus_common.h \
+       dbus/dbus_root.c dbus/dbus_root.h \
+       dbus/dbus_player.c dbus/dbus_player.h \
+       dbus/dbus_tracklist.c dbus/dbus_tracklist.h \
+       dbus/dbus.c
+libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
+libdbus_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) $(LIBM)
+if HAVE_DBUS
+libvlc_LTLIBRARIES += libdbus_plugin.la
+endif
+
+if !HAVE_WIN32
+libglobalhotkeys_plugin_la_SOURCES = globalhotkeys/xcb.c
+libglobalhotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS)
+libglobalhotkeys_plugin_la_LIBADD = $(AM_LIBADD) $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
+
+libvlc_LTLIBRARIES += \
+       $(LTLIBglobalhotkeys) \
+       libmotion_plugin.la
+else
+libglobalhotkeys_plugin_la_SOURCES = globalhotkeys/win32.c
+libglobalhotkeys_plugin_la_CFLAGS = $(AM_CFLAGS)
+libglobalhotkeys_plugin_la_LIBADD = $(AM_LIBADD)
+libglobalhotkeys_plugin_la_DEPENDENCIES = libglobalhotkeys_plugin.rc.o
+
+libvlc_LTLIBRARIES += \
+       libglobalhotkeys_plugin.la \
+       libntservice_plugin.la
+endif