set_soenv.in (a5542d65) set_soenv.in (33605542)
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

--- 88 unchanged lines hidden (view full) ---

97 $CYGWIN_PATH, $language, $dict, $ASM_PATH, $NSIS_PATH, $ps_STLPORT_LIB, $L_STLPORT_LIB,
98 $STLPORT_stlport, $STLPORT_inc_stlport, $PERL_PATH );
99
100# Environment variables.
101my ( $oldPATH, $SRC_ROOT, $SO_HOME, $JAVA_HOME, $JDK, $JAVAFLAGS, $OOO_SHELL,
102 $UPD, $WORK_STAMP, $SOURCE_ROOT_DIR , $gb_REPOS,
103 $SOLARSRC, $DEVROOT, $SOLARVER, $SOLARVERSION, $WORKDIR, $OUTDIR, $SOLARENV,
104 $STAR_INIROOT, $STAR_INIROOTOLD, $STAR_STANDLST, $STAR_SSCOMMON, $STAR_SSOLARINI,
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

--- 88 unchanged lines hidden (view full) ---

97 $CYGWIN_PATH, $language, $dict, $ASM_PATH, $NSIS_PATH, $ps_STLPORT_LIB, $L_STLPORT_LIB,
98 $STLPORT_stlport, $STLPORT_inc_stlport, $PERL_PATH );
99
100# Environment variables.
101my ( $oldPATH, $SRC_ROOT, $SO_HOME, $JAVA_HOME, $JDK, $JAVAFLAGS, $OOO_SHELL,
102 $UPD, $WORK_STAMP, $SOURCE_ROOT_DIR , $gb_REPOS,
103 $SOLARSRC, $DEVROOT, $SOLARVER, $SOLARVERSION, $WORKDIR, $OUTDIR, $SOLARENV,
104 $STAR_INIROOT, $STAR_INIROOTOLD, $STAR_STANDLST, $STAR_SSCOMMON, $STAR_SSOLARINI,
105 $DMAKEROOT, $CLASSPATH, $XCLASSPATH, $COMPATH,
105 $DMAKEROOT, $CLASSPATH, $XCLASSPATH, $COMPATH, $CXX_X64_BINARY, $ LINK_X64_BINARY, $LIBMGR_X64_BINARY,
106 $MSPDB_PATH, $MIDL_PATH, $CSC_PATH,
107 $PATH, $SOLAREXTRAINC, $SOLAREXTRALIB, $SOLARLIB,
108 $SOLARINC, $LOCALINI, $FRAMEWORKSHOME, $COMEX, $PERL,
109 $COMP_ENV, $ILIB, $JAVAHOME, $PSDK_HOME, $DIRECTXSDK_LIB, $USE_NEW_SDK, $FRAME_HOME,
106 $MSPDB_PATH, $MIDL_PATH, $CSC_PATH,
107 $PATH, $SOLAREXTRAINC, $SOLAREXTRALIB, $SOLARLIB,
108 $SOLARINC, $LOCALINI, $FRAMEWORKSHOME, $COMEX, $PERL,
109 $COMP_ENV, $ILIB, $JAVAHOME, $PSDK_HOME, $DIRECTXSDK_LIB, $USE_NEW_SDK, $FRAME_HOME,
110 $USE_DIRECTX5, $ATL_LIB, $HAVE_ATLTHUNK, $ATL_INCLUDE, $MFC_LIB, $MFC_INCLUDE, $TMPDIR,
110 $USE_DIRECTX5, $ATL_LIB, $ATL_LIB_X64, $HAVE_ATLTHUNK, $ATL_INCLUDE, $MFC_LIB, $MFC_INCLUDE, $TMPDIR,
111 $COMMON_BUILD_TOOLS, $WIN_GREP, $WIN_FIND, $WIN_LS,
112 $WIN_GNUCOPY, $WIN_TOUCH, $STLPORT4, $MOZILLA_VERSION, $MOZILLA_TOOLKIT, $PREBUILD_MOZAB, $MOZILLABUILD,
113 $PROEXT, $TARFILE_LOCATION,
114 $ENABLE_HUNSPELL, $ENABLE_HYPHEN,
115 $SYSTEM_PYTHON, $SYSTEM_MOZILLA, $EPM_FLAGS);
116#
117#-------------------------------------------
118# IId. Declaring the aliases.

--- 571 unchanged lines hidden (view full) ---

