Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ab799a3a
Commit
ab799a3a
authored
Apr 21, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile factorization
parent
c106ef79
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
modules/common.am
modules/common.am
+7
-2
modules/genmf
modules/genmf
+3
-5
No files found.
modules/common.am
View file @
ab799a3a
...
...
@@ -19,15 +19,20 @@ include $(srcdir)/Modules.am
if HAVE_PLUGINS
LTLIBVLC = $(top_builddir)/src/libvlc.la
AM_CFLAGS = `$(VLC_CONFIG) --cflags plugin $@`
AM_CXXFLAGS = `$(VLC_CONFIG) --cxxflags plugin $@`
AM_OBJCFLAGS = `$(VLC_CONFIG) --objcflags plugin $@`
AM_LDFLAGS = -rpath '$(libvlcdir)' \
-avoid-version -module -no-undefined \
-shrext $(LIBEXT)
-shrext $(LIBEXT) \
`$(VLC_CONFIG) --ldflags plugin $@`
AM_LIBADD = $(LTLIBVLC)
if HAVE_COMPILER_EXPORT
AM_LDFLAGS += -export-dynamic
else
AM_LDFLAGS += -export-symbol-regex ^vlc_entry
endif
AM_LIBADD = $(LTLIBVLC)
endif
all: all-modules
...
...
modules/genmf
View file @
ab799a3a
...
...
@@ -64,11 +64,9 @@ BUILT_SOURCES += \$(B${mod})
EOF
fi
cat
>>
"
${
makf
}
"
<<
EOF
lib
${
mod
}
_plugin_la_CFLAGS =
\`\$
(VLC_CONFIG) --cflags plugin
${
mod
}
\`
lib
${
mod
}
_plugin_la_CXXFLAGS =
\`\$
(VLC_CONFIG) --cxxflags plugin
${
mod
}
\`
lib
${
mod
}
_plugin_la_OBJCFLAGS =
\`\$
(VLC_CONFIG) --objcflags plugin
${
mod
}
\`
lib
${
mod
}
_plugin_la_LDFLAGS =
\$
(AM_LDFLAGS)
\\
\`\$
(VLC_CONFIG) --ldflags plugin
${
mod
}
\`
lib
${
mod
}
_plugin_la_CFLAGS =
\$
(AM_CFLAGS)
lib
${
mod
}
_plugin_la_CXXFLAGS =
\$
(AM_CXXFLAGS)
lib
${
mod
}
_plugin_la_OBJCFLAGS =
\$
(AM_OBJCFLAGS)
lib
${
mod
}
_plugin_la_LIBADD =
\$
(AM_LIBADD)
\\
\`\$
(VLC_CONFIG) -libs plugin
${
mod
}
\`
# Automake does not understand
\`
...
\`
very well inside LIBADD...
...
...
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