makefiles: Generate makefiles and po rules only for disabled dlls.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2015-11-17 18:05:28 +09:00
parent 945d3cf773
commit 480e95ae97
2 changed files with 12 additions and 8 deletions

10
aclocal.m4 vendored
View File

@ -330,9 +330,11 @@ wine_fn_disabled_rules ()
ac_extraclean="$ac_dir/Makefile"
test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
wine_fn_depend_rules
wine_fn_clean_rules $ac_clean
wine_fn_pot_rules
wine_fn_append_rule \
"__clean__: $ac_dir/clean
.PHONY: $ac_dir/clean
$ac_dir/clean: dummy
\$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
}
wine_fn_config_makefile ()
@ -397,7 +399,7 @@ wine_fn_config_dll ()
AS_VAR_IF([$ac_enable],[no],
dnl enable_win16 is special in that it disables import libs too
[if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
[if test "$ac_enable" != enable_win16
then
wine_fn_depend_rules
wine_fn_clean_rules $ac_clean

10
configure vendored
View File

@ -7520,9 +7520,11 @@ wine_fn_disabled_rules ()
ac_extraclean="$ac_dir/Makefile"
test "$srcdir" = . && ac_extraclean="$ac_extraclean $ac_dir/.gitignore"
wine_fn_depend_rules
wine_fn_clean_rules $ac_clean
wine_fn_pot_rules
wine_fn_append_rule \
"__clean__: $ac_dir/clean
.PHONY: $ac_dir/clean
$ac_dir/clean: dummy
\$(RM) \$(CLEAN_FILES:%=$ac_dir/%) $ac_clean $ac_extraclean"
}
wine_fn_config_makefile ()
@ -7596,7 +7598,7 @@ fi
test -n "$DLLEXT" || ac_clean="$ac_clean $ac_dir/$ac_dll"
if eval test \"x\$"$ac_enable"\" = x"no"; then :
if wine_fn_has_flag implib && test "$ac_enable" != enable_win16
if test "$ac_enable" != enable_win16
then
wine_fn_depend_rules
wine_fn_clean_rules $ac_clean