set_soenv.in (48a617c5) | set_soenv.in (8d4c92f7) |
---|---|
1#!@PERL@ -w 2# 3############################################################### 4# 5# Licensed to the Apache Software Foundation (ASF) under one 6# or more contributor license agreements. See the NOTICE file 7# distributed with this work for additional information 8# regarding copyright ownership. The ASF licenses this file --- 74 unchanged lines hidden (view full) --- 83#------------------------------------------- 84# IIc. Declaring the environment variables. 85#------------------------------------------- 86# 87# Help variables. 88my ( $USR, $ETC, $BIN, $LIB, $LIB64, $INC, $INCLUDE, $DEV, $OPT, $LOCAL, $SOLENV, $SOLVER, $CONFIG, 89 $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE, 90 $SOLARENVINC, $USR_DT, $USR_OPENWIN, $XLIB, $XINC, | 1#!@PERL@ -w 2# 3############################################################### 4# 5# Licensed to the Apache Software Foundation (ASF) under one 6# or more contributor license agreements. See the NOTICE file 7# distributed with this work for additional information 8# regarding copyright ownership. The ASF licenses this file --- 74 unchanged lines hidden (view full) --- 83#------------------------------------------- 84# IIc. Declaring the environment variables. 85#------------------------------------------- 86# 87# Help variables. 88my ( $USR, $ETC, $BIN, $LIB, $LIB64, $INC, $INCLUDE, $DEV, $OPT, $LOCAL, $SOLENV, $SOLVER, $CONFIG, 89 $USR_BIN, $USR_LIB, $USR_LOCAL, $USR_CCS, $JAVA_BIN, $JAVA_LIB, $JAVA_INCLUDE, 90 $SOLARENVINC, $USR_DT, $USR_OPENWIN, $XLIB, $XINC, |
91 $CYGWIN_PATH, $language, $dict, $ASM_PATH, $NSIS_PATH, $PERL_PATH ); | 91 $CYGWIN_PATH, $language, $dict, $ASM_PATH, $NASM_PATH, $NSIS_PATH, $PERL_PATH ); |
92 93# Environment variables. 94my ( $oldPATH, $SRC_ROOT, $SO_HOME, $JAVA_HOME, $JDK, $JAVAFLAGS, $OOO_SHELL, 95 $UPD, $WORK_STAMP, $SOURCE_ROOT_DIR , $gb_REPOS, 96 $SOLARSRC, $DEVROOT, $SOLARVER, $SOLARVERSION, $WORKDIR, $OUTDIR, $SOLARENV, 97 $STAR_INIROOT, $STAR_INIROOTOLD, $STAR_STANDLST, $STAR_SSCOMMON, $STAR_SSOLARINI, 98 $DMAKEROOT, $CLASSPATH, $XCLASSPATH, $COMPATH, $CXX_X64_BINARY, $LINK_X64_BINARY, $LIBMGR_X64_BINARY, 99 $MSPDB_PATH, $MIDL_PATH, $CSC_PATH, $MACOSX_DEPLOYMENT_TARGET, $MACOSX_SDK_PATH, --- 760 unchanged lines hidden (view full) --- 860$OOO_SHELL = '@SHELLPATH@'."\/bash"; 861} 862 863# ml.exe assembler path for Windows users. 864if ($platform =~ m/cygwin/) 865{ $ASM_PATH = PathFormat('@ASM_HOME@'); 866} 867 | 92 93# Environment variables. 94my ( $oldPATH, $SRC_ROOT, $SO_HOME, $JAVA_HOME, $JDK, $JAVAFLAGS, $OOO_SHELL, 95 $UPD, $WORK_STAMP, $SOURCE_ROOT_DIR , $gb_REPOS, 96 $SOLARSRC, $DEVROOT, $SOLARVER, $SOLARVERSION, $WORKDIR, $OUTDIR, $SOLARENV, 97 $STAR_INIROOT, $STAR_INIROOTOLD, $STAR_STANDLST, $STAR_SSCOMMON, $STAR_SSOLARINI, 98 $DMAKEROOT, $CLASSPATH, $XCLASSPATH, $COMPATH, $CXX_X64_BINARY, $LINK_X64_BINARY, $LIBMGR_X64_BINARY, 99 $MSPDB_PATH, $MIDL_PATH, $CSC_PATH, $MACOSX_DEPLOYMENT_TARGET, $MACOSX_SDK_PATH, --- 760 unchanged lines hidden (view full) --- 860$OOO_SHELL = '@SHELLPATH@'."\/bash"; 861} 862 863# ml.exe assembler path for Windows users. 864if ($platform =~ m/cygwin/) 865{ $ASM_PATH = PathFormat('@ASM_HOME@'); 866} 867 |
868# nasm.exe assembler path for Windows users. 869if ($platform =~ m/cygwin/) 870{ $NASM_PATH = PathFormat('@NASM_HOME@'); 871} 872 |
|
868# 869# E. Determining the envionment values based on the information 870# that was gathered earlier on. 871# 872print "Setting the environment variables... "; 873$USR = $ds."usr"; 874$ETC = $ds."etc"; 875$BIN = $ds."bin"; --- 289 unchanged lines hidden (view full) --- 1165 if ( $PATH !~ /(?:[:]|\A)(?:$tmppath\/bin)(?:[:]|\Z)/i ) { 1166 $PATH .= $ps.$tmppath.$BIN; 1167 } 1168 } 1169 1170 if ( $ASM_PATH ne "ASM_IN_PATH" ) 1171 { $PATH .= $ps.CygFormat($ASM_PATH); 1172 } | 873# 874# E. Determining the envionment values based on the information 875# that was gathered earlier on. 876# 877print "Setting the environment variables... "; 878$USR = $ds."usr"; 879$ETC = $ds."etc"; 880$BIN = $ds."bin"; --- 289 unchanged lines hidden (view full) --- 1170 if ( $PATH !~ /(?:[:]|\A)(?:$tmppath\/bin)(?:[:]|\Z)/i ) { 1171 $PATH .= $ps.$tmppath.$BIN; 1172 } 1173 } 1174 1175 if ( $ASM_PATH ne "ASM_IN_PATH" ) 1176 { $PATH .= $ps.CygFormat($ASM_PATH); 1177 } |
1178 if ( $NASM_PATH ne "NASM_IN_PATH" && $NASM_PATH ne "NO_NASM_HOME" && $NASM_PATH ne "" ) 1179 { $PATH .= $ps.CygFormat($NASM_PATH); 1180 } |
|
1173 # zip.exe / unzip.exe path for Windows users. 1174 my $zip_home_path = PathFormat('@ZIP_HOME@'); 1175 $tmppath = CygFormat($zip_home_path); 1176 if ( $PATH !~ /(?:[:]|\A)(?:$tmppath)(?:[:]|\Z)/ ) { 1177 $PATH .= $ps.$tmppath; 1178 } 1179 1180 # Possible cygwin paths must follow behind the OOo and MS paths --- 329 unchanged lines hidden (view full) --- 1510ToFile( "SRC_ROOT", $SRC_ROOT, "e" ); 1511ToFile( "OOO_SHELL", $OOO_SHELL, "e" ); 1512ToFile( "JAVA_HOME", $JAVA_HOME, "e" ); 1513ToFile( "ANT_HOME", PathFormat("@ANT_HOME@"), "e" ); 1514ToFile( "ANT_LIB", PathFormat("@ANT_LIB@"), "e" ); 1515ToFile( "ANT", PathFormat("@ANT@"), "e" ); 1516ToFile( "JDKLIB", $JAVA_LIB, "e" ); 1517ToFile( "ASM_PATH", $ASM_PATH, "e" ); | 1181 # zip.exe / unzip.exe path for Windows users. 1182 my $zip_home_path = PathFormat('@ZIP_HOME@'); 1183 $tmppath = CygFormat($zip_home_path); 1184 if ( $PATH !~ /(?:[:]|\A)(?:$tmppath)(?:[:]|\Z)/ ) { 1185 $PATH .= $ps.$tmppath; 1186 } 1187 1188 # Possible cygwin paths must follow behind the OOo and MS paths --- 329 unchanged lines hidden (view full) --- 1518ToFile( "SRC_ROOT", $SRC_ROOT, "e" ); 1519ToFile( "OOO_SHELL", $OOO_SHELL, "e" ); 1520ToFile( "JAVA_HOME", $JAVA_HOME, "e" ); 1521ToFile( "ANT_HOME", PathFormat("@ANT_HOME@"), "e" ); 1522ToFile( "ANT_LIB", PathFormat("@ANT_LIB@"), "e" ); 1523ToFile( "ANT", PathFormat("@ANT@"), "e" ); 1524ToFile( "JDKLIB", $JAVA_LIB, "e" ); 1525ToFile( "ASM_PATH", $ASM_PATH, "e" ); |
1526ToFile( "NASM_PATH", $NASM_PATH, "e" ); |
|
1518ToFile( "BUILD_SOSL", $BUILD_SOSL, "e" ); 1519ToFile( "FRAMEWORKSHOME", $FRAMEWORKSHOME, "e" ); 1520ToFile( "Empty", $empty, "n" ); 1521 1522# 1523# Writing the platform independent constant values to file. 1524# (c = comment, e = environment variable, a = alias ) 1525ToFile( "Platform independent constant values.", $empty, "c" ); --- 1151 unchanged lines hidden --- | 1527ToFile( "BUILD_SOSL", $BUILD_SOSL, "e" ); 1528ToFile( "FRAMEWORKSHOME", $FRAMEWORKSHOME, "e" ); 1529ToFile( "Empty", $empty, "n" ); 1530 1531# 1532# Writing the platform independent constant values to file. 1533# (c = comment, e = environment variable, a = alias ) 1534ToFile( "Platform independent constant values.", $empty, "c" ); --- 1151 unchanged lines hidden --- |