From: Sam Hocevar Date: Mon, 20 May 2002 14:12:15 +0000 (+0000) Subject: * ./Makefile.opts.in: removed configuration stuff which does not need to X-Git-Tag: 0.4.0~44 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b4985b910a319c9d78dddc5ab8cf2b5d2241764b;p=vlc * ./Makefile.opts.in: removed configuration stuff which does not need to rebuild anything to Makefile.config, so that editing it will not cause a complete rebuild. --- diff --git a/Makefile b/Makefile index b0b8b15804..39ee05cd2e 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ ############################################################################### ifeq ($(shell [ ! -r Makefile.opts ] && echo 1),) + include Makefile.config include Makefile.opts endif @@ -366,7 +367,7 @@ dist: # Copy misc files cp FAQ AUTHORS COPYING TODO todo.pl ChangeLog* README* INSTALL* \ ABOUT-NLS BUGS MODULES vlc.spec \ - Makefile Makefile.opts.in Makefile.dep Makefile.modules \ + Makefile Makefile.*.in Makefile.dep Makefile.modules \ configure configure.in install-sh install-win32 macosx-dmg \ config.sub config.guess aclocal.m4 mkinstalldirs \ tmp/vlc/ diff --git a/Makefile.config.in b/Makefile.config.in new file mode 100644 index 0000000000..9fdf24c904 --- /dev/null +++ b/Makefile.config.in @@ -0,0 +1,19 @@ +############################################################################### +# vlc (VideoLAN Client) options Makefile +# (c)1998 VideoLAN +############################################################################### + +# +# Plugins to build +# WARNING: if you do not have a dynamic loader on your platform, remove +# the plugins in this line and put them as built-ins, otherwise your +# application won't be able to load them. +# +PLUGINS :=@PLUGINS@ + +# +# Built-in modules to build +# WARNING: do NOT put gtk and gnome together in this rule. +# +BUILTINS :=@BUILTINS@ + diff --git a/Makefile.opts.in b/Makefile.opts.in index 4598d2797e..ae224ba379 100644 --- a/Makefile.opts.in +++ b/Makefile.opts.in @@ -10,21 +10,7 @@ HAVE_MAKEFILE_OPTS = 1 ############################################################################### # -# Plugins to build -# WARNING: if you do not have a dynamic loader on your platform, remove -# the plugins in this line and put them as built-ins, otherwise your -# application won't be able to load them. -# -PLUGINS :=@PLUGINS@ - -# -# Built-in modules to build -# WARNING: do NOT put gtk and gnome together in this rule. -# -BUILTINS :=@BUILTINS@ - -# -# Additional build options +# Build options # SYS = @SYS@ ALIASES =@ALIASES@ diff --git a/configure b/configure index 701c3ddf17..b923a88403 100755 --- a/configure +++ b/configure @@ -8702,7 +8702,7 @@ done ac_given_srcdir=$srcdir ac_given_INSTALL="$INSTALL" -trap 'rm -fr `echo "Makefile.opts po/Makefile.in include/defs.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +trap 'rm -fr `echo "Makefile.config Makefile.opts po/Makefile.in include/defs.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then diff --git a/configure.in b/configure.in index 13a7244172..2cf038b270 100644 --- a/configure.in +++ b/configure.in @@ -1717,7 +1717,7 @@ AC_SUBST(waveout_LDFLAGS) AC_SUBST(x11_LDFLAGS) AC_SUBST(xvideo_LDFLAGS) -AC_OUTPUT([Makefile.opts po/Makefile.in]) +AC_OUTPUT([Makefile.config Makefile.opts po/Makefile.in]) echo " vlc configuration