mirror of https://code.videolan.org/videolan/vlc
modules: move Modules.am stuff to genmf
This way, common.am can be included also in directories without a Modules.am file.
This commit is contained in:
parent
decf8e46e9
commit
9d29844fd1
|
@ -34,10 +34,3 @@ AM_LDFLAGS = -rpath '$(libvlcdir)' \
|
|||
-shrext $(LIBEXT) \
|
||||
-no-undefined \
|
||||
$(LTLIBVLCCORE) $(top_builddir)/compat/libcompat.la
|
||||
|
||||
include $(srcdir)/Modules.am
|
||||
|
||||
if MAINTAINER_MODE
|
||||
$(srcdir)/Makefile.am: $(srcdir)/Modules.am $(top_srcdir)/modules/genmf
|
||||
$(AM_V_GEN)cd \$(top_srcdir) && \$(SHELL) modules/genmf $(dir)
|
||||
endif
|
||||
|
|
|
@ -45,6 +45,12 @@ libvlc_LTLIBRARIES = ${libvlc_ltlibs}
|
|||
EXTRA_LTLIBRARIES = ${extra_ltlibs}
|
||||
|
||||
include \$(top_srcdir)/modules/common.am
|
||||
include \$(srcdir)/Modules.am
|
||||
|
||||
if MAINTAINER_MODE
|
||||
\$(srcdir)/Makefile.am: \$(srcdir)/Modules.am \$(top_srcdir)/modules/genmf
|
||||
\$(AM_V_GEN)cd \\\$(top_srcdir) && \\\$(SHELL) modules/genmf \$(dir)
|
||||
endif
|
||||
|
||||
EOF
|
||||
for mod in $mods
|
||||
|
|
Loading…
Reference in New Issue