make/windows/makefiles/defs.make
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7104565 Sdiff make/windows/makefiles

make/windows/makefiles/defs.make

Print this page




 192 ifdef COOKED_BUILD_NUMBER
 193   MAKE_ARGS += JDK_BUILD_NUMBER=$(COOKED_BUILD_NUMBER)
 194 endif
 195 
 196 NMAKE= MAKEFLAGS= MFLAGS= nmake -NOLOGO
 197 ifndef SYSTEM_UNAME
 198   SYSTEM_UNAME := $(shell uname)
 199   export SYSTEM_UNAME
 200 endif
 201 
 202 # Check for CYGWIN
 203 ifneq (,$(findstring CYGWIN,$(SYSTEM_UNAME)))
 204   USING_CYGWIN=true
 205 else
 206   USING_CYGWIN=false
 207 endif
 208 # Check for MinGW
 209 ifneq (,$(findstring MINGW,$(SYSTEM_UNAME)))
 210   USING_MINGW=true
 211 endif
 212 # FIXUP: The subdirectory for a debug build is NOT the same on all platforms
 213 VM_DEBUG=debug
 214 
 215 # Windows wants particular paths due to nmake (must be after macros defined)
 216 #   It is important that gnumake invokes nmake with C:\\...\\  formated
 217 #   strings so that nmake gets C:\...\ style strings.
 218 # Check for CYGWIN
 219 ifeq ($(USING_CYGWIN), true)
 220   ABS_OUTPUTDIR   := $(subst /,\\,$(shell /bin/cygpath -m -a "$(OUTPUTDIR)"))
 221   ABS_BOOTDIR     := $(subst /,\\,$(shell /bin/cygpath -m -a "$(BOOTDIR)"))
 222   ABS_GAMMADIR    := $(subst /,\\,$(shell /bin/cygpath -m -a "$(GAMMADIR)"))
 223   ABS_OS_MAKEFILE := $(shell /bin/cygpath -m -a "$(HS_MAKE_DIR)/$(OSNAME)")/build.make
 224 else ifeq ($(USING_MINGW), true)
 225     ABS_OUTPUTDIR   := $(shell $(CD) $(OUTPUTDIR);$(PWD))
 226     ABS_BOOTDIR     := $(shell $(CD) $(BOOTDIR);$(PWD))
 227     ABS_GAMMADIR    := $(shell $(CD) $(GAMMADIR);$(PWD))
 228     ABS_OS_MAKEFILE := $(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME);$(PWD))/build.make
 229   else
 230     ABS_OUTPUTDIR   := $(subst /,\\,$(shell $(CD) $(OUTPUTDIR);$(PWD)))
 231     ABS_BOOTDIR     := $(subst /,\\,$(shell $(CD) $(BOOTDIR);$(PWD)))
 232     ABS_GAMMADIR    := $(subst /,\\,$(shell $(CD) $(GAMMADIR);$(PWD)))
 233     ABS_OS_MAKEFILE := $(subst /,\\,$(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME);$(PWD))/build.make)




 192 ifdef COOKED_BUILD_NUMBER
 193   MAKE_ARGS += JDK_BUILD_NUMBER=$(COOKED_BUILD_NUMBER)
 194 endif
 195 
 196 NMAKE= MAKEFLAGS= MFLAGS= nmake -NOLOGO
 197 ifndef SYSTEM_UNAME
 198   SYSTEM_UNAME := $(shell uname)
 199   export SYSTEM_UNAME
 200 endif
 201 
 202 # Check for CYGWIN
 203 ifneq (,$(findstring CYGWIN,$(SYSTEM_UNAME)))
 204   USING_CYGWIN=true
 205 else
 206   USING_CYGWIN=false
 207 endif
 208 # Check for MinGW
 209 ifneq (,$(findstring MINGW,$(SYSTEM_UNAME)))
 210   USING_MINGW=true
 211 endif


 212 
 213 # Windows wants particular paths due to nmake (must be after macros defined)
 214 #   It is important that gnumake invokes nmake with C:\\...\\  formated
 215 #   strings so that nmake gets C:\...\ style strings.
 216 # Check for CYGWIN
 217 ifeq ($(USING_CYGWIN), true)
 218   ABS_OUTPUTDIR   := $(subst /,\\,$(shell /bin/cygpath -m -a "$(OUTPUTDIR)"))
 219   ABS_BOOTDIR     := $(subst /,\\,$(shell /bin/cygpath -m -a "$(BOOTDIR)"))
 220   ABS_GAMMADIR    := $(subst /,\\,$(shell /bin/cygpath -m -a "$(GAMMADIR)"))
 221   ABS_OS_MAKEFILE := $(shell /bin/cygpath -m -a "$(HS_MAKE_DIR)/$(OSNAME)")/build.make
 222 else ifeq ($(USING_MINGW), true)
 223     ABS_OUTPUTDIR   := $(shell $(CD) $(OUTPUTDIR);$(PWD))
 224     ABS_BOOTDIR     := $(shell $(CD) $(BOOTDIR);$(PWD))
 225     ABS_GAMMADIR    := $(shell $(CD) $(GAMMADIR);$(PWD))
 226     ABS_OS_MAKEFILE := $(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME);$(PWD))/build.make
 227   else
 228     ABS_OUTPUTDIR   := $(subst /,\\,$(shell $(CD) $(OUTPUTDIR);$(PWD)))
 229     ABS_BOOTDIR     := $(subst /,\\,$(shell $(CD) $(BOOTDIR);$(PWD)))
 230     ABS_GAMMADIR    := $(subst /,\\,$(shell $(CD) $(GAMMADIR);$(PWD)))
 231     ABS_OS_MAKEFILE := $(subst /,\\,$(shell $(CD) $(HS_MAKE_DIR)/$(OSNAME);$(PWD))/build.make)


make/windows/makefiles/defs.make
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File