make/defs.make
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 7089790_shared Sdiff make

make/defs.make

Print this page
rev 2695 : shared changes


 101 endif
 102 
 103 ifdef HOTSPOT_BUILD_VERSION
 104 # specified in command line
 105 else
 106   ifdef COOKED_BUILD_NUMBER
 107 # JRE build
 108     HOTSPOT_BUILD_VERSION=
 109   else
 110     ifdef USER_RELEASE_SUFFIX
 111       HOTSPOT_BUILD_VERSION=internal-$(USER_RELEASE_SUFFIX)
 112     else
 113       HOTSPOT_BUILD_VERSION=internal
 114     endif
 115   endif
 116 endif
 117 
 118 # Windows should have OS predefined
 119 ifeq ($(OS),)
 120   OS   := $(shell uname -s)






 121   HOST := $(shell uname -n)
 122 endif
 123 
 124 # If not SunOS and not Linux, assume Windows
 125 ifneq ($(OS), Linux)
 126   ifneq ($(OS), SunOS)

 127     OSNAME=windows
 128   else



 129     OSNAME=solaris
 130   endif
 131 else
 132   OSNAME=linux
 133 endif
 134 
 135 # Determinations of default make arguments and platform specific settings
 136 MAKE_ARGS=
 137 
 138 # ARCH_DATA_MODEL==64 is equivalent to LP64=1
 139 ifeq ($(ARCH_DATA_MODEL), 64)
 140   ifndef LP64
 141     LP64 := 1
 142   endif
 143 endif
 144 
 145 # Defaults set for product build
 146 EXPORT_SUBDIR=
 147 
 148 # Change default /java path if requested




 101 endif
 102 
 103 ifdef HOTSPOT_BUILD_VERSION
 104 # specified in command line
 105 else
 106   ifdef COOKED_BUILD_NUMBER
 107 # JRE build
 108     HOTSPOT_BUILD_VERSION=
 109   else
 110     ifdef USER_RELEASE_SUFFIX
 111       HOTSPOT_BUILD_VERSION=internal-$(USER_RELEASE_SUFFIX)
 112     else
 113       HOTSPOT_BUILD_VERSION=internal
 114     endif
 115   endif
 116 endif
 117 
 118 # Windows should have OS predefined
 119 ifeq ($(OS),)
 120   OS   := $(shell uname -s)
 121   ifneq ($(findstring BSD,$(OS)),)
 122     OS=bsd
 123   endif
 124   ifeq ($(OS), Darwin)
 125     OS=bsd
 126   endif
 127   HOST := $(shell uname -n)
 128 endif
 129 
 130 # If not SunOS, not Linux and not BSD, assume Windows
 131 ifneq ($(OS), Linux)
 132   ifneq ($(OS), SunOS)
 133     ifneq ($(OS), bsd)
 134       OSNAME=windows
 135     else
 136       OSNAME=bsd
 137     endif
 138   else
 139     OSNAME=solaris
 140   endif
 141 else
 142   OSNAME=linux
 143 endif
 144 
 145 # Determinations of default make arguments and platform specific settings
 146 MAKE_ARGS=
 147 
 148 # ARCH_DATA_MODEL==64 is equivalent to LP64=1
 149 ifeq ($(ARCH_DATA_MODEL), 64)
 150   ifndef LP64
 151     LP64 := 1
 152   endif
 153 endif
 154 
 155 # Defaults set for product build
 156 EXPORT_SUBDIR=
 157 
 158 # Change default /java path if requested


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