]> git.sesse.net Git - vlc/blob - modules/control/Modules.am
Use _WIN32 rather than WIN32 (same for WIN64)
[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 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 libdbus_plugin_la_SOURCES = \
28         dbus/dbus_introspect.h dbus/dbus_common.h \
29         dbus/dbus_root.c dbus/dbus_root.h \
30         dbus/dbus_player.c dbus/dbus_player.h \
31         dbus/dbus_tracklist.c dbus/dbus_tracklist.h \
32         dbus/dbus.c
33 libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
34 libdbus_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) $(LIBM)
35 if HAVE_DBUS
36 libvlc_LTLIBRARIES += libdbus_plugin.la
37 endif
38
39 if !HAVE_WIN32
40 libglobalhotkeys_plugin_la_SOURCES = globalhotkeys/xcb.c
41 libglobalhotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS)
42 libglobalhotkeys_plugin_la_LIBADD = $(AM_LIBADD) $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
43
44 libvlc_LTLIBRARIES += \
45         $(LTLIBglobalhotkeys) \
46         libmotion_plugin.la
47 else
48 libglobalhotkeys_plugin_la_SOURCES = globalhotkeys/win32.c
49 libglobalhotkeys_plugin_la_CFLAGS = $(AM_CFLAGS)
50 libglobalhotkeys_plugin_la_LIBADD = $(AM_LIBADD)
51
52 libvlc_LTLIBRARIES += \
53         libglobalhotkeys_plugin.la \
54         libntservice_plugin.la
55 endif