configure: Make the tools directory a symlink in the wow64 build tree.
This commit is contained in:
parent
71fe9c95a4
commit
84fd1f5849
|
@ -48,8 +48,6 @@ include/stamp-h: include/config.h.in config.status
|
|||
|
||||
.PHONY: __clean__
|
||||
clean:: __clean__
|
||||
$(RM) tools/makedep$(EXEEXT)
|
||||
|
||||
distclean:: clean
|
||||
$(RM) config.* configure.lineno TAGS tags include/config.h include/stamp-h Makefile Make.tmp
|
||||
$(RM) -r autom4te.cache
|
||||
|
@ -71,7 +69,7 @@ tools/widl tools/wmc tools/wrc: libs/wpp
|
|||
|
||||
dlls/shell32/Makefile dlls/shell32/__depend__: dlls/shell32/AUTHORS
|
||||
|
||||
$(MAKEDEP): include/config.h tools/Makefile
|
||||
$(MAKEDEP): include/config.h
|
||||
@cd $(TOOLSDIR)/tools && $(MAKE) makedep$(TOOLSEXT)
|
||||
|
||||
# Misc rules
|
||||
|
|
|
@ -425,9 +425,11 @@ $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
|
|||
wine_fn_config_tool ()
|
||||
{
|
||||
ac_dir=$[1]
|
||||
AS_VAR_IF([enable_tools],[no],[return 0])
|
||||
|
||||
wine_fn_all_dir_rules $ac_dir Make.rules
|
||||
|
||||
AS_VAR_IF([enable_tools],[no],,[case $ac_dir in
|
||||
case $ac_dir in
|
||||
dnl tools directory has both install-lib and install-dev
|
||||
tools) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||
"install:: $ac_dir
|
||||
|
@ -439,17 +441,17 @@ install-dev:: $ac_dir
|
|||
*) 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 \
|
||||
esac
|
||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||
"uninstall:: $ac_dir/Makefile
|
||||
@cd $ac_dir && \$(MAKE) uninstall
|
||||
all __tooldeps__: $ac_dir
|
||||
.PHONY: $ac_dir
|
||||
$ac_dir: $ac_dir/Makefile libs/port dummy
|
||||
@cd $ac_dir && \$(MAKE)"
|
||||
case $ac_dir in
|
||||
tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
|
||||
esac])
|
||||
case $ac_dir in
|
||||
tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
wine_fn_config_makerules ()
|
||||
|
|
|
@ -14894,12 +14894,13 @@ fi
|
|||
wine_fn_config_tool ()
|
||||
{
|
||||
ac_dir=$1
|
||||
if test "x$enable_tools" = xno; then :
|
||||
return 0
|
||||
fi
|
||||
|
||||
wine_fn_all_dir_rules $ac_dir Make.rules
|
||||
|
||||
if test "x$enable_tools" = xno; then :
|
||||
|
||||
else
|
||||
case $ac_dir in
|
||||
case $ac_dir in
|
||||
tools) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||
"install:: $ac_dir
|
||||
@cd $ac_dir && \$(MAKE) install
|
||||
|
@ -14910,18 +14911,17 @@ install-dev:: $ac_dir
|
|||
*) 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 \
|
||||
esac
|
||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
|
||||
"uninstall:: $ac_dir/Makefile
|
||||
@cd $ac_dir && \$(MAKE) uninstall
|
||||
all __tooldeps__: $ac_dir
|
||||
.PHONY: $ac_dir
|
||||
$ac_dir: $ac_dir/Makefile libs/port dummy
|
||||
@cd $ac_dir && \$(MAKE)"
|
||||
case $ac_dir in
|
||||
tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
|
||||
esac
|
||||
fi
|
||||
case $ac_dir in
|
||||
tools/winebuild) wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(WINEBUILD): $ac_dir" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
wine_fn_config_makerules ()
|
||||
|
@ -14971,8 +14971,10 @@ if test "x$enable_fonts" != xno; then
|
|||
ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
|
||||
test "$srcdir" = "." || wine_fn_config_symlink fonts/tahomabd.ttf
|
||||
fi
|
||||
if test "x$enable_tools" != xno; then
|
||||
ac_config_links="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
|
||||
test "$srcdir" = "." || wine_fn_config_symlink tools/l_intl.nls
|
||||
fi
|
||||
ac_config_links="$ac_config_links wine:tools/winewrapper"
|
||||
wine_fn_config_symlink wine
|
||||
|
||||
|
@ -15711,17 +15713,24 @@ all: \$(ALL_PO_FILES)
|
|||
msgcat -o \$@ \$(ALL_POT_FILES)"
|
||||
fi
|
||||
|
||||
if test "x$enable_tools" != xno
|
||||
then
|
||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "\$(MAKEDEP): tools/Makefile
|
||||
clean:: __clean__
|
||||
\$(RM) tools/makedep\$(EXEEXT)"
|
||||
fi
|
||||
|
||||
if test -n "$with_wine64"
|
||||
then
|
||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
|
||||
fonts server:
|
||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
|
||||
fonts server tools:
|
||||
\$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
|
||||
$with_wine64/loader/wine:
|
||||
\$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
|
||||
$with_wine64/loader/wine-preloader:
|
||||
\$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
|
||||
clean::
|
||||
\$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
|
||||
\$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
|
||||
fi
|
||||
|
||||
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "uninstall::
|
||||
|
|
16
configure.ac
16
configure.ac
|
@ -2369,7 +2369,7 @@ WINE_CONFIG_SYMLINK(fonts/marlett.ttf,,enable_fonts)
|
|||
WINE_CONFIG_SYMLINK(fonts/symbol.ttf,,enable_fonts)
|
||||
WINE_CONFIG_SYMLINK(fonts/tahoma.ttf,,enable_fonts)
|
||||
WINE_CONFIG_SYMLINK(fonts/tahomabd.ttf,,enable_fonts)
|
||||
WINE_CONFIG_SYMLINK(tools/l_intl.nls)
|
||||
WINE_CONFIG_SYMLINK(tools/l_intl.nls,,enable_tools)
|
||||
WINE_CONFIG_SYMLINK(wine,tools/winewrapper)
|
||||
|
||||
WINE_CONFIG_EXTRA_DIR(dlls/gdi32/dibdrv)
|
||||
|
@ -3092,18 +3092,26 @@ all: \$(ALL_PO_FILES)
|
|||
msgcat -o \$[@] \$(ALL_POT_FILES)])
|
||||
fi
|
||||
|
||||
if test "x$enable_tools" != xno
|
||||
then
|
||||
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
|
||||
[\$(MAKEDEP): tools/Makefile
|
||||
clean:: __clean__
|
||||
\$(RM) tools/makedep\$(EXEEXT)])
|
||||
fi
|
||||
|
||||
if test -n "$with_wine64"
|
||||
then
|
||||
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
|
||||
[all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
|
||||
fonts server:
|
||||
[all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
|
||||
fonts server tools:
|
||||
\$(RM) \$[@] && \$(LN_S) $with_wine64/\$[@] \$[@]
|
||||
$with_wine64/loader/wine:
|
||||
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine \$[@]
|
||||
$with_wine64/loader/wine-preloader:
|
||||
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine-preloader \$[@]
|
||||
clean::
|
||||
\$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
|
||||
\$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader])
|
||||
fi
|
||||
|
||||
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
|
||||
|
|
Loading…
Reference in New Issue