Commit 52607882 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

control: remove Makefile recursion

parent a80fe1ea
...@@ -4136,7 +4136,6 @@ AC_CONFIG_FILES([ ...@@ -4136,7 +4136,6 @@ AC_CONFIG_FILES([
bin/Makefile bin/Makefile
test/Makefile test/Makefile
modules/access_output/Makefile modules/access_output/Makefile
modules/control/Makefile
modules/gui/Makefile modules/gui/Makefile
modules/gui/ios_dialog_provider/Makefile modules/gui/ios_dialog_provider/Makefile
modules/gui/macosx/Makefile modules/gui/macosx/Makefile
......
...@@ -4,7 +4,6 @@ check_PROGRAMS = ...@@ -4,7 +4,6 @@ check_PROGRAMS =
EXTRA_DIST = EXTRA_DIST =
BASE_SUBDIRS = \ BASE_SUBDIRS = \
control \
gui \ gui \
video_filter \ video_filter \
visualization visualization
...@@ -37,6 +36,7 @@ include audio_filter/Makefile.am ...@@ -37,6 +36,7 @@ include audio_filter/Makefile.am
include audio_mixer/Makefile.am include audio_mixer/Makefile.am
include audio_output/Makefile.am include audio_output/Makefile.am
include codec/Makefile.am include codec/Makefile.am
include control/Makefile.am
include demux/Makefile.am include demux/Makefile.am
include hw/vdpau/Makefile.am include hw/vdpau/Makefile.am
include logger/Makefile.am include logger/Makefile.am
......
libdummy_plugin_la_SOURCES = dummy.c controldir = $(pluginsdir)/control
libgestures_plugin_la_SOURCES = gestures.c
libhotkeys_plugin_la_SOURCES = hotkeys.c libdummy_plugin_la_SOURCES = control/dummy.c
libgestures_plugin_la_SOURCES = control/gestures.c
libhotkeys_plugin_la_SOURCES = control/hotkeys.c
libhotkeys_plugin_la_LIBADD = $(LIBM) libhotkeys_plugin_la_LIBADD = $(LIBM)
libnetsync_plugin_la_SOURCES = netsync.c libnetsync_plugin_la_SOURCES = control/netsync.c
libnetsync_plugin_la_LIBADD = $(SOCKET_LIBS) libnetsync_plugin_la_LIBADD = $(SOCKET_LIBS)
liboldrc_plugin_la_SOURCES = rc.c liboldrc_plugin_la_SOURCES = control/rc.c
liboldrc_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBM) liboldrc_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBM)
control_LTLIBRARIES += \ control_LTLIBRARIES = \
libdummy_plugin.la \ libdummy_plugin.la \
libgestures_plugin.la \ libgestures_plugin.la \
libhotkeys_plugin.la \ libhotkeys_plugin.la \
libnetsync_plugin.la \ libnetsync_plugin.la \
liboldrc_plugin.la liboldrc_plugin.la
liblirc_plugin_la_SOURCES = lirc.c liblirc_plugin_la_SOURCES = control/lirc.c
liblirc_plugin_la_LIBADD = -llirc_client liblirc_plugin_la_LIBADD = -llirc_client
if HAVE_LIRC if HAVE_LIRC
control_LTLIBRARIES += liblirc_plugin.la control_LTLIBRARIES += liblirc_plugin.la
endif endif
libvlc_motion_la_SOURCES = motionlib.c motionlib.h libvlc_motion_la_SOURCES = control/motionlib.c control/motionlib.h
if HAVE_DARWIN if HAVE_DARWIN
libvlc_motion_la_SOURCES += unimotion.c unimotion.h libvlc_motion_la_SOURCES += control/unimotion.c control/unimotion.h
libvlc_motion_la_CFLAGS = $(AM_CFLAGS) -fconstant-cfstrings libvlc_motion_la_CFLAGS = $(AM_CFLAGS) -fconstant-cfstrings
endif endif
libvlc_motion_la_LDFLAGS = -static libvlc_motion_la_LDFLAGS = -static
noinst_LTLIBRARIES = libvlc_motion.la noinst_LTLIBRARIES += libvlc_motion.la
libmotion_plugin_la_SOURCES = motion.c libmotion_plugin_la_SOURCES = control/motion.c
libmotion_plugin_la_LIBADD = libvlc_motion.la libmotion_plugin_la_LIBADD = libvlc_motion.la
libmotion_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(controldir)' libmotion_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(controldir)'
if HAVE_DARWIN if HAVE_DARWIN
...@@ -39,18 +41,18 @@ control_LTLIBRARIES += libmotion_plugin.la ...@@ -39,18 +41,18 @@ control_LTLIBRARIES += libmotion_plugin.la
endif endif
libdbus_plugin_la_SOURCES = \ libdbus_plugin_la_SOURCES = \
dbus/dbus_introspect.h dbus/dbus_common.h \ control/dbus/dbus_introspect.h control/dbus/dbus_common.h \
dbus/dbus_root.c dbus/dbus_root.h \ control/dbus/dbus_root.c control/dbus/dbus_root.h \
dbus/dbus_player.c dbus/dbus_player.h \ control/dbus/dbus_player.c control/dbus/dbus_player.h \
dbus/dbus_tracklist.c dbus/dbus_tracklist.h \ control/dbus/dbus_tracklist.c control/dbus/dbus_tracklist.h \
dbus/dbus.c control/dbus/dbus.c
libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
libdbus_plugin_la_LIBADD = $(DBUS_LIBS) $(LIBM) libdbus_plugin_la_LIBADD = $(DBUS_LIBS) $(LIBM)
if HAVE_DBUS if HAVE_DBUS
control_LTLIBRARIES += libdbus_plugin.la control_LTLIBRARIES += libdbus_plugin.la
endif endif
libxcb_hotkeys_plugin_la_SOURCES = globalhotkeys/xcb.c libxcb_hotkeys_plugin_la_SOURCES = control/globalhotkeys/xcb.c
libxcb_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) \ libxcb_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) \
$(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS) $(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS)
libxcb_hotkeys_plugin_la_LIBADD = $(XCB_KEYSYMS_LIBS) $(XCB_LIBS) libxcb_hotkeys_plugin_la_LIBADD = $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
...@@ -58,9 +60,9 @@ if HAVE_XCB_KEYSYMS ...@@ -58,9 +60,9 @@ if HAVE_XCB_KEYSYMS
control_LTLIBRARIES += libxcb_hotkeys_plugin.la control_LTLIBRARIES += libxcb_hotkeys_plugin.la
endif endif
libntservice_plugin_la_SOURCES = ntservice.c libntservice_plugin_la_SOURCES = control/ntservice.c
libwin_hotkeys_plugin_la_SOURCES = globalhotkeys/win32.c libwin_hotkeys_plugin_la_SOURCES = control/globalhotkeys/win32.c
libwin_msg_plugin_la_SOURCES = win_msg.c libwin_msg_plugin_la_SOURCES = control/win_msg.c
if HAVE_WIN32 if HAVE_WIN32
control_LTLIBRARIES += libntservice_plugin.la control_LTLIBRARIES += libntservice_plugin.la
if !HAVE_WINSTORE if !HAVE_WINSTORE
......
...@@ -69,7 +69,7 @@ SOURCES_opencv_wrapper = opencv_wrapper.c ...@@ -69,7 +69,7 @@ SOURCES_opencv_wrapper = opencv_wrapper.c
SOURCES_opencv_example = opencv_example.cpp filter_event_info.h SOURCES_opencv_example = opencv_example.cpp filter_event_info.h
librotate_plugin_la_SOURCES = rotate.c librotate_plugin_la_SOURCES = rotate.c
librotate_plugin_la_LIBADD = ../control/libvlc_motion.la $(LIBM) librotate_plugin_la_LIBADD = ../libvlc_motion.la $(LIBM)
librotate_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)' librotate_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(video_filterdir)'
if HAVE_DARWIN if HAVE_DARWIN
librotate_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation librotate_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment