make/common/shared/Platform.gmk

changeset 163
1b5234624436
parent 158
91006f157c46
child 194
0f60cf26c5b5
equal deleted inserted replaced
162:c16ac7e7a579 163:1b5234624436
51 # USER login name of user (minus blanks) 51 # USER login name of user (minus blanks)
52 # PLATFORM windows, solaris, or linux 52 # PLATFORM windows, solaris, or linux
53 # VARIANT OPT or DBG, OPT is the default 53 # VARIANT OPT or DBG, OPT is the default
54 # OS_NAME solaris, linux, or nt 54 # OS_NAME solaris, linux, or nt
55 # OS_VERSION specific version of os, 5.10, 2.4.9-e.3, etc. 55 # OS_VERSION specific version of os, 5.10, 2.4.9-e.3, etc.
56 # OS_VENDOR company name
57 # TEMP_DISK /tmp or C:/temp 56 # TEMP_DISK /tmp or C:/temp
58 # ARCH_DATA_MODEL 32 or 64 57 # ARCH_DATA_MODEL 32 or 64
59 # ARCH sparc, sparcv9, i586, amd64, or ia64 58 # ARCH sparc, sparcv9, i586, amd64, or ia64
60 # ARCH_FAMILY sparc or i586 59 # ARCH_FAMILY sparc or i586
61 # ARCHPROP sparc or x86 60 # ARCHPROP sparc or x86
151 LIBARCH32 = i386 150 LIBARCH32 = i386
152 LIBARCH64 = amd64 151 LIBARCH64 = amd64
153 endif 152 endif
154 # Suffix for file bundles used in previous release 153 # Suffix for file bundles used in previous release
155 BUNDLE_FILE_SUFFIX=.tar 154 BUNDLE_FILE_SUFFIX=.tar
156 OS_VENDOR = Sun Microsystems
157 # Required Solaris version 155 # Required Solaris version
158 REQUIRED_OS_VERSION = 5.10 156 REQUIRED_OS_VERSION = 5.10
159 # Minimum disk space needed as determined by running 'du -sk' on 157 # Minimum disk space needed as determined by running 'du -sk' on
160 # a fully built workspace. 158 # a fully built workspace.
161 ifeq ($(ARCH_FAMILY), sparc) 159 ifeq ($(ARCH_FAMILY), sparc)
234 BUNDLE_FILE_SUFFIX=.tar.gz 232 BUNDLE_FILE_SUFFIX=.tar.gz
235 # Minimum disk space needed as determined by running 'du -sk' on 233 # Minimum disk space needed as determined by running 'du -sk' on
236 # a fully built workspace. 234 # a fully built workspace.
237 REQUIRED_FREE_SPACE=1460000 235 REQUIRED_FREE_SPACE=1460000
238 LINUX_VERSION_INFO = /etc/redhat-release 236 LINUX_VERSION_INFO = /etc/redhat-release
239 OS_VENDOR = Red Hat
240 ifeq ($(ARCH_DATA_MODEL), 32) 237 ifeq ($(ARCH_DATA_MODEL), 32)
241 REQUIRED_LINUX_VER = Advanced Server 238 REQUIRED_LINUX_VER = Advanced Server
242 REQUIRED_LINUX_FULLVER = Advanced Server release 2.1AS 239 REQUIRED_LINUX_FULLVER = Advanced Server release 2.1AS
243 REQUIRED_OS_VERSION = 2.4.9-e.3 240 REQUIRED_OS_VERSION = 2.4.9-e.3
244 else 241 else
245 ifeq ($(ARCH), amd64) 242 ifeq ($(ARCH), amd64)
246 LINUX_VERSION_INFO = /etc/SuSE-release 243 LINUX_VERSION_INFO = /etc/SuSE-release
247 OS_VENDOR = SuSE Enterprise
248 REQUIRED_LINUX_VER = 8.1 244 REQUIRED_LINUX_VER = 8.1
249 REQUIRED_LINUX_FULLVER = $(REQUIRED_LINUX_VER) SLSE AMD64 245 REQUIRED_LINUX_FULLVER = $(REQUIRED_LINUX_VER) SLSE AMD64
250 REQUIRED_OS_VERSION = 2.4.19-SMP 246 REQUIRED_OS_VERSION = 2.4.19-SMP
251 else 247 else
252 REQUIRED_LINUX_VER = Advanced Server 248 REQUIRED_LINUX_VER = Advanced Server
368 # Suffix for file bundles used in previous release 364 # Suffix for file bundles used in previous release
369 BUNDLE_FILE_SUFFIX=.tar 365 BUNDLE_FILE_SUFFIX=.tar
370 # Minimum disk space needed as determined by running 'du -sk' on 366 # Minimum disk space needed as determined by running 'du -sk' on
371 # a fully built workspace. 367 # a fully built workspace.
372 REQUIRED_FREE_SPACE=500000 368 REQUIRED_FREE_SPACE=500000
373 OS_VENDOR = Microsoft
374 # How much RAM does this machine have: 369 # How much RAM does this machine have:
375 ifndef MB_OF_MEMORY 370 ifndef MB_OF_MEMORY
376 MB_OF_MEMORY := $(shell \ 371 MB_OF_MEMORY := $(shell \
377 if [ -f "C:/cygwin/bin/free.exe" ] ; then \ 372 if [ -f "C:/cygwin/bin/free.exe" ] ; then \
378 ( C:/cygwin/bin/bash.exe -c "C:/cygwin/bin/free.exe -m" ) | \ 373 ( C:/cygwin/bin/bash.exe -c "C:/cygwin/bin/free.exe -m" ) | \

mercurial