configure: Create a few symlinks needed for running in Wow64 mode inside the build tree.

This commit is contained in:
Alexandre Julliard 2010-03-29 17:54:55 +02:00
parent 50c6ac8324
commit e5c585e4a4
2 changed files with 25 additions and 0 deletions

12
configure vendored
View File

@ -14713,6 +14713,18 @@ ac_config_commands="$ac_config_commands Makefile"
ac_config_files="$ac_config_files Make.tmp:Makefile.in"
if test -n "$with_wine64"
then
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "all: fonts server $with_wine64/loader/wine32
fonts server:
\$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
$with_wine64/loader/wine32:
\$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine32 \$@
clean::
\$(RM) fonts server $with_wine64/loader/wine32"
fi
wine_fn_append_rule ALL_MAKEFILE_DEPENDS "uninstall::
-rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"

View File

@ -2713,6 +2713,19 @@ _WINE_EOF
AC_CONFIG_FILES([Make.tmp:Makefile.in])
dnl Some final makefile rules
if test -n "$with_wine64"
then
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
[all: fonts server $with_wine64/loader/wine32
fonts server:
\$(RM) \$[@] && \$(LN_S) $with_wine64/\$[@] \$[@]
$with_wine64/loader/wine32:
\$(RM) \$[@] && \$(LN_S) $ac_pwd/loader/wine32 \$[@]
clean::
\$(RM) fonts server $with_wine64/loader/wine32])
fi
WINE_APPEND_RULE([ALL_MAKEFILE_DEPENDS],
[uninstall::
-rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)])