Commit 41ce29d5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Simplify

parent 3c1aab6d
...@@ -11,7 +11,7 @@ libvlcdir = $(libdir)/vlc/$(basedir) ...@@ -11,7 +11,7 @@ libvlcdir = $(libdir)/vlc/$(basedir)
libvlc_LTLIBRARIES = libvlc_LTLIBRARIES =
EXTRA_DIST = Modules.am EXTRA_DIST = Modules.am
BUILT_SOURCES = BUILT_SOURCES =
CLEANFILES = CLEANFILES = $(BUILT_SOURCES)
include $(srcdir)/Modules.am include $(srcdir)/Modules.am
......
...@@ -39,24 +39,13 @@ include \$(top_srcdir)/modules/common.am ...@@ -39,24 +39,13 @@ include \$(top_srcdir)/modules/common.am
EOF EOF
for mod in $mods for mod in $mods
do do
if grep '^nodist_SOURCES_'${mod}'' < "${modf}" >/dev/null 2>&1; then
NODIST=''; else
NODIST='#'; fi
cat >> m4/private.m4 << EOF cat >> m4/private.m4 << EOF
${mod}) list="\\\${list} ${dir}/lib${mod}" ;; ${mod}) list="\\\${list} ${dir}/lib${mod}" ;;
EOF EOF
cat >> "${makf}" << EOF cat >> "${makf}" << EOF
# The ${mod} plugin # The ${mod} plugin
EOF
cat >> "${makf}" << EOF
lib${mod}_plugin_la_SOURCES = \$(SOURCES_${mod}) lib${mod}_plugin_la_SOURCES = \$(SOURCES_${mod})
EOF
if [ "${NODIST}" != "#" ]; then cat >> "${makf}" << EOF
nodist_lib${mod}_plugin_la_SOURCES = \$(nodist_SOURCES_${mod}) nodist_lib${mod}_plugin_la_SOURCES = \$(nodist_SOURCES_${mod})
CLEANFILES += \$(nodist_SOURCES_${mod})
EOF
fi
cat >> "${makf}" << EOF
lib${mod}_plugin_la_CFLAGS = \$(AM_CFLAGS) lib${mod}_plugin_la_CFLAGS = \$(AM_CFLAGS)
lib${mod}_plugin_la_CXXFLAGS = \$(AM_CXXFLAGS) lib${mod}_plugin_la_CXXFLAGS = \$(AM_CXXFLAGS)
lib${mod}_plugin_la_OBJCFLAGS = \$(AM_OBJCFLAGS) lib${mod}_plugin_la_OBJCFLAGS = \$(AM_OBJCFLAGS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment