Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
be5bff39
Commit
be5bff39
authored
Apr 28, 2008
by
Rémi Denis-Courmont
Browse files
Allow building plugins through autotools-builtin means...
...in addition to vlc-config
parent
24ce9d79
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/common.am
View file @
be5bff39
...
...
@@ -8,7 +8,6 @@
NULL =
SUFFIXES =
libvlcdir = $(libdir)/vlc/$(basedir)
libvlc_LTLIBRARIES =
EXTRA_DIST = Modules.am
BUILT_SOURCES =
CLEANFILES = $(BUILT_SOURCES)
...
...
modules/genmf
View file @
be5bff39
...
...
@@ -19,10 +19,19 @@ do
# 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
`
"
mods
=
"
`
sed
-n
-e
's/^ *SOURCES_\([^ ]*\).*/\1/p'
<
"
${
modf
}
"
| xargs
`
"
plugins
=
"
`
sed
-n
-e
's/^.*lib\([^ ]*\)_plugin\.la.*/\1/p'
<
"
${
modf
}
"
| xargs
`
"
libvlc_ltlibs
=
""
extra_ltlibs
=
""
for
mod
in
$mods
do
extra_ltlibs
=
"
${
extra_ltlibs
}
lib
${
mod
}
_plugin.la"
case
"
${
plugins
}
"
in
*
\
${
mod
}
\
*
)
;;
*
)
libvlc_ltlibs
=
"
${
libvlc_ltlibs
}
\$
(LTLIB
${
mod
}
)"
extra_ltlibs
=
"
${
extra_ltlibs
}
lib
${
mod
}
_plugin.la"
;;
esac
done
rm
-f
"
${
makf
}
"
&&
cat
>
"
${
makf
}
"
<<
EOF
#
${
makf
}
automatically generated from
${
modf
}
by
$0
...
...
@@ -32,6 +41,7 @@ basedir = ${basedir}
dir =
${
dir
}
mods =
${
mods
}
SUBDIRS =
${
subdirs
}
libvlc_LTLIBRARIES =
${
libvlc_ltlibs
}
EXTRA_LTLIBRARIES =
${
extra_ltlibs
}
include
\$
(top_srcdir)/modules/common.am
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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