1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
|
#___INFO__MARK_BEGIN__
##########################################################################
#
# The Contents of this file are made available subject to the terms of
# the Sun Industry Standards Source License Version 1.2
#
# Sun Microsystems Inc., March, 2001
#
#
# Sun Industry Standards Source License Version 1.2
# =================================================
# The contents of this file are subject to the Sun Industry Standards
# Source License Version 1.2 (the "License"); You may not use this file
# except in compliance with the License. You may obtain a copy of the
# License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
#
# Software provided under this License is provided on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
# WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
# See the License for the specific provisions governing your rights and
# obligations concerning the Software.
#
# The Initial Developer of the Original Code is: Sun Microsystems, Inc.
#
# Copyright: 2001 by Sun Microsystems, Inc.
#
# All Rights Reserved.
#
##########################################################################
#___INFO__MARK_END__
#
# Set default aimk switches
#
switch($buildarch)
case "aix43":
case "lx22-alpha":
case "win32-x86":
set argv = ( -no-jni -no-java $* )
breaksw
default:
set argv = ( $* )
breaksw
endsw
# JAVA settings
setenv ARCH $buildarch
setenv EN_QUIET 1
switch($buildarch)
# don't support jdk1.5
case "irix65":
case "hp11":
case "hp11-64":
case "lx24-ia64":
case "aix51":
if ( -f /vol2/resources/en_jdk14 ) then
source /vol2/resources/en_jdk14
endif
breaksw
default:
if ( -f /vol2/resources/en_jdk15 ) then
source /vol2/resources/en_jdk15
endif
breaksw
endsw
#
# TMPDIR the directory where gcc puts intermediate files. Points to a
# local directory for faster compilation
#
setenv TMPDIR /tmp
#
# OPENSSL_HOME the directory where the include and lib directory of openssl
# is installed
#
set OPENSSL_SOVERSION = 0.9.8h
set OPENSSL_HOME = /off_home/gridengine/openssl-0.9.8h-origin/$buildarch
#
# BERKELEYDB_HOME the directory where the include and lib directory of
# Berkeley DB is installed
#
set BERKELEYDB_HOME = /off_home/gridengine/db-4.4.20/$buildarch
set BDB_INCLUDE_SUBDIR =
set BDB_LIB_SUBDIR =
set BDB_LIB_SUFFIX =
# Directory where libcore.so's reside
# Relevant for Linux only:
# http://gridengine.sunsource.net/issues/show_bug.cgi?id=2552
set CORE_HOME = /vol2/tools/SW/libcore/$buildarch
#
# KRB_HOME the directory where the include and lib directory of kerberos is
# installed
#
set KRB_HOME = /vol2/tools/SW/krb5/$buildarch
#
# man2html path
#
set MAN2HTMLPATH = /vol2/tools/SW/$buildarch/bin
#
# groff path
#
set GROFFPATH = /vol2/tools/SW/$buildarch/bin
#
# SWIG path
#
set SWIG = /vol2/tools/SW/swig-1.3.22/$buildarch/bin/swig
#
# PERL path
#
set PERL = /vol2/tools/SW/$buildarch/bin/perl
#
# TCLSH path
#
set TCLSH = /vol2/tools/SW/$buildarch/bin/tclsh8.3
#
# Location of a copyright.h file which containes a copyright string
# which should be included in each binary part of Grid Engine
#
set COPYRIGHT_DIR = /off_home/codine/ge62-copyright
#
# Location of a copyright.h file which containes a copyright string
# which is included in each binary part of Sun Grid Engine (the version
# which Sun Microsystems is releasing
#
set SUN_COPYRIGHT_DIR = /off_home/codine/sge62-copyright
# for some platforms we cannot use dynamic loading of the spooling libraries.
# fallback to berkeleydb spooling
switch ($BUILDARCH)
case "HP11":
# for HP11.00 we don't have dynamic loading of shared libraries
# build with berkeleydb
case "AIX43":
case "AIX51":
case "IRIX65":
# for these platforms, reverse resolving of global symbols doesn't
# work as expected: Instead of reverse resolving global symbols
# (variables as well as functions), the code of dynamic libraries uses
# duplicates of the global symbols.
set argv = ( -spool-berkeleydb $argv )
breaksw
endsw
if ( ! $?JAVA_HOME ) then
set JAVA_BIN = `which \java`
if ( -e "$JAVA_BIN" ) then
set JAVAV = `$JAVA_BIN -version |& head -1`
set JAVAV = `expr "$JAVAV" : 'java version "1\.\([0-9]\).*"'`
if ( $JAVAV >= 4 ) then
setenv JAVA_HOME `expr //$JAVA_BIN : '//\(.*\)/bin/.*'`
endif
endif
endif
# set junit jar file
set JUNIT_JAR = '/vol2/tools/SW/java/junit3.8.1/junit.jar'
# set some variables which are necessary to compile GE for win32 architecture
#
# WIN32_VS_BASE: Base directory of Visual Studio installation
# WIN32_VS_SDK: SDK subdirectory within WIN32_VS_BASE
# WIN32_VS_CORE: Compiler subdirectory within WIN32_VS_BASE
switch($buildarch)
case "win32-x86":
# default path for a default installation
# set WIN32_VS_BASE = "C:\Programme\Microsoft Visual Studio .NET 2003"
# path on host bofur
set WIN32_VS_BASE = "C:\VisualStudio"
set WIN32_VS_I1 = "${WIN32_VS_BASE}\Vc7\include"
set WIN32_VS_I2 = "${WIN32_VS_BASE}\Vc7\PlatformSDK\Include"
set WIN32_VS_I3 = "${WIN32_VS_BASE}\Vc7\atlmfc\include"
set WIN32_VS_L1 = "${WIN32_VS_BASE}\Vc7\Lib"
set WIN32_VS_L2 = "${WIN32_VS_BASE}\Vc7\PlatformSDK\Lib"
set WIN32_VS_L3 = "${WIN32_VS_BASE}\Vc7\atlmfc\lib"
set WINTEMPDIR = "C:\\TEMP"
breaksw
endsw
|