mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 585011 - Invoke cl.py as a pymake native command. r=ted
--HG-- extra : rebase_source : c8e2bfe4e17c39c27e33cfade0e3a6984d104c2f
This commit is contained in:
parent
2ba368816d
commit
d291fe7619
@ -120,6 +120,17 @@ FINAL_LINK_COMP_NAMES = $(DEPTH)/config/final-link-comp-names
|
||||
MOZ_UNICHARUTIL_LIBS = $(LIBXUL_DIST)/lib/$(LIB_PREFIX)unicharutil_s.$(LIB_SUFFIX)
|
||||
MOZ_WIDGET_SUPPORT_LIBS = $(DIST)/lib/$(LIB_PREFIX)widgetsupport_s.$(LIB_SUFFIX)
|
||||
|
||||
ifdef _MSC_VER
|
||||
ifdef .PYMAKE
|
||||
PYCOMMANDPATH += $(topsrcdir)/build
|
||||
CC_WRAPPER ?= %cl InvokeClWithDependencyGeneration
|
||||
CXX_WRAPPER ?= %cl InvokeClWithDependencyGeneration
|
||||
else
|
||||
CC_WRAPPER ?= $(PYTHON) -O $(topsrcdir)/build/cl.py
|
||||
CXX_WRAPPER ?= $(PYTHON) -O $(topsrcdir)/build/cl.py
|
||||
endif # .PYMAKE
|
||||
endif # _MSC_VER
|
||||
|
||||
CC := $(CC_WRAPPER) $(CC)
|
||||
CXX := $(CXX_WRAPPER) $(CXX)
|
||||
MKDIR ?= mkdir
|
||||
|
@ -7690,9 +7690,6 @@ else
|
||||
fi
|
||||
AC_SUBST(CL_INCLUDES_PREFIX)
|
||||
rm -f dummy-hello.c
|
||||
dnl cl.py provides dependency generation for MSVC
|
||||
CC_WRAPPER='$(PYTHON) -O $(topsrcdir)/build/cl.py'
|
||||
CXX_WRAPPER='$(PYTHON) -O $(topsrcdir)/build/cl.py'
|
||||
COMPILER_DEPEND=1
|
||||
fi
|
||||
fi
|
||||
@ -7701,9 +7698,6 @@ MDDEPDIR='.deps'
|
||||
AC_SUBST(MOZ_AUTO_DEPS)
|
||||
AC_SUBST(COMPILER_DEPEND)
|
||||
AC_SUBST(MDDEPDIR)
|
||||
AC_SUBST(CC_WRAPPER)
|
||||
AC_SUBST(CXX_WRAPPER)
|
||||
|
||||
|
||||
dnl ========================================================
|
||||
dnl =
|
||||
|
@ -120,6 +120,17 @@ FINAL_LINK_COMP_NAMES = $(DEPTH)/config/final-link-comp-names
|
||||
MOZ_UNICHARUTIL_LIBS = $(LIBXUL_DIST)/lib/$(LIB_PREFIX)unicharutil_s.$(LIB_SUFFIX)
|
||||
MOZ_WIDGET_SUPPORT_LIBS = $(DIST)/lib/$(LIB_PREFIX)widgetsupport_s.$(LIB_SUFFIX)
|
||||
|
||||
ifdef _MSC_VER
|
||||
ifdef .PYMAKE
|
||||
PYCOMMANDPATH += $(topsrcdir)/build
|
||||
CC_WRAPPER ?= %cl InvokeClWithDependencyGeneration
|
||||
CXX_WRAPPER ?= %cl InvokeClWithDependencyGeneration
|
||||
else
|
||||
CC_WRAPPER ?= $(PYTHON) -O $(topsrcdir)/build/cl.py
|
||||
CXX_WRAPPER ?= $(PYTHON) -O $(topsrcdir)/build/cl.py
|
||||
endif # .PYMAKE
|
||||
endif # _MSC_VER
|
||||
|
||||
CC := $(CC_WRAPPER) $(CC)
|
||||
CXX := $(CXX_WRAPPER) $(CXX)
|
||||
MKDIR ?= mkdir
|
||||
|
@ -4119,10 +4119,6 @@ else
|
||||
fi
|
||||
AC_SUBST(CL_INCLUDES_PREFIX)
|
||||
rm -f dummy-hello.c
|
||||
_topsrcdirwin=`cd \`dirname $0\`; pwd -W`
|
||||
dnl cl.py provides dependency generation for MSVC
|
||||
CC_WRAPPER="$PYTHON -O $_topsrcdirwin/build/cl.py"
|
||||
CXX_WRAPPER="$PYTHON -O $_topsrcdirwin/build/cl.py"
|
||||
COMPILER_DEPEND=1
|
||||
fi
|
||||
fi
|
||||
@ -4131,9 +4127,6 @@ MDDEPDIR='.deps'
|
||||
AC_SUBST(MOZ_AUTO_DEPS)
|
||||
AC_SUBST(COMPILER_DEPEND)
|
||||
AC_SUBST(MDDEPDIR)
|
||||
AC_SUBST(CC_WRAPPER)
|
||||
AC_SUBST(CXX_WRAPPER)
|
||||
|
||||
|
||||
dnl ========================================================
|
||||
dnl = Link js shell to system readline
|
||||
|
Loading…
Reference in New Issue
Block a user