cdda: reorder to avoid forward declarations
[vlc.git] / modules / control / Makefile.am
blob2469a861901795b62b214ff835d178f08225183d
1 controldir = $(pluginsdir)/control
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/oldrc.c control/intromsg.h
10 liboldrc_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBM)
12 control_LTLIBRARIES = \
13         libdummy_plugin.la \
14         libgestures_plugin.la \
15         libhotkeys_plugin.la \
16         libnetsync_plugin.la \
17         liboldrc_plugin.la
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
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
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
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
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
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_DESKTOP
67 control_LTLIBRARIES += libntservice_plugin.la
68 control_LTLIBRARIES += libwin_hotkeys_plugin.la libwin_msg_plugin.la
69 endif