Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
75532d5c
Commit
75532d5c
authored
Aug 18, 2011
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move MODULE_* predefined constants from vlc-config to Makefile
parent
ab0944e9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
modules/common.am
modules/common.am
+8
-1
src/Makefile.am
src/Makefile.am
+1
-0
vlc-config.in.in
vlc-config.in.in
+0
-7
No files found.
modules/common.am
View file @
75532d5c
...
...
@@ -13,7 +13,14 @@ CLEANFILES = $(BUILT_SOURCES)
LTLIBVLCCORE = $(top_builddir)/src/libvlccore.la
AM_CPPFLAGS = -D__PLUGIN__
# Module name from object or executable file name.
MODULE_NAME = `p="$@"; p="$${p\#\#*/}"; p="$${p\#lib}"; echo "$${p%_plugin*}"`
AM_CPPFLAGS = \
-DMODULE_NAME=$(MODULE_NAME) \
-DMODULE_NAME_IS_$(MODULE_NAME) \
-DMODULE_STRING=\"$(MODULE_NAME)\"
-D__PLUGIN__
AM_CFLAGS = `$(VLC_CONFIG) --cflags plugin $@`
AM_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin $@`
AM_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin $@`
...
...
src/Makefile.am
View file @
75532d5c
...
...
@@ -223,6 +223,7 @@ libvlc_win32_rc.$(OBJEXT): libvlc_win32_rc.rc
libvlc_la_SOURCES
=
$(SOURCES_libvlc_control)
libvlc_la_LIBADD
=
`
$(VLC_CONFIG)
-libs
libvlc
`
\
libvlccore.la ../compat/libcompat.la
libvlc_la_CPPFLAGS
=
-DMODULE_STRING
=
\"
libvlc
\"
libvlc_la_CFLAGS
=
`
$(VLC_CONFIG)
--cflags
libvlc
`
libvlc_la_LDFLAGS
=
$(AM_LDFLAGS)
`
$(VLC_CONFIG)
--ldflags
libvlc
`
\
-version-info
6:0:1
\
...
...
vlc-config.in.in
View file @
75532d5c
...
...
@@ -128,13 +128,6 @@ while test $# -gt 0; do
shift
done
#
# If a module was requested, use its name
#
if test -n "${module}"; then
cppflags="${cppflags} -DMODULE_NAME=${module} -DMODULE_NAME_IS_${module} -DMODULE_STRING=\"${module}\""
fi
#
# Output what we were asked
#
...
...
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