690 $CVER = "C341";
691 $OUTPATH = "wntgcci";
692 $INPATH = $OUTPATH.$PROEXT;
693 $ATL_INCLUDE = '$SOLARVER'.$ds.'$INPATH'.$ds."inc".$ds."external".$ds."mingw".$ds."include".$ds."atl". " ".'$PSDK_HOME'.$ds."include".$ds."atl";
694 }
695 else # The MSVC section starts here
696 { $outfile = "winenv.set";
697 $COMPATH = PathFormat('@COMPATH@');
111 $COMMON_BUILD_TOOLS, $WIN_GREP, $WIN_FIND, $WIN_LS,
112 $WIN_GNUCOPY, $WIN_TOUCH, $STLPORT4, $MOZILLA_VERSION, $MOZILLA_TOOLKIT, $PREBUILD_MOZAB, $MOZILLABUILD,
113 $PROEXT, $TARFILE_LOCATION,
114 $ENABLE_HUNSPELL, $ENABLE_HYPHEN,
115 $SYSTEM_PYTHON, $SYSTEM_MOZILLA, $EPM_FLAGS);
116#
117#-------------------------------------------
118# IId. Declaring the aliases.

--- 571 unchanged lines hidden (view full) ---

690 $CVER = "C341";
691 $OUTPATH = "wntgcci";
692 $INPATH = $OUTPATH.$PROEXT;
693 $ATL_INCLUDE = '$SOLARVER'.$ds.'$INPATH'.$ds."inc".$ds."external".$ds."mingw".$ds."include".$ds."atl". " ".'$PSDK_HOME'.$ds."include".$ds."atl";
694 }
695 else # The MSVC section starts here
696 { $outfile = "winenv.set";
697 $COMPATH = PathFormat('@COMPATH@');
698 $CXX_X64_BINARY = PathFormat('@COMPATH@/bin/amd64/cl.exe');
699 $LINK_X64_BINARY = PathFormat('@COMPATH@/bin/amd64/link.exe');
700 $LIBMGR_X64_BINARY = PathFormat('@COMPATH@/bin/amd64/lib.exe');
698 $COM = "MSC";
699 $OUTPATH = "wntmsci@COMEX@";
700 $INPATH = $OUTPATH.$PROEXT;
701 $COMEX = '@COMEX@';
702 if ( "@COMEX@" eq "10" ) { # .NET 2003 needs M1310
703 $CVER = "M1310";
704 } elsif ( "@COMEX@" ge "11" ) { # .NET 2005 needs M1400
705 if ( "@COMEX@" eq "11" ) {

--- 1015 unchanged lines hidden (view full) ---

1721#
1722# Writing the platform dependent constant values to file.
1723# (c = comment, e = environment variable, a = alias )
1724ToFile( "Platform dependent constant values.", $empty, "c" );
1725ToFile( "SOLAR_JAVA", $SOLAR_JAVA, "e" );
1726ToFile( "BIG_SVX", $BIG_SVX, "e" );
1727ToFile( "COM", $COM, "e" );
1728ToFile( "COMPATH", $COMPATH, "e" );
701 $COM = "MSC";
702 $OUTPATH = "wntmsci@COMEX@";
703 $INPATH = $OUTPATH.$PROEXT;
704 $COMEX = '@COMEX@';
705 if ( "@COMEX@" eq "10" ) { # .NET 2003 needs M1310
706 $CVER = "M1310";
707 } elsif ( "@COMEX@" ge "11" ) { # .NET 2005 needs M1400
708 if ( "@COMEX@" eq "11" ) {

--- 1015 unchanged lines hidden (view full) ---

1724#
1725# Writing the platform dependent constant values to file.
1726# (c = comment, e = environment variable, a = alias )
1727ToFile( "Platform dependent constant values.", $empty, "c" );
1728ToFile( "SOLAR_JAVA", $SOLAR_JAVA, "e" );
1729ToFile( "BIG_SVX", $BIG_SVX, "e" );
1730ToFile( "COM", $COM, "e" );
1731ToFile( "COMPATH", $COMPATH, "e" );
1732ToFile( "CXX_X64_BINARY", $CXX_X64_BINARY, "e" );
1733ToFile( "LINK_X64_BINARY", $LINK_X64_BINARY, "e" );
1734ToFile( "LIBMGR_X64_BINARY", $LIBMGR_X64_BINARY, "e" );
1729ToFile( "CPU", $CPU, "e" );
1730ToFile( "CPUNAME", $CPUNAME, "e" );
1731ToFile( "CVER", $CVER, "e" );
1732ToFile( "GUI", $GUI, "e" );
1733ToFile( "GLIBC", $GLIBC, "e" );
1734ToFile( "GUIBASE", $GUIBASE, "e" );
1735ToFile( "GVER", $GVER, "e" );
1736ToFile( "OS", $OS, "e" );

--- 26 unchanged lines hidden (view full) ---

1763ToFile( "Variable values.", $empty, "c" );
1764if ( $platform =~ m/cygwin/ )
1765{ ToFile( "CYGWIN_PATH", $CYGWIN_PATH, "e" );
1766 ToFile( "PSDK_HOME", $PSDK_HOME, "e" );
1767 ToFile( "WINDOWS_VISTA_PSDK","@WINDOWS_VISTA_PSDK@","e" );
1768 ToFile( "DIRECTXSDK_LIB", $DIRECTXSDK_LIB, "e" );
1769 ToFile( "USE_DIRECTX5", $USE_DIRECTX5, "e" );
1770 ToFile( "ATL_LIB", "@ATL_LIB@", "e" );
1735ToFile( "CPU", $CPU, "e" );
1736ToFile( "CPUNAME", $CPUNAME, "e" );
1737ToFile( "CVER", $CVER, "e" );
1738ToFile( "GUI", $GUI, "e" );
1739ToFile( "GLIBC", $GLIBC, "e" );
1740ToFile( "GUIBASE", $GUIBASE, "e" );
1741ToFile( "GVER", $GVER, "e" );
1742ToFile( "OS", $OS, "e" );

--- 26 unchanged lines hidden (view full) ---

1769ToFile( "Variable values.", $empty, "c" );
1770if ( $platform =~ m/cygwin/ )
1771{ ToFile( "CYGWIN_PATH", $CYGWIN_PATH, "e" );
1772 ToFile( "PSDK_HOME", $PSDK_HOME, "e" );
1773 ToFile( "WINDOWS_VISTA_PSDK","@WINDOWS_VISTA_PSDK@","e" );
1774 ToFile( "DIRECTXSDK_LIB", $DIRECTXSDK_LIB, "e" );
1775 ToFile( "USE_DIRECTX5", $USE_DIRECTX5, "e" );
1776 ToFile( "ATL_LIB", "@ATL_LIB@", "e" );
1777 ToFile( "ATL_LIB_X64", "@ATL_LIB_X64@", "e" );
1771 ToFile( "ATL_INCLUDE", "@ATL_INCLUDE@", "e" );
1772 ToFile( "HAVE_ATLTHUNK", "@HAVE_ATLTHUNK@", "e" );
1773 ToFile( "MFC_LIB", "@MFC_LIB@", "e" );
1774 ToFile( "MFC_INCLUDE", "@MFC_INCLUDE@", "e" );
1775 ToFile( "NSIS_PATH", $NSIS_PATH, "e" );
1776 ToFile( "DISABLE_ACTIVEX", "@DISABLE_ACTIVEX@","e" );
1777 ToFile( "DISABLE_ATL", "@DISABLE_ATL@", "e" );
1778 ToFile( "USE_NEW_SDK", $USE_NEW_SDK, "e" );
1779
1780 # Hack around dmake's mktmp not generating DOS paths.
1778 ToFile( "ATL_INCLUDE", "@ATL_INCLUDE@", "e" );
1779 ToFile( "HAVE_ATLTHUNK", "@HAVE_ATLTHUNK@", "e" );
1780 ToFile( "MFC_LIB", "@MFC_LIB@", "e" );
1781 ToFile( "MFC_INCLUDE", "@MFC_INCLUDE@", "e" );
1782 ToFile( "NSIS_PATH", $NSIS_PATH, "e" );
1783 ToFile( "DISABLE_ACTIVEX", "@DISABLE_ACTIVEX@","e" );
1784 ToFile( "DISABLE_ATL", "@DISABLE_ATL@", "e" );
1785 ToFile( "USE_NEW_SDK", $USE_NEW_SDK, "e" );
1786
1787 # Hack around dmake's mktmp not generating DOS paths.
1781 my $tmpdir = qx{cygpath -m "/tmp"};
1782 chomp($tmpdir);
1783 ToFile( "TMPDIR", $tmpdir, "e" );
1788# my $tmpdir = qx{cygpath -m "/tmp"};
1789# chomp($tmpdir);
1790# ToFile( "TMPDIR", $tmpdir, "e" );
1791 ToFile( "TMPDIR", "/tmp", "e" );
1784}
1785ToFile( "ENABLE_HUNSPELL", "@ENABLE_HUNSPELL@", "e" );
1786ToFile( "ENABLE_HYPHEN", "@ENABLE_HYPHEN@", "e" );
1787
1788ToFile( "PERL", $PERL, "e" );
1789ToFile( "RPM", "@RPM@", "e" );
1790ToFile( "DPKG", "@DPKG@", "e" );
1791ToFile( "PKGMK", "@PKGMK@", "e" );

--- 65 unchanged lines hidden (view full) ---

1857ToFile( "ENABLE_DIRECT_DRAW","@ENABLE_DIRECT_DRAW@","e" );
1858ToFile( "ENABLE_LAYOUT", "@ENABLE_LAYOUT@", "e" );
1859ToFile( "ENABLE_PCH", "@ENABLE_PCH@", "e" );
1860ToFile( "ENABLE_GRAPHITE", "@ENABLE_GRAPHITE@", "e");
1861ToFile( "SYSTEM_GRAPHITE", "@SYSTEM_GRAPHITE@", "e");
1862ToFile( "GRAPHITE_LIBS", "@GRAPHITE_LIBS@", "e");
1863ToFile( "GRAPHITE_CFLAGS", "@GRAPHITE_CFLAGS@", "e");
1864ToFile( "VC_STANDARD", "@VC_STANDARD@", "e" );
1792}
1793ToFile( "ENABLE_HUNSPELL", "@ENABLE_HUNSPELL@", "e" );
1794ToFile( "ENABLE_HYPHEN", "@ENABLE_HYPHEN@", "e" );
1795
1796ToFile( "PERL", $PERL, "e" );
1797ToFile( "RPM", "@RPM@", "e" );
1798ToFile( "DPKG", "@DPKG@", "e" );
1799ToFile( "PKGMK", "@PKGMK@", "e" );

--- 65 unchanged lines hidden (view full) ---

1865ToFile( "ENABLE_DIRECT_DRAW","@ENABLE_DIRECT_DRAW@","e" );
1866ToFile( "ENABLE_LAYOUT", "@ENABLE_LAYOUT@", "e" );
1867ToFile( "ENABLE_PCH", "@ENABLE_PCH@", "e" );
1868ToFile( "ENABLE_GRAPHITE", "@ENABLE_GRAPHITE@", "e");
1869ToFile( "SYSTEM_GRAPHITE", "@SYSTEM_GRAPHITE@", "e");
1870ToFile( "GRAPHITE_LIBS", "@GRAPHITE_LIBS@", "e");
1871ToFile( "GRAPHITE_CFLAGS", "@GRAPHITE_CFLAGS@", "e");
1872ToFile( "VC_STANDARD", "@VC_STANDARD@", "e" );
1873ToFile( "BUILD_X64", "@BUILD_X64@", "e" );
1865ToFile( "ENABLE_CATEGORY_B", "@ENABLE_CATEGORY_B@", "e");
1866ToFile( "BUNDLED_EXTENSION_BLOBS", "@BUNDLED_EXTENSION_BLOBS@", "e");
1867ToFile( "BUNDLED_PREREG_EXTENSIONS", "@BUNDLED_PREREG_EXTENSIONS@", "e");
1868ToFile( "ENABLE_BUNDLED_DICTIONARIES", "@ENABLE_BUNDLED_DICTIONARIES@", "e");
1869ToFile( "SYSTEM_DICTS", "@SYSTEM_DICTS@", "e");
1870ToFile( "DICT_SYSTEM_DIR", "@DICT_SYSTEM_DIR@", "e");
1871ToFile( "HYPH_SYSTEM_DIR", "@HYPH_SYSTEM_DIR@", "e");
1872ToFile( "THES_SYSTEM_DIR", "@THES_SYSTEM_DIR@", "e");

--- 865 unchanged lines hidden ---
1874ToFile( "ENABLE_CATEGORY_B", "@ENABLE_CATEGORY_B@", "e");
1875ToFile( "BUNDLED_EXTENSION_BLOBS", "@BUNDLED_EXTENSION_BLOBS@", "e");
1876ToFile( "BUNDLED_PREREG_EXTENSIONS", "@BUNDLED_PREREG_EXTENSIONS@", "e");
1877ToFile( "ENABLE_BUNDLED_DICTIONARIES", "@ENABLE_BUNDLED_DICTIONARIES@", "e");
1878ToFile( "SYSTEM_DICTS", "@SYSTEM_DICTS@", "e");
1879ToFile( "DICT_SYSTEM_DIR", "@DICT_SYSTEM_DIR@", "e");
1880ToFile( "HYPH_SYSTEM_DIR", "@HYPH_SYSTEM_DIR@", "e");
1881ToFile( "THES_SYSTEM_DIR", "@THES_SYSTEM_DIR@", "e");

--- 865 unchanged lines hidden ---