mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-19 17:06:04 -07:00
makefiles: Generate the top makefile entirely from configure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
37c0f5c690
commit
c6b5f4a406
4 changed files with 398 additions and 616 deletions
77
Makefile.in
77
Makefile.in
|
@ -1,77 +0,0 @@
|
|||
# This Makefile understands the following targets:
|
||||
#
|
||||
# all (default): build wine
|
||||
# clean: remove all intermediate files
|
||||
# distclean: also remove all files created by configure
|
||||
# test: run tests
|
||||
# testclean: clean test results to force running all tests again
|
||||
# install-lib: install libraries needed to run applications
|
||||
# install-dev: install development environment
|
||||
# install: install everything
|
||||
# uninstall: uninstall everything
|
||||
# depend: create the dependencies
|
||||
# ctags: create a tags file for vim and others.
|
||||
# etags: create a TAGS file for Emacs.
|
||||
# manpages: compile manpages for Wine API
|
||||
# htmlpages: compile html pages for Wine API
|
||||
# sgmlpages: compile sgml source for the Wine API Guide
|
||||
# xmlpages: compile xml source for the Wine API Guide
|
||||
|
||||
# The following variable definitions are copied into all makefiles
|
||||
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
@ALL_VARS_RULES@
|
||||
@SET_MAKE@
|
||||
|
||||
all: wine
|
||||
@echo "Wine build complete."
|
||||
|
||||
# Rules for re-running configure
|
||||
|
||||
config.status: $(srcdir)/configure
|
||||
@./config.status --recheck
|
||||
|
||||
include/config.h: include/stamp-h
|
||||
include/stamp-h: $(srcdir)/include/config.h.in config.status
|
||||
@./config.status include/config.h include/stamp-h
|
||||
|
||||
# Rules for cleaning
|
||||
|
||||
distclean:: clean
|
||||
rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man$(api_manext)
|
||||
|
||||
# Rules for API documentation
|
||||
|
||||
install-manpages:: manpages
|
||||
for i in documentation/man$(api_manext)/*.$(api_manext); do $(srcdir)/tools/install-sh -m 644 $(INSTALL_DATA_FLAGS) $$i $(DESTDIR)$(mandir)/$$i; done
|
||||
|
||||
.PHONY: install-manpages
|
||||
|
||||
# Rules for generated source files
|
||||
|
||||
dlls/ntdll/unix/version.c: dummy
|
||||
@version=`(GIT_DIR=$(srcdir)/.git git describe HEAD 2>/dev/null || echo "wine-$(PACKAGE_VERSION)") | sed -n -e '$$s/\(.*\)/const char wine_build[] = "\1";/p'` && (echo $$version | cmp -s - $@) || echo $$version >$@ || ($(RM) $@ && exit 1)
|
||||
|
||||
programs/winetest/build.rc: dummy
|
||||
@build="STRINGTABLE { 1 \"`GIT_DIR=$(srcdir)/.git git rev-parse HEAD 2>/dev/null`\" }" && (echo $$build | cmp -s - $@) || echo $$build >$@ || (rm -f $@ && exit 1)
|
||||
|
||||
programs/winetest/build.nfo:
|
||||
@-$(CC) -v 2>$@
|
||||
|
||||
dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle $(srcdir)/dlls/wineandroid.drv/AndroidManifest.xml $(srcdir)/dlls/wineandroid.drv/WineActivity.java $(srcdir)/dlls/wineandroid.drv/wine.svg
|
||||
cd dlls/wineandroid.drv && gradle -q -Psrcdir=$(srcdir) assembleDebug
|
||||
mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk $@
|
||||
|
||||
# Misc rules
|
||||
|
||||
TAGSFLAGS = --langmap='c:+.idl.l.rh,make:(Make*.in)'
|
||||
|
||||
TAGS etags:
|
||||
rm -f TAGS
|
||||
(test -d .git && git ls-files || find -L $(srcdir) -name '*.[ch]' -print) | xargs etags -a $(TAGSFLAGS)
|
||||
|
||||
tags ctags:
|
||||
rm -f tags
|
||||
(test -d .git && git ls-files || find -L $(srcdir) -name '*.[ch]' -print) | xargs ctags -a $(TAGSFLAGS)
|
5
aclocal.m4
vendored
5
aclocal.m4
vendored
|
@ -257,8 +257,7 @@ dnl
|
|||
dnl Usage: AC_REQUIRE([WINE_CONFIG_HELPERS])
|
||||
dnl
|
||||
AC_DEFUN([WINE_CONFIG_HELPERS],
|
||||
[wine_rules_file=conf$$rules.make
|
||||
rm -f $wine_rules_file
|
||||
[AS_VAR_SET([wine_rules],["all:"])
|
||||
AC_SUBST(SUBDIRS,"")
|
||||
AC_SUBST(DISABLED_SUBDIRS,"")
|
||||
AC_SUBST(CONFIGURE_TARGETS,"")
|
||||
|
@ -270,7 +269,7 @@ wine_fn_append_file ()
|
|||
|
||||
wine_fn_append_rule ()
|
||||
{
|
||||
AS_ECHO("$[1]") >>$wine_rules_file
|
||||
AS_VAR_APPEND(wine_rules,"$as_nl$[1]")
|
||||
}
|
||||
|
||||
wine_fn_config_makefile ()
|
||||
|
|
816
configure
vendored
816
configure
vendored
|
@ -624,10 +624,7 @@ ac_includes_default="\
|
|||
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
LIBOBJS
|
||||
ALL_VARS_RULES
|
||||
api_manext
|
||||
SED_CMD
|
||||
RUNTESTFLAGS
|
||||
TAGSFLAGS
|
||||
LDAP_LIBS
|
||||
LDAP_CFLAGS
|
||||
RT_LIBS
|
||||
|
@ -779,6 +776,9 @@ ac_ct_AR
|
|||
AR
|
||||
BISON
|
||||
FLEX
|
||||
api_manext
|
||||
SED_CMD
|
||||
RUNTESTFLAGS
|
||||
MAKEDEP
|
||||
toolsdir
|
||||
toolsext
|
||||
|
@ -5913,6 +5913,12 @@ toolsdir=$wine_cv_toolsdir
|
|||
|
||||
MAKEDEP=$wine_makedep
|
||||
|
||||
RUNTESTFLAGS="-q -P wine"
|
||||
|
||||
SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
|
||||
|
||||
api_manext=3w
|
||||
|
||||
|
||||
if test -n "$host_alias" -a "$host_alias" != "$build_alias"
|
||||
then
|
||||
|
@ -8162,8 +8168,7 @@ else
|
|||
READELF="$ac_cv_prog_READELF"
|
||||
fi
|
||||
|
||||
wine_rules_file=conf$$rules.make
|
||||
rm -f $wine_rules_file
|
||||
wine_rules="all:"
|
||||
SUBDIRS=""
|
||||
|
||||
DISABLED_SUBDIRS=""
|
||||
|
@ -8178,7 +8183,7 @@ wine_fn_append_file ()
|
|||
|
||||
wine_fn_append_rule ()
|
||||
{
|
||||
$as_echo "$1" >>$wine_rules_file
|
||||
as_fn_append wine_rules "$as_nl$1"
|
||||
}
|
||||
|
||||
wine_fn_config_makefile ()
|
||||
|
@ -18421,19 +18426,8 @@ $as_echo_n "creating Makefile rules..." >&6
|
|||
makedep_flags=""
|
||||
test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
|
||||
|
||||
|
||||
wine_fn_append_rule "
|
||||
# Rules automatically generated by configure
|
||||
|
||||
.INIT: Makefile
|
||||
.MAKEFILEDEPS:
|
||||
all: Makefile
|
||||
Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
|
||||
@./config.status Make.tmp Makefile
|
||||
depend: \$(MAKEDEP)
|
||||
\$(MAKEDEP)$makedep_flags
|
||||
dummy:
|
||||
.PHONY: depend dummy"
|
||||
wine_srcdir=
|
||||
test "$srcdir" = . || wine_srcdir="$srcdir/"
|
||||
|
||||
ac_config_links="$ac_config_links wine:tools/winewrapper"
|
||||
wine_fn_config_symlink wine
|
||||
|
@ -19800,9 +19794,26 @@ fi
|
|||
ac_config_commands="$ac_config_commands Makefile"
|
||||
|
||||
|
||||
ac_config_files="$ac_config_files Make.tmp:Makefile.in"
|
||||
|
||||
SHELL=/bin/sh
|
||||
|
||||
|
||||
wine_fn_append_rule "all: wine
|
||||
@echo \"Wine build complete.\"
|
||||
.INIT: Makefile
|
||||
.MAKEFILEDEPS:
|
||||
all: Makefile
|
||||
Makefile: config.status \$(MAKEDEP)
|
||||
@./config.status Makefile
|
||||
depend: \$(MAKEDEP)
|
||||
\$(MAKEDEP)$makedep_flags"
|
||||
|
||||
|
||||
wine_fn_append_rule "config.status: ${wine_srcdir}configure
|
||||
@./config.status --recheck
|
||||
include/config.h: include/stamp-h
|
||||
include/stamp-h: ${wine_srcdir}include/config.h.in config.status
|
||||
@./config.status include/config.h include/stamp-h"
|
||||
|
||||
if test "x$enable_maintainer_mode" = xyes
|
||||
then
|
||||
|
@ -19816,7 +19827,7 @@ fi
|
|||
|
||||
if test "x$enable_tools" != xno
|
||||
then
|
||||
wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
|
||||
wine_fn_append_rule "tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
|
||||
@./config.status tools/makedep
|
||||
Makefile: tools/makedep$ac_exeext"
|
||||
else
|
||||
|
@ -19824,6 +19835,7 @@ else
|
|||
@echo \"You need to run make in $toolsdir first\" && false"
|
||||
fi
|
||||
|
||||
|
||||
if test -n "$with_wine64"
|
||||
then
|
||||
case "$with_wine64" in
|
||||
|
@ -19867,237 +19879,36 @@ server/wineserver"
|
|||
fi
|
||||
|
||||
|
||||
SHELL=/bin/sh
|
||||
|
||||
RUNTESTFLAGS="-q -P wine"
|
||||
|
||||
SED_CMD="LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"
|
||||
|
||||
api_manext=3w
|
||||
wine_fn_append_rule "distclean:: clean
|
||||
rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)"
|
||||
|
||||
|
||||
ALL_VARS_RULES="SHELL = $SHELL
|
||||
PATH_SEPARATOR = $PATH_SEPARATOR
|
||||
PACKAGE_NAME = $PACKAGE_NAME
|
||||
PACKAGE_TARNAME = $PACKAGE_TARNAME
|
||||
PACKAGE_VERSION = $PACKAGE_VERSION
|
||||
PACKAGE_STRING = $PACKAGE_STRING
|
||||
PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
|
||||
PACKAGE_URL = $PACKAGE_URL
|
||||
program_transform_name = $program_transform_name
|
||||
bindir = $bindir
|
||||
sbindir = $sbindir
|
||||
libexecdir = $libexecdir
|
||||
datarootdir = $datarootdir
|
||||
datadir = $datadir
|
||||
sysconfdir = $sysconfdir
|
||||
sharedstatedir = $sharedstatedir
|
||||
localstatedir = $localstatedir
|
||||
runstatedir = $runstatedir
|
||||
includedir = $includedir
|
||||
oldincludedir = $oldincludedir
|
||||
docdir = $docdir
|
||||
infodir = $infodir
|
||||
htmldir = $htmldir
|
||||
dvidir = $dvidir
|
||||
pdfdir = $pdfdir
|
||||
psdir = $psdir
|
||||
libdir = $libdir
|
||||
localedir = $localedir
|
||||
mandir = $mandir
|
||||
DEFS = $DEFS
|
||||
ECHO_C = $ECHO_C
|
||||
ECHO_N = $ECHO_N
|
||||
ECHO_T = $ECHO_T
|
||||
LIBS = $LIBS
|
||||
build_alias = $build_alias
|
||||
host_alias = $host_alias
|
||||
target_alias = $target_alias
|
||||
build = $build
|
||||
build_cpu = $build_cpu
|
||||
build_vendor = $build_vendor
|
||||
build_os = $build_os
|
||||
host = $host
|
||||
host_cpu = $host_cpu
|
||||
host_vendor = $host_vendor
|
||||
host_os = $host_os
|
||||
dlldir = $dlldir
|
||||
fontdir = $fontdir
|
||||
nlsdir = $nlsdir
|
||||
srcdir = $srcdir
|
||||
CC = $CC
|
||||
CFLAGS = $CFLAGS
|
||||
LDFLAGS = $LDFLAGS
|
||||
CPPFLAGS = $CPPFLAGS
|
||||
ac_ct_CC = $ac_ct_CC
|
||||
EXEEXT = $EXEEXT
|
||||
OBJEXT = $OBJEXT
|
||||
CXX = $CXX
|
||||
CXXFLAGS = $CXXFLAGS
|
||||
ac_ct_CXX = $ac_ct_CXX
|
||||
CPPBIN = $CPPBIN
|
||||
LD = $LD
|
||||
TARGETFLAGS = $TARGETFLAGS
|
||||
toolsext = $toolsext
|
||||
toolsdir = $toolsdir
|
||||
MAKEDEP = $MAKEDEP
|
||||
FLEX = $FLEX
|
||||
BISON = $BISON
|
||||
AR = $AR
|
||||
ac_ct_AR = $ac_ct_AR
|
||||
STRIP = $STRIP
|
||||
RANLIB = $RANLIB
|
||||
LN_S = $LN_S
|
||||
GREP = $GREP
|
||||
EGREP = $EGREP
|
||||
LDCONFIG = $LDCONFIG
|
||||
MSGFMT = $MSGFMT
|
||||
PKG_CONFIG = $PKG_CONFIG
|
||||
FONTFORGE = $FONTFORGE
|
||||
RSVG = $RSVG
|
||||
CONVERT = $CONVERT
|
||||
ICOTOOL = $ICOTOOL
|
||||
I386_LIBS = $I386_LIBS
|
||||
OPENGL_LIBS = $OPENGL_LIBS
|
||||
CPP = $CPP
|
||||
DLLFLAGS = $DLLFLAGS
|
||||
LDDLLFLAGS = $LDDLLFLAGS
|
||||
LDEXECFLAGS = $LDEXECFLAGS
|
||||
EXTRACFLAGS = $EXTRACFLAGS
|
||||
UNIXDLLFLAGS = $UNIXDLLFLAGS
|
||||
UNIXLDFLAGS = $UNIXLDFLAGS
|
||||
TOP_INSTALL_LIB = $TOP_INSTALL_LIB
|
||||
TOP_INSTALL_DEV = $TOP_INSTALL_DEV
|
||||
WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
|
||||
WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
|
||||
LDD = $LDD
|
||||
OTOOL = $OTOOL
|
||||
READELF = $READELF
|
||||
SUBDIRS = $SUBDIRS
|
||||
DISABLED_SUBDIRS = $DISABLED_SUBDIRS
|
||||
CONFIGURE_TARGETS = $CONFIGURE_TARGETS
|
||||
WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
|
||||
DLLTOOL = $DLLTOOL
|
||||
OBJC = $OBJC
|
||||
OBJCFLAGS = $OBJCFLAGS
|
||||
ac_ct_OBJC = $ac_ct_OBJC
|
||||
OBJCPP = $OBJCPP
|
||||
COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
|
||||
IOKIT_LIBS = $IOKIT_LIBS
|
||||
APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
|
||||
CORESERVICES_LIBS = $CORESERVICES_LIBS
|
||||
APPKIT_LIBS = $APPKIT_LIBS
|
||||
SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
|
||||
DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
|
||||
SECURITY_LIBS = $SECURITY_LIBS
|
||||
COREAUDIO_LIBS = $COREAUDIO_LIBS
|
||||
OPENAL_LIBS = $OPENAL_LIBS
|
||||
OPENCL_LIBS = $OPENCL_LIBS
|
||||
QUICKTIME_LIBS = $QUICKTIME_LIBS
|
||||
CARBON_LIBS = $CARBON_LIBS
|
||||
METAL_LIBS = $METAL_LIBS
|
||||
LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
|
||||
LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
|
||||
WINELOADER_DEPENDS = $WINELOADER_DEPENDS
|
||||
PRELINK = $PRELINK
|
||||
LIBWINE_DEPENDS = $LIBWINE_DEPENDS
|
||||
CROSSTARGET = $CROSSTARGET
|
||||
CROSSCC = $CROSSCC
|
||||
CROSSCFLAGS = $CROSSCFLAGS
|
||||
EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
|
||||
CROSSLDFLAGS = $CROSSLDFLAGS
|
||||
DELAYLOADFLAG = $DELAYLOADFLAG
|
||||
CROSSDEBUG = $CROSSDEBUG
|
||||
EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
|
||||
FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
|
||||
FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
|
||||
GSM_PE_CFLAGS = $GSM_PE_CFLAGS
|
||||
GSM_PE_LIBS = $GSM_PE_LIBS
|
||||
JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
|
||||
JPEG_PE_LIBS = $JPEG_PE_LIBS
|
||||
JXR_PE_CFLAGS = $JXR_PE_CFLAGS
|
||||
JXR_PE_LIBS = $JXR_PE_LIBS
|
||||
LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
|
||||
LCMS2_PE_LIBS = $LCMS2_PE_LIBS
|
||||
MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
|
||||
MPG123_PE_LIBS = $MPG123_PE_LIBS
|
||||
PNG_PE_CFLAGS = $PNG_PE_CFLAGS
|
||||
PNG_PE_LIBS = $PNG_PE_LIBS
|
||||
TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
|
||||
TIFF_PE_LIBS = $TIFF_PE_LIBS
|
||||
XML2_PE_CFLAGS = $XML2_PE_CFLAGS
|
||||
XML2_PE_LIBS = $XML2_PE_LIBS
|
||||
XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
|
||||
XSLT_PE_LIBS = $XSLT_PE_LIBS
|
||||
ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
|
||||
ZLIB_PE_LIBS = $ZLIB_PE_LIBS
|
||||
PTHREAD_LIBS = $PTHREAD_LIBS
|
||||
XMKMF = $XMKMF
|
||||
X_CFLAGS = $X_CFLAGS
|
||||
X_PRE_LIBS = $X_PRE_LIBS
|
||||
X_LIBS = $X_LIBS
|
||||
X_EXTRA_LIBS = $X_EXTRA_LIBS
|
||||
PCAP_LIBS = $PCAP_LIBS
|
||||
INOTIFY_CFLAGS = $INOTIFY_CFLAGS
|
||||
INOTIFY_LIBS = $INOTIFY_LIBS
|
||||
DBUS_CFLAGS = $DBUS_CFLAGS
|
||||
DBUS_LIBS = $DBUS_LIBS
|
||||
HAL_CFLAGS = $HAL_CFLAGS
|
||||
HAL_LIBS = $HAL_LIBS
|
||||
GNUTLS_CFLAGS = $GNUTLS_CFLAGS
|
||||
GNUTLS_LIBS = $GNUTLS_LIBS
|
||||
SANE_CFLAGS = $SANE_CFLAGS
|
||||
SANE_LIBS = $SANE_LIBS
|
||||
USB_CFLAGS = $USB_CFLAGS
|
||||
USB_LIBS = $USB_LIBS
|
||||
GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
|
||||
GPHOTO2_LIBS = $GPHOTO2_LIBS
|
||||
GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
|
||||
GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
|
||||
RESOLV_LIBS = $RESOLV_LIBS
|
||||
FREETYPE_CFLAGS = $FREETYPE_CFLAGS
|
||||
FREETYPE_LIBS = $FREETYPE_LIBS
|
||||
GETTEXTPO_LIBS = $GETTEXTPO_LIBS
|
||||
PULSE_CFLAGS = $PULSE_CFLAGS
|
||||
PULSE_LIBS = $PULSE_LIBS
|
||||
GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
|
||||
GSTREAMER_LIBS = $GSTREAMER_LIBS
|
||||
ALSA_LIBS = $ALSA_LIBS
|
||||
OSS4_CFLAGS = $OSS4_CFLAGS
|
||||
OSS4_LIBS = $OSS4_LIBS
|
||||
UDEV_CFLAGS = $UDEV_CFLAGS
|
||||
UDEV_LIBS = $UDEV_LIBS
|
||||
UNWIND_CFLAGS = $UNWIND_CFLAGS
|
||||
UNWIND_LIBS = $UNWIND_LIBS
|
||||
SDL2_CFLAGS = $SDL2_CFLAGS
|
||||
SDL2_LIBS = $SDL2_LIBS
|
||||
CAPI20_CFLAGS = $CAPI20_CFLAGS
|
||||
CAPI20_LIBS = $CAPI20_LIBS
|
||||
CUPS_CFLAGS = $CUPS_CFLAGS
|
||||
CUPS_LIBS = $CUPS_LIBS
|
||||
FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
|
||||
FONTCONFIG_LIBS = $FONTCONFIG_LIBS
|
||||
KRB5_CFLAGS = $KRB5_CFLAGS
|
||||
KRB5_LIBS = $KRB5_LIBS
|
||||
GSSAPI_CFLAGS = $GSSAPI_CFLAGS
|
||||
GSSAPI_LIBS = $GSSAPI_LIBS
|
||||
PROCSTAT_LIBS = $PROCSTAT_LIBS
|
||||
NETAPI_CFLAGS = $NETAPI_CFLAGS
|
||||
NETAPI_LIBS = $NETAPI_LIBS
|
||||
VKD3D_CFLAGS = $VKD3D_CFLAGS
|
||||
VKD3D_LIBS = $VKD3D_LIBS
|
||||
VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
|
||||
VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
|
||||
MSVCRTFLAGS = $MSVCRTFLAGS
|
||||
RT_LIBS = $RT_LIBS
|
||||
LDAP_CFLAGS = $LDAP_CFLAGS
|
||||
LDAP_LIBS = $LDAP_LIBS
|
||||
RUNTESTFLAGS = $RUNTESTFLAGS
|
||||
SED_CMD = $SED_CMD
|
||||
api_manext = $api_manext
|
||||
"
|
||||
wine_fn_append_rule "install-manpages:: manpages
|
||||
for i in documentation/man\$(api_manext)/*.\$(api_manext); do ${wine_srcdir}tools/install-sh -m 644 \$(INSTALL_DATA_FLAGS) \$\$i \$(DESTDIR)\$(mandir)/\$\$i; done"
|
||||
|
||||
|
||||
wine_fn_append_rule "dlls/ntdll/unix/version.c: dummy
|
||||
@version=\`(GIT_DIR=${wine_srcdir}.git git describe HEAD 2>/dev/null || echo \"wine-\$(PACKAGE_VERSION)\") | sed -n -e '\$\$s/\(.*\)/const char wine_build[] = \"\\1\";/p'\` && (echo \$\$version | cmp -s - \$@) || echo \$\$version >\$@ || (rm -f \$@ && exit 1)
|
||||
programs/winetest/build.rc: dummy
|
||||
@build=\"STRINGTABLE { 1 \\\"\`GIT_DIR=${wine_srcdir}.git git rev-parse HEAD 2>/dev/null\`\\\" }\" && (echo \$\$build | cmp -s - \$@) || echo \$\$build >\$@ || (rm -f \$@ && exit 1)
|
||||
programs/winetest/build.nfo:
|
||||
@-\$(CC) -v 2>\$@
|
||||
dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle ${wine_srcdir}dlls/wineandroid.drv/AndroidManifest.xml ${wine_srcdir}dlls/wineandroid.drv/WineActivity.java ${wine_srcdir}dlls/wineandroid.drv/wine.svg
|
||||
cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
|
||||
mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
|
||||
|
||||
|
||||
TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
|
||||
|
||||
wine_fn_append_rule "TAGS etags:
|
||||
rm -f TAGS
|
||||
(test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
|
||||
tags ctags:
|
||||
rm -f tags
|
||||
(test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
|
||||
dummy:
|
||||
.PHONY: depend dummy install-manpages"
|
||||
|
||||
$as_echo " done" >&6
|
||||
cat >confcache <<\_ACEOF
|
||||
# This file is a shell script that caches the results of configure
|
||||
|
@ -20619,9 +20430,6 @@ on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|||
|
||||
_ACEOF
|
||||
|
||||
case $ac_config_files in *"
|
||||
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
||||
esac
|
||||
|
||||
case $ac_config_headers in *"
|
||||
"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
|
||||
|
@ -20630,7 +20438,6 @@ esac
|
|||
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
# Files that config.status was made for.
|
||||
config_files="$ac_config_files"
|
||||
config_headers="$ac_config_headers"
|
||||
config_links="$ac_config_links"
|
||||
config_commands="$ac_config_commands"
|
||||
|
@ -20652,14 +20459,9 @@ Usage: $0 [OPTION]... [TAG]...
|
|||
do not print progress messages
|
||||
-d, --debug don't remove temporary files
|
||||
--recheck update $as_me by reconfiguring in the same conditions
|
||||
--file=FILE[:TEMPLATE]
|
||||
instantiate the configuration file FILE
|
||||
--header=FILE[:TEMPLATE]
|
||||
instantiate the configuration header FILE
|
||||
|
||||
Configuration files:
|
||||
$config_files
|
||||
|
||||
Configuration headers:
|
||||
$config_headers
|
||||
|
||||
|
@ -20722,14 +20524,6 @@ do
|
|||
$as_echo "$ac_cs_config"; exit ;;
|
||||
--debug | --debu | --deb | --de | --d | -d )
|
||||
debug=: ;;
|
||||
--file | --fil | --fi | --f )
|
||||
$ac_shift
|
||||
case $ac_optarg in
|
||||
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
||||
'') as_fn_error $? "missing file argument" ;;
|
||||
esac
|
||||
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
||||
ac_need_defaults=false;;
|
||||
--header | --heade | --head | --hea )
|
||||
$ac_shift
|
||||
case $ac_optarg in
|
||||
|
@ -20795,12 +20589,256 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|||
wine_fn_output_makedep ()
|
||||
{
|
||||
as_dir=tools; as_fn_mkdir_p
|
||||
$CC -I$srcdir/tools -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
|
||||
$CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
|
||||
}
|
||||
wine_fn_output_makefile ()
|
||||
{
|
||||
cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
|
||||
`cat $wine_rules_file`
|
||||
cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
|
||||
# This Makefile understands the following targets:
|
||||
#
|
||||
# all (default): build wine
|
||||
# clean: remove all intermediate files
|
||||
# distclean: also remove all files created by configure
|
||||
# test: run tests
|
||||
# testclean: clean test results to force running all tests again
|
||||
# install-lib: install libraries needed to run applications
|
||||
# install-dev: install development environment
|
||||
# install: install everything
|
||||
# uninstall: uninstall everything
|
||||
# ctags: create a tags file for vim and others.
|
||||
# etags: create a TAGS file for Emacs.
|
||||
# manpages: compile manpages for Wine API
|
||||
# htmlpages: compile html pages for Wine API
|
||||
# sgmlpages: compile sgml source for the Wine API Guide
|
||||
# xmlpages: compile xml source for the Wine API Guide
|
||||
|
||||
SHELL = $SHELL
|
||||
PATH_SEPARATOR = $PATH_SEPARATOR
|
||||
PACKAGE_NAME = $PACKAGE_NAME
|
||||
PACKAGE_TARNAME = $PACKAGE_TARNAME
|
||||
PACKAGE_VERSION = $PACKAGE_VERSION
|
||||
PACKAGE_STRING = $PACKAGE_STRING
|
||||
PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
|
||||
PACKAGE_URL = $PACKAGE_URL
|
||||
exec_prefix = $exec_prefix
|
||||
prefix = $prefix
|
||||
program_transform_name = $program_transform_name
|
||||
bindir = $bindir
|
||||
sbindir = $sbindir
|
||||
libexecdir = $libexecdir
|
||||
datarootdir = $datarootdir
|
||||
datadir = $datadir
|
||||
sysconfdir = $sysconfdir
|
||||
sharedstatedir = $sharedstatedir
|
||||
localstatedir = $localstatedir
|
||||
runstatedir = $runstatedir
|
||||
includedir = $includedir
|
||||
oldincludedir = $oldincludedir
|
||||
docdir = $docdir
|
||||
infodir = $infodir
|
||||
htmldir = $htmldir
|
||||
dvidir = $dvidir
|
||||
pdfdir = $pdfdir
|
||||
psdir = $psdir
|
||||
libdir = $libdir
|
||||
localedir = $localedir
|
||||
mandir = $mandir
|
||||
DEFS = $DEFS
|
||||
ECHO_C = $ECHO_C
|
||||
ECHO_N = $ECHO_N
|
||||
ECHO_T = $ECHO_T
|
||||
LIBS = $LIBS
|
||||
build_alias = $build_alias
|
||||
host_alias = $host_alias
|
||||
target_alias = $target_alias
|
||||
build = $build
|
||||
build_cpu = $build_cpu
|
||||
build_vendor = $build_vendor
|
||||
build_os = $build_os
|
||||
host = $host
|
||||
host_cpu = $host_cpu
|
||||
host_vendor = $host_vendor
|
||||
host_os = $host_os
|
||||
dlldir = $dlldir
|
||||
fontdir = $fontdir
|
||||
nlsdir = $nlsdir
|
||||
srcdir = $srcdir
|
||||
SET_MAKE = $SET_MAKE
|
||||
CC = $CC
|
||||
CFLAGS = $CFLAGS
|
||||
LDFLAGS = $LDFLAGS
|
||||
CPPFLAGS = $CPPFLAGS
|
||||
ac_ct_CC = $ac_ct_CC
|
||||
EXEEXT = $EXEEXT
|
||||
OBJEXT = $OBJEXT
|
||||
CXX = $CXX
|
||||
CXXFLAGS = $CXXFLAGS
|
||||
ac_ct_CXX = $ac_ct_CXX
|
||||
CPPBIN = $CPPBIN
|
||||
LD = $LD
|
||||
TARGETFLAGS = $TARGETFLAGS
|
||||
toolsext = $toolsext
|
||||
toolsdir = $toolsdir
|
||||
MAKEDEP = $MAKEDEP
|
||||
RUNTESTFLAGS = $RUNTESTFLAGS
|
||||
SED_CMD = $SED_CMD
|
||||
api_manext = $api_manext
|
||||
FLEX = $FLEX
|
||||
BISON = $BISON
|
||||
AR = $AR
|
||||
ac_ct_AR = $ac_ct_AR
|
||||
STRIP = $STRIP
|
||||
RANLIB = $RANLIB
|
||||
LN_S = $LN_S
|
||||
GREP = $GREP
|
||||
EGREP = $EGREP
|
||||
LDCONFIG = $LDCONFIG
|
||||
MSGFMT = $MSGFMT
|
||||
PKG_CONFIG = $PKG_CONFIG
|
||||
FONTFORGE = $FONTFORGE
|
||||
RSVG = $RSVG
|
||||
CONVERT = $CONVERT
|
||||
ICOTOOL = $ICOTOOL
|
||||
I386_LIBS = $I386_LIBS
|
||||
OPENGL_LIBS = $OPENGL_LIBS
|
||||
CPP = $CPP
|
||||
DLLFLAGS = $DLLFLAGS
|
||||
LDDLLFLAGS = $LDDLLFLAGS
|
||||
LDEXECFLAGS = $LDEXECFLAGS
|
||||
EXTRACFLAGS = $EXTRACFLAGS
|
||||
UNIXDLLFLAGS = $UNIXDLLFLAGS
|
||||
UNIXLDFLAGS = $UNIXLDFLAGS
|
||||
TOP_INSTALL_LIB = $TOP_INSTALL_LIB
|
||||
TOP_INSTALL_DEV = $TOP_INSTALL_DEV
|
||||
WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
|
||||
WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
|
||||
LDD = $LDD
|
||||
OTOOL = $OTOOL
|
||||
READELF = $READELF
|
||||
SUBDIRS = $SUBDIRS
|
||||
DISABLED_SUBDIRS = $DISABLED_SUBDIRS
|
||||
CONFIGURE_TARGETS = $CONFIGURE_TARGETS
|
||||
WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
|
||||
DLLTOOL = $DLLTOOL
|
||||
OBJC = $OBJC
|
||||
OBJCFLAGS = $OBJCFLAGS
|
||||
ac_ct_OBJC = $ac_ct_OBJC
|
||||
OBJCPP = $OBJCPP
|
||||
COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
|
||||
IOKIT_LIBS = $IOKIT_LIBS
|
||||
APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
|
||||
CORESERVICES_LIBS = $CORESERVICES_LIBS
|
||||
APPKIT_LIBS = $APPKIT_LIBS
|
||||
SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
|
||||
DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
|
||||
SECURITY_LIBS = $SECURITY_LIBS
|
||||
COREAUDIO_LIBS = $COREAUDIO_LIBS
|
||||
OPENAL_LIBS = $OPENAL_LIBS
|
||||
OPENCL_LIBS = $OPENCL_LIBS
|
||||
QUICKTIME_LIBS = $QUICKTIME_LIBS
|
||||
CARBON_LIBS = $CARBON_LIBS
|
||||
METAL_LIBS = $METAL_LIBS
|
||||
LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
|
||||
LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
|
||||
WINELOADER_DEPENDS = $WINELOADER_DEPENDS
|
||||
PRELINK = $PRELINK
|
||||
LIBWINE_DEPENDS = $LIBWINE_DEPENDS
|
||||
CROSSTARGET = $CROSSTARGET
|
||||
CROSSCC = $CROSSCC
|
||||
CROSSCFLAGS = $CROSSCFLAGS
|
||||
EXTRACROSSCFLAGS = $EXTRACROSSCFLAGS
|
||||
CROSSLDFLAGS = $CROSSLDFLAGS
|
||||
DELAYLOADFLAG = $DELAYLOADFLAG
|
||||
CROSSDEBUG = $CROSSDEBUG
|
||||
EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
|
||||
FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
|
||||
FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
|
||||
GSM_PE_CFLAGS = $GSM_PE_CFLAGS
|
||||
GSM_PE_LIBS = $GSM_PE_LIBS
|
||||
JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
|
||||
JPEG_PE_LIBS = $JPEG_PE_LIBS
|
||||
JXR_PE_CFLAGS = $JXR_PE_CFLAGS
|
||||
JXR_PE_LIBS = $JXR_PE_LIBS
|
||||
LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
|
||||
LCMS2_PE_LIBS = $LCMS2_PE_LIBS
|
||||
MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
|
||||
MPG123_PE_LIBS = $MPG123_PE_LIBS
|
||||
PNG_PE_CFLAGS = $PNG_PE_CFLAGS
|
||||
PNG_PE_LIBS = $PNG_PE_LIBS
|
||||
TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
|
||||
TIFF_PE_LIBS = $TIFF_PE_LIBS
|
||||
XML2_PE_CFLAGS = $XML2_PE_CFLAGS
|
||||
XML2_PE_LIBS = $XML2_PE_LIBS
|
||||
XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
|
||||
XSLT_PE_LIBS = $XSLT_PE_LIBS
|
||||
ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
|
||||
ZLIB_PE_LIBS = $ZLIB_PE_LIBS
|
||||
PTHREAD_LIBS = $PTHREAD_LIBS
|
||||
XMKMF = $XMKMF
|
||||
X_CFLAGS = $X_CFLAGS
|
||||
X_PRE_LIBS = $X_PRE_LIBS
|
||||
X_LIBS = $X_LIBS
|
||||
X_EXTRA_LIBS = $X_EXTRA_LIBS
|
||||
PCAP_LIBS = $PCAP_LIBS
|
||||
INOTIFY_CFLAGS = $INOTIFY_CFLAGS
|
||||
INOTIFY_LIBS = $INOTIFY_LIBS
|
||||
DBUS_CFLAGS = $DBUS_CFLAGS
|
||||
DBUS_LIBS = $DBUS_LIBS
|
||||
HAL_CFLAGS = $HAL_CFLAGS
|
||||
HAL_LIBS = $HAL_LIBS
|
||||
GNUTLS_CFLAGS = $GNUTLS_CFLAGS
|
||||
GNUTLS_LIBS = $GNUTLS_LIBS
|
||||
SANE_CFLAGS = $SANE_CFLAGS
|
||||
SANE_LIBS = $SANE_LIBS
|
||||
USB_CFLAGS = $USB_CFLAGS
|
||||
USB_LIBS = $USB_LIBS
|
||||
GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
|
||||
GPHOTO2_LIBS = $GPHOTO2_LIBS
|
||||
GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
|
||||
GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
|
||||
RESOLV_LIBS = $RESOLV_LIBS
|
||||
FREETYPE_CFLAGS = $FREETYPE_CFLAGS
|
||||
FREETYPE_LIBS = $FREETYPE_LIBS
|
||||
GETTEXTPO_LIBS = $GETTEXTPO_LIBS
|
||||
PULSE_CFLAGS = $PULSE_CFLAGS
|
||||
PULSE_LIBS = $PULSE_LIBS
|
||||
GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
|
||||
GSTREAMER_LIBS = $GSTREAMER_LIBS
|
||||
ALSA_LIBS = $ALSA_LIBS
|
||||
OSS4_CFLAGS = $OSS4_CFLAGS
|
||||
OSS4_LIBS = $OSS4_LIBS
|
||||
UDEV_CFLAGS = $UDEV_CFLAGS
|
||||
UDEV_LIBS = $UDEV_LIBS
|
||||
UNWIND_CFLAGS = $UNWIND_CFLAGS
|
||||
UNWIND_LIBS = $UNWIND_LIBS
|
||||
SDL2_CFLAGS = $SDL2_CFLAGS
|
||||
SDL2_LIBS = $SDL2_LIBS
|
||||
CAPI20_CFLAGS = $CAPI20_CFLAGS
|
||||
CAPI20_LIBS = $CAPI20_LIBS
|
||||
CUPS_CFLAGS = $CUPS_CFLAGS
|
||||
CUPS_LIBS = $CUPS_LIBS
|
||||
FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
|
||||
FONTCONFIG_LIBS = $FONTCONFIG_LIBS
|
||||
KRB5_CFLAGS = $KRB5_CFLAGS
|
||||
KRB5_LIBS = $KRB5_LIBS
|
||||
GSSAPI_CFLAGS = $GSSAPI_CFLAGS
|
||||
GSSAPI_LIBS = $GSSAPI_LIBS
|
||||
PROCSTAT_LIBS = $PROCSTAT_LIBS
|
||||
NETAPI_CFLAGS = $NETAPI_CFLAGS
|
||||
NETAPI_LIBS = $NETAPI_LIBS
|
||||
VKD3D_CFLAGS = $VKD3D_CFLAGS
|
||||
VKD3D_LIBS = $VKD3D_LIBS
|
||||
VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
|
||||
VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
|
||||
MSVCRTFLAGS = $MSVCRTFLAGS
|
||||
RT_LIBS = $RT_LIBS
|
||||
LDAP_CFLAGS = $LDAP_CFLAGS
|
||||
LDAP_LIBS = $LDAP_LIBS
|
||||
TAGSFLAGS = $TAGSFLAGS
|
||||
LIBOBJS = $LIBOBJS
|
||||
LTLIBOBJS = $LTLIBOBJS
|
||||
$SET_MAKE
|
||||
$wine_rules
|
||||
_WINE_EOF
|
||||
as_fn_error $? "could not create Makefile" "$LINENO" 5
|
||||
}
|
||||
|
@ -20819,7 +20857,6 @@ do
|
|||
"wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
|
||||
"tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
|
||||
"Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
|
||||
"Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
|
||||
|
||||
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
||||
esac
|
||||
|
@ -20831,7 +20868,6 @@ done
|
|||
# We use the long form for the default assignment because of an extremely
|
||||
# bizarre bug on SunOS 4.1.3.
|
||||
if $ac_need_defaults; then
|
||||
test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
|
||||
test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
|
||||
test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
|
||||
test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
|
||||
|
@ -20864,164 +20900,6 @@ $debug ||
|
|||
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
|
||||
ac_tmp=$tmp
|
||||
|
||||
# Set up the scripts for CONFIG_FILES section.
|
||||
# No need to generate them if there are no CONFIG_FILES.
|
||||
# This happens for instance with `./config.status config.h'.
|
||||
if test -n "$CONFIG_FILES"; then
|
||||
|
||||
|
||||
ac_cr=`echo X | tr X '\015'`
|
||||
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
||||
# But we know of no other shell where ac_cr would be empty at this
|
||||
# point, so we can use a bashism as a fallback.
|
||||
if test "x$ac_cr" = x; then
|
||||
eval ac_cr=\$\'\\r\'
|
||||
fi
|
||||
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
||||
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
||||
ac_cs_awk_cr='\\r'
|
||||
else
|
||||
ac_cs_awk_cr=$ac_cr
|
||||
fi
|
||||
|
||||
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
|
||||
_ACEOF
|
||||
|
||||
|
||||
{
|
||||
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
||||
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
||||
echo "_ACEOF"
|
||||
} >conf$$subs.sh ||
|
||||
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
||||
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
|
||||
ac_delim='%!_!# '
|
||||
for ac_last_try in false false false false false :; do
|
||||
. ./conf$$subs.sh ||
|
||||
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
||||
|
||||
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
||||
if test $ac_delim_n = $ac_delim_num; then
|
||||
break
|
||||
elif $ac_last_try; then
|
||||
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
|
||||
else
|
||||
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
||||
fi
|
||||
done
|
||||
rm -f conf$$subs.sh
|
||||
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
|
||||
_ACEOF
|
||||
sed -n '
|
||||
h
|
||||
s/^/S["/; s/!.*/"]=/
|
||||
p
|
||||
g
|
||||
s/^[^!]*!//
|
||||
:repl
|
||||
t repl
|
||||
s/'"$ac_delim"'$//
|
||||
t delim
|
||||
:nl
|
||||
h
|
||||
s/\(.\{148\}\)..*/\1/
|
||||
t more1
|
||||
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
||||
p
|
||||
n
|
||||
b repl
|
||||
:more1
|
||||
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
||||
p
|
||||
g
|
||||
s/.\{148\}//
|
||||
t nl
|
||||
:delim
|
||||
h
|
||||
s/\(.\{148\}\)..*/\1/
|
||||
t more2
|
||||
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
||||
p
|
||||
b
|
||||
:more2
|
||||
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
||||
p
|
||||
g
|
||||
s/.\{148\}//
|
||||
t delim
|
||||
' <conf$$subs.awk | sed '
|
||||
/^[^""]/{
|
||||
N
|
||||
s/\n//
|
||||
}
|
||||
' >>$CONFIG_STATUS || ac_write_fail=1
|
||||
rm -f conf$$subs.awk
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
_ACAWK
|
||||
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
|
||||
for (key in S) S_is_set[key] = 1
|
||||
FS = ""
|
||||
|
||||
}
|
||||
{
|
||||
line = $ 0
|
||||
nfields = split(line, field, "@")
|
||||
substed = 0
|
||||
len = length(field[1])
|
||||
for (i = 2; i < nfields; i++) {
|
||||
key = field[i]
|
||||
keylen = length(key)
|
||||
if (S_is_set[key]) {
|
||||
value = S[key]
|
||||
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
||||
len += length(value) + length(field[++i])
|
||||
substed = 1
|
||||
} else
|
||||
len += 1 + keylen
|
||||
}
|
||||
|
||||
print line
|
||||
}
|
||||
|
||||
_ACAWK
|
||||
_ACEOF
|
||||
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
||||
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
||||
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
||||
else
|
||||
cat
|
||||
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
|
||||
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
|
||||
_ACEOF
|
||||
|
||||
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
|
||||
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
|
||||
# trailing colons and then remove the whole line if VPATH becomes empty
|
||||
# (actually we leave an empty line to preserve line numbers).
|
||||
if test "x$srcdir" = x.; then
|
||||
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
|
||||
h
|
||||
s///
|
||||
s/^/:/
|
||||
s/[ ]*$/:/
|
||||
s/:\$(srcdir):/:/g
|
||||
s/:\${srcdir}:/:/g
|
||||
s/:@srcdir@:/:/g
|
||||
s/^:*//
|
||||
s/:*$//
|
||||
x
|
||||
s/\(=[ ]*\).*/\1/
|
||||
G
|
||||
s/\n//
|
||||
s/^[^=]*=[ ]*$//
|
||||
}'
|
||||
fi
|
||||
|
||||
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
||||
fi # test -n "$CONFIG_FILES"
|
||||
|
||||
# Set up the scripts for CONFIG_HEADERS section.
|
||||
# No need to generate them if there are no CONFIG_HEADERS.
|
||||
# This happens for instance with `./config.status Makefile'.
|
||||
|
@ -21131,7 +21009,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|||
fi # test -n "$CONFIG_HEADERS"
|
||||
|
||||
|
||||
eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
|
||||
eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
|
||||
shift
|
||||
for ac_tag
|
||||
do
|
||||
|
@ -21260,85 +21138,7 @@ ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|||
|
||||
|
||||
case $ac_mode in
|
||||
:F)
|
||||
#
|
||||
# CONFIG_FILE
|
||||
#
|
||||
|
||||
_ACEOF
|
||||
|
||||
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
||||
# If the template does not know about datarootdir, expand it.
|
||||
# FIXME: This hack should be removed a few years after 2.60.
|
||||
ac_datarootdir_hack=; ac_datarootdir_seen=
|
||||
ac_sed_dataroot='
|
||||
/datarootdir/ {
|
||||
p
|
||||
q
|
||||
}
|
||||
/@datadir@/p
|
||||
/@docdir@/p
|
||||
/@infodir@/p
|
||||
/@localedir@/p
|
||||
/@mandir@/p'
|
||||
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
||||
*datarootdir*) ac_datarootdir_seen=yes;;
|
||||
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
||||
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
||||
_ACEOF
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_datarootdir_hack='
|
||||
s&@datadir@&$datadir&g
|
||||
s&@docdir@&$docdir&g
|
||||
s&@infodir@&$infodir&g
|
||||
s&@localedir@&$localedir&g
|
||||
s&@mandir@&$mandir&g
|
||||
s&\\\${datarootdir}&$datarootdir&g' ;;
|
||||
esac
|
||||
_ACEOF
|
||||
|
||||
# Neutralize VPATH when `$srcdir' = `.'.
|
||||
# Shell code in configure.ac might set extrasub.
|
||||
# FIXME: do we really want to maintain this feature?
|
||||
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
||||
ac_sed_extra="$ac_vpsub
|
||||
$extrasub
|
||||
_ACEOF
|
||||
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
||||
:t
|
||||
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
||||
s|@configure_input@|$ac_sed_conf_input|;t t
|
||||
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
||||
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
||||
s&@srcdir@&$ac_srcdir&;t t
|
||||
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
||||
s&@top_srcdir@&$ac_top_srcdir&;t t
|
||||
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
||||
s&@builddir@&$ac_builddir&;t t
|
||||
s&@abs_builddir@&$ac_abs_builddir&;t t
|
||||
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
||||
$ac_datarootdir_hack
|
||||
"
|
||||
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
|
||||
>$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||
|
||||
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
||||
{ ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
|
||||
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
|
||||
"$ac_tmp/out"`; test -z "$ac_out"; } &&
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
||||
which seems to be undefined. Please make sure it is defined" >&5
|
||||
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
||||
which seems to be undefined. Please make sure it is defined" >&2;}
|
||||
|
||||
rm -f "$ac_tmp/stdin"
|
||||
case $ac_file in
|
||||
-) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
|
||||
*) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
|
||||
esac \
|
||||
|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
|
||||
;;
|
||||
:H)
|
||||
#
|
||||
# CONFIG_HEADER
|
||||
|
|
116
configure.ac
116
configure.ac
|
@ -257,6 +257,9 @@ else
|
|||
fi
|
||||
AC_SUBST(toolsdir,[$wine_cv_toolsdir])
|
||||
AC_SUBST(MAKEDEP,[$wine_makedep])
|
||||
AC_SUBST(RUNTESTFLAGS,["-q -P wine"])
|
||||
AC_SUBST(SED_CMD,["LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"])
|
||||
AC_SUBST(api_manext,[3w])
|
||||
|
||||
if test -n "$host_alias" -a "$host_alias" != "$build_alias"
|
||||
then
|
||||
|
@ -2402,20 +2405,8 @@ AS_ECHO_N("creating Makefile rules...") >&AS_MESSAGE_FD
|
|||
makedep_flags=""
|
||||
test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
|
||||
|
||||
dnl Main makefile
|
||||
|
||||
WINE_APPEND_RULE([
|
||||
# Rules automatically generated by configure
|
||||
|
||||
.INIT: Makefile
|
||||
.MAKEFILEDEPS:
|
||||
all: Makefile
|
||||
Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
|
||||
@./config.status Make.tmp Makefile
|
||||
depend: \$(MAKEDEP)
|
||||
\$(MAKEDEP)$makedep_flags
|
||||
dummy:
|
||||
.PHONY: depend dummy])
|
||||
wine_srcdir=
|
||||
test "$srcdir" = . || wine_srcdir="$srcdir/"
|
||||
|
||||
WINE_CONFIG_SYMLINK(wine,tools/winewrapper)
|
||||
WINE_CONFIG_SYMLINK(wine64,tools/winewrapper,["x$enable_win64" != xno -o -n "$with_wine64"])
|
||||
|
@ -3777,22 +3768,62 @@ then
|
|||
[wine_fn_output_makedep ()
|
||||
{
|
||||
AS_MKDIR_P(tools)
|
||||
$CC -I$srcdir/tools -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
|
||||
$CC -I${wine_srcdir}tools -Iinclude -I${wine_srcdir}include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext ${wine_srcdir}tools/makedep.c $LDFLAGS
|
||||
}])
|
||||
fi
|
||||
|
||||
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"$makedep_flags && return
|
||||
`cat $wine_rules_file`
|
||||
cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$[]1 && "$wine_makedep"$makedep_flags && return
|
||||
# This Makefile understands the following targets:
|
||||
#
|
||||
# all (default): build wine
|
||||
# clean: remove all intermediate files
|
||||
# distclean: also remove all files created by configure
|
||||
# test: run tests
|
||||
# testclean: clean test results to force running all tests again
|
||||
# install-lib: install libraries needed to run applications
|
||||
# install-dev: install development environment
|
||||
# install: install everything
|
||||
# uninstall: uninstall everything
|
||||
# ctags: create a tags file for vim and others.
|
||||
# etags: create a TAGS file for Emacs.
|
||||
# manpages: compile manpages for Wine API
|
||||
# htmlpages: compile html pages for Wine API
|
||||
# sgmlpages: compile sgml source for the Wine API Guide
|
||||
# xmlpages: compile xml source for the Wine API Guide
|
||||
|
||||
m4_set_foreach([_AC_SUBST_VARS],[var],[var = $var
|
||||
])$SET_MAKE
|
||||
$wine_rules
|
||||
_WINE_EOF
|
||||
AS_ERROR([could not create Makefile])
|
||||
}])
|
||||
|
||||
AC_CONFIG_FILES([Make.tmp:Makefile.in])
|
||||
dnl Main makefile
|
||||
|
||||
dnl Some final makefile rules
|
||||
AC_SUBST(SHELL,[/bin/sh])
|
||||
|
||||
WINE_APPEND_RULE(
|
||||
[all: wine
|
||||
@echo \"Wine build complete.\"
|
||||
.INIT: Makefile
|
||||
.MAKEFILEDEPS:
|
||||
all: Makefile
|
||||
Makefile: config.status \$(MAKEDEP)
|
||||
@./config.status Makefile
|
||||
depend: \$(MAKEDEP)
|
||||
\$(MAKEDEP)$makedep_flags])
|
||||
|
||||
dnl Rules for re-running configure
|
||||
|
||||
WINE_APPEND_RULE(
|
||||
[config.status: ${wine_srcdir}configure
|
||||
@./config.status --recheck
|
||||
include/config.h: include/stamp-h
|
||||
include/stamp-h: ${wine_srcdir}include/config.h.in config.status
|
||||
@./config.status include/config.h include/stamp-h])
|
||||
|
||||
if test "x$enable_maintainer_mode" = xyes
|
||||
then
|
||||
|
@ -3808,7 +3839,7 @@ fi
|
|||
if test "x$enable_tools" != xno
|
||||
then
|
||||
WINE_APPEND_RULE(
|
||||
[tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
|
||||
[tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
|
||||
@./config.status tools/makedep
|
||||
Makefile: tools/makedep$ac_exeext])
|
||||
else
|
||||
|
@ -3817,6 +3848,8 @@ else
|
|||
@echo \"You need to run make in $toolsdir first\" && false])
|
||||
fi
|
||||
|
||||
dnl Rules for wineloader
|
||||
|
||||
if test -n "$with_wine64"
|
||||
then
|
||||
case "$with_wine64" in
|
||||
|
@ -3861,16 +3894,43 @@ server/wineserver"
|
|||
esac
|
||||
fi
|
||||
|
||||
dnl Makefile variables
|
||||
dnl Rules for cleaning
|
||||
|
||||
AC_SUBST(SHELL,[/bin/sh])
|
||||
AC_SUBST(RUNTESTFLAGS,["-q -P wine"])
|
||||
AC_SUBST(SED_CMD,["LC_ALL=C sed -e 's,@bindir@,\${bindir},g' -e 's,@dlldir@,\${dlldir},g' -e 's,@PACKAGE_STRING@,$PACKAGE_STRING,g' -e 's,@PACKAGE_VERSION@,$PACKAGE_VERSION,g'"])
|
||||
AC_SUBST(api_manext,[3w])
|
||||
WINE_APPEND_RULE(
|
||||
[distclean:: clean
|
||||
rm -rf autom4te.cache documentation/html documentation/api-guide documentation/api-guide-xml documentation/man\$(api_manext)])
|
||||
|
||||
AC_SUBST([ALL_VARS_RULES],
|
||||
"m4_set_foreach([_AC_SUBST_VARS],[var],[m4_if(m4_bregexp(m4_defn([var]),[\(^SET_MAKE$\|prefix$\)]),-1,[var = $var
|
||||
])])")
|
||||
dnl Rules for API documentation
|
||||
|
||||
WINE_APPEND_RULE(
|
||||
[install-manpages:: manpages
|
||||
for i in documentation/man\$(api_manext)/*.\$(api_manext); do ${wine_srcdir}tools/install-sh -m 644 \$(INSTALL_DATA_FLAGS) \$\$i \$(DESTDIR)\$(mandir)/\$\$i; done])
|
||||
|
||||
dnl Rules for generated source files
|
||||
|
||||
WINE_APPEND_RULE(
|
||||
[dlls/ntdll/unix/version.c: dummy
|
||||
@version=\`(GIT_DIR=${wine_srcdir}.git git describe HEAD 2>/dev/null || echo \"wine-\$(PACKAGE_VERSION)\") | sed -n -e '\$\$s/\(.*\)/const char wine_build[[]] = \"\\1\";/p'\` && (echo \$\$version | cmp -s - \$[@]) || echo \$\$version >\$[@] || (rm -f \$[@] && exit 1)
|
||||
programs/winetest/build.rc: dummy
|
||||
@build=\"STRINGTABLE { 1 \\\"\`GIT_DIR=${wine_srcdir}.git git rev-parse HEAD 2>/dev/null\`\\\" }\" && (echo \$\$build | cmp -s - \$[@]) || echo \$\$build >\$[@] || (rm -f \$[@] && exit 1)
|
||||
programs/winetest/build.nfo:
|
||||
@-\$(CC) -v 2>\$[@]
|
||||
dlls/wineandroid.drv/wine-debug.apk: dlls/wineandroid.drv/build.gradle ${wine_srcdir}dlls/wineandroid.drv/AndroidManifest.xml ${wine_srcdir}dlls/wineandroid.drv/WineActivity.java ${wine_srcdir}dlls/wineandroid.drv/wine.svg
|
||||
cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
|
||||
mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$[@]])
|
||||
|
||||
dnl Misc rules
|
||||
|
||||
AC_SUBST(TAGSFLAGS,["--langmap='c:+.idl.l.rh,make:(Make*.in)'"])
|
||||
WINE_APPEND_RULE(
|
||||
[TAGS etags:
|
||||
rm -f TAGS
|
||||
(test -d .git && git ls-files || find -L $srcdir -name '*.[[ch]]' -print) | xargs etags -a \$(TAGSFLAGS)
|
||||
tags ctags:
|
||||
rm -f tags
|
||||
(test -d .git && git ls-files || find -L $srcdir -name '*.[[ch]]' -print) | xargs ctags -a \$(TAGSFLAGS)
|
||||
dummy:
|
||||
.PHONY: depend dummy install-manpages])
|
||||
|
||||
AS_ECHO(" done") >&AS_MESSAGE_FD
|
||||
AC_OUTPUT
|
||||
|
|
Loading…
Reference in a new issue