makefiles: Output all the tool install rules explicitly for each module.
diff --git a/configure b/configure
index 3d6f4f6..f771fa9 100755
--- a/configure
+++ b/configure
@@ -598,7 +598,6 @@
LIBOBJS
ALL_PROGRAM_BIN_INSTALL_DIRS
ALL_TEST_BINARIES
-ALL_TOOL_DIRS
ALL_DLL_DIRS
ALL_TOP_DIRS
ALL_DIRS
@@ -13864,8 +13863,6 @@
ALL_DLL_DIRS=""
-ALL_TOOL_DIRS=""
-
ALL_TEST_BINARIES=""
ALL_PROGRAM_BIN_INSTALL_DIRS=""
@@ -14061,13 +14058,30 @@
fi
wine_fn_append_file ALL_DIRS $ac_dir
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
-"$ac_dir/__clean__ $ac_dir/__install__ $ac_dir/__install-dev__ $ac_dir/__install-lib__ $ac_dir/__uninstall__ $ac_dir: $ac_dir/Makefile
+"$ac_dir/__clean__: $ac_dir/Makefile
$ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status $ac_deps
@./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
+
if test "x$enable_tools" = x""no; then :
else
- wine_fn_append_file ALL_TOOL_DIRS $ac_dir
+ case $ac_dir in
+ tools) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
+"install:: $ac_dir
+ @cd $ac_dir && \$(MAKE) install
+install-lib:: $ac_dir
+ @cd $ac_dir && \$(MAKE) install-lib
+install-dev:: $ac_dir
+ @cd $ac_dir && \$(MAKE) install-dev" ;;
+ *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
+"install install-dev:: $ac_dir
+ @cd $ac_dir && \$(MAKE) install" ;;
+ esac
+ wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
+"uninstall:: $ac_dir/Makefile
+ @cd $ac_dir && \$(MAKE) uninstall
+all __tooldeps__: $ac_dir
+$ac_dir: $ac_dir/Makefile libs/port"
fi
}
ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"