mirror of
https://github.com/videolan/vlc.git
synced 2024-12-12 19:23:43 +08:00
Simplify
This commit is contained in:
parent
3c1aab6d03
commit
41ce29d54d
@ -11,7 +11,7 @@ libvlcdir = $(libdir)/vlc/$(basedir)
|
||||
libvlc_LTLIBRARIES =
|
||||
EXTRA_DIST = Modules.am
|
||||
BUILT_SOURCES =
|
||||
CLEANFILES =
|
||||
CLEANFILES = $(BUILT_SOURCES)
|
||||
|
||||
include $(srcdir)/Modules.am
|
||||
|
||||
|
@ -39,24 +39,13 @@ include \$(top_srcdir)/modules/common.am
|
||||
EOF
|
||||
for mod in $mods
|
||||
do
|
||||
if grep '^nodist_SOURCES_'${mod}'' < "${modf}" >/dev/null 2>&1; then
|
||||
NODIST=''; else
|
||||
NODIST='#'; fi
|
||||
cat >> m4/private.m4 << EOF
|
||||
${mod}) list="\\\${list} ${dir}/lib${mod}" ;;
|
||||
EOF
|
||||
cat >> "${makf}" << EOF
|
||||
# The ${mod} plugin
|
||||
EOF
|
||||
cat >> "${makf}" << EOF
|
||||
lib${mod}_plugin_la_SOURCES = \$(SOURCES_${mod})
|
||||
EOF
|
||||
if [ "${NODIST}" != "#" ]; then cat >> "${makf}" << EOF
|
||||
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_CXXFLAGS = \$(AM_CXXFLAGS)
|
||||
lib${mod}_plugin_la_OBJCFLAGS = \$(AM_OBJCFLAGS)
|
||||
|
Loading…
Reference in New Issue
Block a user