Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
a80fe1ea
Commit
a80fe1ea
authored
Feb 10, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control: clean up build rules
parent
cb4ea7cc
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
29 deletions
+35
-29
configure.ac
configure.ac
+11
-11
modules/control/Modules.am
modules/control/Modules.am
+24
-18
No files found.
configure.ac
View file @
a80fe1ea
...
@@ -650,7 +650,7 @@ AC_CHECK_FUNCS([if_nameindex if_nametoindex])
...
@@ -650,7 +650,7 @@ AC_CHECK_FUNCS([if_nameindex if_nametoindex])
VLC_RESTORE_FLAGS
VLC_RESTORE_FLAGS
AS_IF([test -n "$SOCKET_LIBS"], [
AS_IF([test -n "$SOCKET_LIBS"], [
VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop stream_out_chromecast
oldrc netsync
ts remoteosd audiobargraph_a],[${SOCKET_LIBS}])
VLC_ADD_LIBS([access_rtmp access_output_shout sap stream_out_standard stream_out_rtp stream_out_raop stream_out_chromecast ts remoteosd audiobargraph_a],[${SOCKET_LIBS}])
])
])
AC_SUBST(SOCKET_LIBS)
AC_SUBST(SOCKET_LIBS)
...
@@ -699,7 +699,7 @@ AC_CHECK_FUNC(getopt_long,, [
...
@@ -699,7 +699,7 @@ AC_CHECK_FUNC(getopt_long,, [
AC_SUBST(GNUGETOPT_LIBS)
AC_SUBST(GNUGETOPT_LIBS)
AC_CHECK_LIB(m,cos,[
AC_CHECK_LIB(m,cos,[
VLC_ADD_LIBS([adjust wave ripple psychedelic gradient x264 goom noise grain scene swscale postproc mpc qt4 audiobargraph_v colorthres extract ball
hotkeys mosaic gaussianblur x262 x26410b hqdn3d anaglyph oldrc
ncurses oldmovie glspectrum smooth],[-lm])
VLC_ADD_LIBS([adjust wave ripple psychedelic gradient x264 goom noise grain scene swscale postproc mpc qt4 audiobargraph_v colorthres extract ball
mosaic gaussianblur x262 x26410b hqdn3d anaglyph
ncurses oldmovie glspectrum smooth],[-lm])
LIBM="-lm"
LIBM="-lm"
], [
], [
LIBM=""
LIBM=""
...
@@ -3826,15 +3826,15 @@ dnl Lirc plugin
...
@@ -3826,15 +3826,15 @@ dnl Lirc plugin
dnl
dnl
AC_ARG_ENABLE(lirc,
AC_ARG_ENABLE(lirc,
[ --enable-lirc lirc support (default disabled)])
[ --enable-lirc lirc support (default disabled)])
if test "${enable_lirc}" = "yes
"
have_lirc="no
"
then
AS_IF([test "${enable_lirc}" = "yes"], [
AC_CHECK_HEADER(lirc/lirc_client.h,
AC_CHECK_LIB(lirc_client, lirc_init, have_lirc="true", have_lirc="false"),have_lirc="false")
AC_CHECK_HEADER(lirc/lirc_client.h,
[
if test "${have_lirc}" = "true"
AC_CHECK_LIB(lirc_client, lirc_init, [
then
have_lirc="true"
VLC_ADD_PLUGIN([lirc
])
])
VLC_ADD_LIBS([lirc],[-llirc_client
])
])
fi
])
fi
AM_CONDITIONAL([HAVE_LIRC], [test "${have_lirc}" = "yes"])
EXTEND_HELP_STRING([Visualisations and Video filter plugins:])
EXTEND_HELP_STRING([Visualisations and Video filter plugins:])
dnl
dnl
...
...
modules/control/Modules.am
View file @
a80fe1ea
SOURCES_dummy = dummy.c
libdummy_plugin_la_SOURCES = dummy.c
SOURCES_gestures = gestures.c
libgestures_plugin_la_SOURCES = gestures.c
SOURCES_netsync = netsync.c
libhotkeys_plugin_la_SOURCES = hotkeys.c
SOURCES_ntservice = ntservice.c
libhotkeys_plugin_la_LIBADD = $(LIBM)
SOURCES_hotkeys = hotkeys.c
libnetsync_plugin_la_SOURCES = netsync.c
SOURCES_lirc = lirc.c
libnetsync_plugin_la_LIBADD = $(SOCKET_LIBS)
SOURCES_oldrc = rc.c
liboldrc_plugin_la_SOURCES = rc.c
liboldrc_plugin_la_LIBADD = $(SOCKET_LIBS) $(LIBM)
control_LTLIBRARIES += \
libdummy_plugin.la \
libgestures_plugin.la \
libhotkeys_plugin.la \
libnetsync_plugin.la \
liboldrc_plugin.la
liblirc_plugin_la_SOURCES = lirc.c
liblirc_plugin_la_LIBADD = -llirc_client
if HAVE_LIRC
control_LTLIBRARIES += liblirc_plugin.la
endif
libvlc_motion_la_SOURCES = motionlib.c motionlib.h
libvlc_motion_la_SOURCES = motionlib.c motionlib.h
if HAVE_DARWIN
if HAVE_DARWIN
...
@@ -20,17 +34,7 @@ libmotion_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(controldir)'
...
@@ -20,17 +34,7 @@ libmotion_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(controldir)'
if HAVE_DARWIN
if HAVE_DARWIN
libmotion_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
libmotion_plugin_la_LDFLAGS += -Wl,-framework,IOKit,-framework,CoreFoundation
endif
endif
if !HAVE_WIN32
control_LTLIBRARIES += \
libdummy_plugin.la \
libgestures_plugin.la \
libnetsync_plugin.la \
libhotkeys_plugin.la \
liboldrc_plugin.la
if HAVE_WIN32
control_LTLIBRARIES += libntservice_plugin.la
else
control_LTLIBRARIES += libmotion_plugin.la
control_LTLIBRARIES += libmotion_plugin.la
endif
endif
...
@@ -54,9 +58,11 @@ if HAVE_XCB_KEYSYMS
...
@@ -54,9 +58,11 @@ if HAVE_XCB_KEYSYMS
control_LTLIBRARIES += libxcb_hotkeys_plugin.la
control_LTLIBRARIES += libxcb_hotkeys_plugin.la
endif
endif
libntservice_plugin_la_SOURCES = ntservice.c
libwin_hotkeys_plugin_la_SOURCES = globalhotkeys/win32.c
libwin_hotkeys_plugin_la_SOURCES = globalhotkeys/win32.c
libwin_msg_plugin_la_SOURCES = win_msg.c
libwin_msg_plugin_la_SOURCES = win_msg.c
if HAVE_WIN32
if HAVE_WIN32
control_LTLIBRARIES += libntservice_plugin.la
if !HAVE_WINSTORE
if !HAVE_WINSTORE
control_LTLIBRARIES += libwin_hotkeys_plugin.la libwin_msg_plugin.la
control_LTLIBRARIES += libwin_hotkeys_plugin.la libwin_msg_plugin.la
endif
endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment