Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
130afa59
Commit
130afa59
authored
Jul 19, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove non-libtool targets.
automake could hardly keep up with 700 targets.
parent
df78f0a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
46 deletions
+12
-46
bootstrap
bootstrap
+12
-46
No files found.
bootstrap
View file @
130afa59
...
@@ -192,11 +192,9 @@ do
...
@@ -192,11 +192,9 @@ do
# automake will not recurse for make dist if we don't define SUBDIRS = .
# automake will not recurse for make dist if we don't define SUBDIRS = .
subdirs="`sed -ne 's,'modules/${dir}'/\([^/]*\)/Makefile,\1,p' configure.ac | xargs`"
subdirs="`sed -ne 's,'modules/${dir}'/\([^/]*\)/Makefile,\1,p' configure.ac | xargs`"
mods="`sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < "${modf}" | xargs`"
mods="`sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < "${modf}" | xargs`"
extra_libs=""
extra_ltlibs=""
extra_ltlibs=""
for mod in $mods
for mod in $mods
do
do
extra_libs="${extra_libs} lib${mod}_plugin.a lib${mod}.a"
extra_ltlibs="${extra_ltlibs} lib${mod}_plugin.la"
extra_ltlibs="${extra_ltlibs} lib${mod}_plugin.la"
done
done
rm -f "${makf}" && cat > "${makf}" << EOF
rm -f "${makf}" && cat > "${makf}" << EOF
...
@@ -209,24 +207,25 @@ mods = ${mods}
...
@@ -209,24 +207,25 @@ mods = ${mods}
NULL =
NULL =
libvlc_LTLIBRARIES =
libvlc_LTLIBRARIES =
noinst_LTLIBRARIES =
EXTRA_DIST = Modules.am
EXTRA_DIST = Modules.am
BUILT_SOURCES =
BUILT_SOURCES =
clean_modules
=
CLEANFILES
=
SUBDIRS = ${subdirs}
SUBDIRS = ${subdirs}
SUFFIXES = _plugin\$(LIBEXT) _plugin.a
SUFFIXES = _plugin\$(LIBEXT) _plugin.
l
a
libvlcdir = \$(libdir)/vlc/\$(basedir)
libvlcdir = \$(libdir)/vlc/\$(basedir)
EXTRA_LIBRARIES = ${extra_libs}
EXTRA_LTLIBRARIES = ${extra_ltlibs}
EXTRA_LTLIBRARIES = ${extra_ltlibs}
include Modules.am
include Modules.am
LTLIBVLC = \$(top_builddir)/src/libvlc.la
LTLIBVLC = \$(top_builddir)/src/libvlc.la
if USE_LIBTOOL
LIBADD = \$(LTLIBVLC)
endif
if HAVE_WIN32
if HAVE_WIN32
LIBVLC =
-L\$(top_builddir)/src -lvlc
LIBVLC =
\$(top_builddir)/src/libvlc.dll
LIBADD = \$(LIBVLC)
LIBADD = \$(LIBVLC)
endif
endif
...
@@ -251,7 +250,7 @@ else
...
@@ -251,7 +250,7 @@ else
endif
endif
# Build a plugin with the adequate linker and linker's flags
# Build a plugin with the adequate linker and linker's flags
_plugin.a_plugin\$(LIBEXT):
_plugin.
l
a_plugin\$(LIBEXT):
@mod="\$*" ; mod=\$\${mod#lib} ; \
@mod="\$*" ; mod=\$\${mod#lib} ; \
ldfl="\`\$(VLC_CONFIG) --libs plugin \$\$mod\` \$(LIBADD) -u \$(SYMPREF)\$(VLC_ENTRY)" ; \
ldfl="\`\$(VLC_CONFIG) --libs plugin \$\$mod\` \$(LIBADD) -u \$(SYMPREF)\$(VLC_ENTRY)" ; \
case \`\$(VLC_CONFIG) --linkage \$\$mod\` in \\
case \`\$(VLC_CONFIG) --linkage \$\$mod\` in \\
...
@@ -261,10 +260,7 @@ _plugin.a_plugin\$(LIBEXT):
...
@@ -261,10 +260,7 @@ _plugin.a_plugin\$(LIBEXT):
esac ; \
esac ; \
echo \$\$ld \$< \$\$ldfl ; \
echo \$\$ld \$< \$\$ldfl ; \
\$\$ld \$< \$\$ldfl
\$\$ld \$< \$\$ldfl
#ifneq
(,\$(findstring cygwin,\$(host)))
@if test -f "\$@.exe"; then mv -f -- "\$@.exe" "\$@"; fi
#
mv -f "\$@.exe" "\$@"
#endif
@if test -f "\$@.exe"; then mv -f "\$@.exe" "\$@"; fi
if MAINTAINER_MODE
if MAINTAINER_MODE
\$(srcdir)/Makefile.am:
\$(srcdir)/Modules.am \$(top_srcdir)/bootstrap
\$(srcdir)/Makefile.am:
\$(srcdir)/Modules.am \$(top_srcdir)/bootstrap
...
@@ -272,14 +268,11 @@ if MAINTAINER_MODE
...
@@ -272,14 +268,11 @@ if MAINTAINER_MODE
endif
endif
mostlyclean-local:
mostlyclean-local:
if USE_LIBTOOL
-rm -f *.la
-rm -f *.la
else
if !USE_LIBTOOL
-rm -f *
.a *
\$(LIBEXT)
-rm -f *\$(LIBEXT)
endif
endif
clean-local: \$(clean_modules)
### automake creates libvlcdir after running install-*-local
### automake creates libvlcdir after running install-*-local
###
so we have to create it ourselves first
###
so we have to create it ourselves first
install-exec-local: all-modules
install-exec-local: all-modules
...
@@ -343,49 +336,22 @@ EOF
...
@@ -343,49 +336,22 @@ EOF
#
The ${mod} plugin
#
The ${mod} plugin
EOF
EOF
if [ "${NODIST}" != "#" ]; then cat >> "${makf}" << EOF
clean_modules += clean-${mod}
clean-${mod}:
-test -z "\$(nodist_SOURCES_${mod})" || rm -f \$(nodist_SOURCES_${mod})
EOF
fi
if [ "${NODIST}" != "#" ]; then cat >> "${makf}" << EOF
BUILT_SOURCES += \$(B${mod})
EOF
fi
cat >> "${makf}" << EOF
cat >> "${makf}" << EOF
lib${mod}_plugin_a_SOURCES = \$(SOURCES_${mod})
lib${mod}_plugin_la_SOURCES = \$(SOURCES_${mod})
lib${mod}_plugin_la_SOURCES = \$(SOURCES_${mod})
EOF
EOF
if [ "${NODIST}" != "#" ]; then cat >> "${makf}" << EOF
if [ "${NODIST}" != "#" ]; then cat >> "${makf}" << EOF
nodist_lib${mod}_plugin_a_SOURCES = \$(nodist_SOURCES_${mod})
nodist_lib${mod}_plugin_la_SOURCES = \$(nodist_SOURCES_${mod})
nodist_lib${mod}_plugin_la_SOURCES = \$(nodist_SOURCES_${mod})
CLEANFILES += "\$(nodist_SOURCES_${mod})"
BUILT_SOURCES += \$(B${mod})
EOF
EOF
fi
fi
cat >> "${makf}" << EOF
cat >> "${makf}" << EOF
lib${mod}_plugin_a_CFLAGS = \`\$(VLC_CONFIG) --cflags plugin ${mod}\`
lib${mod}_plugin_a_CXXFLAGS = \`\$(VLC_CONFIG) --cxxflags plugin ${mod}\`
lib${mod}_plugin_a_OBJCFLAGS = \`\$(VLC_CONFIG) --objcflags plugin ${mod}\`
lib${mod}_plugin_la_CFLAGS = \`\$(VLC_CONFIG) --cflags plugin ${mod}\`
lib${mod}_plugin_la_CFLAGS = \`\$(VLC_CONFIG) --cflags plugin ${mod}\`
lib${mod}_plugin_la_CXXFLAGS = \`\$(VLC_CONFIG) --cxxflags 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_OBJCFLAGS = \`\$(VLC_CONFIG) --objcflags plugin ${mod}\`
lib${mod}_plugin_la_LDFLAGS = \`\$(VLC_CONFIG) --libs plugin ${mod}\` \\
lib${mod}_plugin_la_LDFLAGS = \`\$(VLC_CONFIG) --libs plugin ${mod}\` \\
-rpath '\$(libvlcdir)' -avoid-version -module -shrext \$(LIBEXT) \\
-rpath '\$(libvlcdir)' -avoid-version -module -shrext \$(LIBEXT) \\
-export-symbol-regex ^\$(VLC_ENTRY)\$\$ -no-undefined
-export-symbol-regex ^\$(VLC_ENTRY)\$\$ -no-undefined
lib${mod}_plugin_la_LIBADD = \$(LTLIBVLC)
lib${mod}_a_SOURCES = \$(SOURCES_${mod})
EOF
if [ "${NODIST}" != "#" ]; then cat >> "${makf}" << EOF
nodist_lib${mod}_a_SOURCES = \$(nodist_SOURCES_${mod})
EOF
fi
cat >> "${makf}" << EOF
lib${mod}_a_CFLAGS = \`\$(VLC_CONFIG) --cflags builtin pic ${mod}\`
lib${mod}_a_CXXFLAGS = \`\$(VLC_CONFIG) --cxxflags builtin pic ${mod}\`
lib${mod}_a_OBJCFLAGS = \`\$(VLC_CONFIG) --objcflags builtin pic ${mod}\`
EOF
EOF
done
done
done
done
...
...
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