Newer
Older
WINE_CONFIG_MAKEFILE(programs/winemsibuilder)
WINE_CONFIG_MAKEFILE(programs/winepath)
WINE_CONFIG_MAKEFILE(programs/winetest)
WINE_CONFIG_MAKEFILE(programs/winevdm,enable_win16)
WINE_CONFIG_MAKEFILE(programs/winhelp.exe16,enable_win16)
WINE_CONFIG_MAKEFILE(programs/winhlp32)
WINE_CONFIG_MAKEFILE(programs/winmgmt)
WINE_CONFIG_MAKEFILE(programs/winoldap.mod16,enable_win16)
WINE_CONFIG_MAKEFILE(programs/winver)
WINE_CONFIG_MAKEFILE(programs/wmic)
WINE_CONFIG_MAKEFILE(programs/wmplayer)
WINE_CONFIG_MAKEFILE(programs/wordpad)
WINE_CONFIG_MAKEFILE(programs/write)
WINE_CONFIG_MAKEFILE(programs/wscript)
WINE_CONFIG_MAKEFILE(programs/wscript/tests)
WINE_CONFIG_MAKEFILE(programs/wusa)
WINE_CONFIG_MAKEFILE(programs/xcopy)
WINE_CONFIG_MAKEFILE(programs/xcopy/tests)

Alexandre Julliard
committed
WINE_CONFIG_MAKEFILE(server)
WINE_CONFIG_MAKEFILE(tools,,[test "x$enable_tools" = xno])
WINE_CONFIG_MAKEFILE(tools/sfnt2fon,,[test "x$enable_tools" = xno])
WINE_CONFIG_MAKEFILE(tools/widl,,[test "x$enable_tools" = xno])
WINE_CONFIG_MAKEFILE(tools/winebuild,,[test "x$enable_tools" = xno])
WINE_CONFIG_MAKEFILE(tools/winedump,,[test "x$enable_tools" = xno])
WINE_CONFIG_MAKEFILE(tools/winegcc,,[test "x$enable_tools" = xno])
WINE_CONFIG_MAKEFILE(tools/winemaker,,[test "x$enable_tools" = xno])
WINE_CONFIG_MAKEFILE(tools/wmc,,[test "x$enable_tools" = xno])
WINE_CONFIG_MAKEFILE(tools/wrc,,[test "x$enable_tools" = xno])

Alexandre Julliard
committed
dnl End of auto-generated output commands

Alexandre Julliard
committed
dnl Main ignore file
WINE_IGNORE_FILE("TAGS")
WINE_IGNORE_FILE("tags")
WINE_IGNORE_FILE("autom4te.cache")
WINE_IGNORE_FILE("config.log")
WINE_IGNORE_FILE("config.status")
WINE_IGNORE_FILE("include/config.h")
WINE_IGNORE_FILE("include/stamp-h")
test "$wine_binary" = wine || WINE_IGNORE_FILE("loader/wine")
if test "x$enable_tools" != xno
then
WINE_IGNORE_FILE("tools/makedep$ac_exeext")
AC_CONFIG_COMMANDS([tools/makedep],[wine_fn_output_makedep || AS_EXIT],
[wine_fn_output_makedep ()
{
AS_MKDIR_P(tools)
$CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
}])
fi

Alexandre Julliard
committed
AC_CONFIG_COMMANDS([Makefile], [wine_fn_output_makefile Makefile],
[wine_fn_output_makefile ()
{
cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$[]1 && rm -f Make.tmp && "$wine_makedep" && return

Alexandre Julliard
committed
`cat $wine_rules_file`

Alexandre Julliard
committed
_WINE_EOF
AS_ERROR([could not create Makefile])
}])

Alexandre Julliard
committed
AC_CONFIG_FILES([Make.tmp:Makefile.in])

Alexandre Julliard
committed
dnl Some final makefile rules

Alexandre Julliard
committed
if test "x$enable_maintainer_mode" = xyes
then

Alexandre Julliard
committed
WINE_APPEND_RULE(
[configure: configure.ac aclocal.m4
autoconf --warnings=all
include/config.h.in: include/stamp-h.in
include/stamp-h.in: configure.ac aclocal.m4
autoheader --warnings=all

Alexandre Julliard
committed
@echo timestamp > \$[@]])
fi
if test "x$enable_tools" != xno
then

Alexandre Julliard
committed
WINE_APPEND_RULE(
[tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
@./config.status tools/makedep
Makefile: tools/makedep$ac_exeext
fonts: tools/sfnt2fon
include: tools tools/widl])

Alexandre Julliard
committed
else
WINE_APPEND_RULE(
[\$(MAKEDEP):
@echo \"You need to run make in $TOOLSDIR first\" && false])
fi

Alexandre Julliard
committed
if test -n "$with_wine64"
then
case "$with_wine64" in
/*) reldir="" ;;
*) reldir="../" ;;
esac

Alexandre Julliard
committed
dnl Get rid of old symlinks
rm -f fonts server 2>/dev/null
WINE_APPEND_RULE(

Alexandre Julliard
committed
[all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
loader/wine64 loader/wine64-preloader:
rm -f \$[@] && \$(LN_S) $reldir$with_wine64/\$[@] \$[@]

Alexandre Julliard
committed
$with_wine64/loader/wine:
rm -f \$[@] && \$(LN_S) $ac_pwd/loader/wine \$[@]
$with_wine64/loader/wine-preloader:
rm -f \$[@] && \$(LN_S) $ac_pwd/loader/wine-preloader \$[@]

Alexandre Julliard
committed
clean::
rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader])

Alexandre Julliard
committed
TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
fonts \
loader/l_intl.nls \
loader/wine.inf \
programs/msiexec/msiexec \
programs/notepad/notepad \
programs/regedit/regedit \
programs/regsvr32/regsvr32 \
programs/wineboot/wineboot \
programs/winecfg/winecfg \
programs/wineconsole/wineconsole \
programs/winedbg/winedbg \
programs/winefile/winefile \
programs/winemine/winemine \
programs/winepath/winepath \
server/wineserver"
case $host_os in
cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;

Alexandre Julliard
committed
*) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
esac

Alexandre Julliard
committed
fi
AS_ECHO(" done") >&AS_MESSAGE_FD
AC_OUTPUT

Alexandre Julliard
committed
if test "$no_create" = "yes"
then
exit 0
fi

Alexandre Julliard
committed
WINE_PRINT_MESSAGES

Alexandre Julliard
committed
AS_ECHO("

Alexandre Julliard
committed
$as_me: Finished. Do '${ac_make}' to compile Wine.

Alexandre Julliard
committed
") >&AS_MESSAGE_FD
dnl Local Variables:
dnl comment-start: "dnl "
dnl comment-end: ""
dnl comment-start-skip: "\\bdnl\\b\\s *"
dnl compile-command: "autoreconf --warnings=all"