set_soenv.in (bebebbbf) | set_soenv.in (0bc66fd0) |
---|---|
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 --- 739 unchanged lines hidden (view full) --- 748 $wps = ';'; # Windows style path seperator 749 } 750 751 } 752} 753elsif ( $platform =~ m/darwin/ ) 754{ print "Setting Mac OS X/Darwin specific values... "; 755 $BIG_SVX = "TRUE"; | 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 --- 739 unchanged lines hidden (view full) --- 748 $wps = ';'; # Windows style path seperator 749 } 750 751 } 752} 753elsif ( $platform =~ m/darwin/ ) 754{ print "Setting Mac OS X/Darwin specific values... "; 755 $BIG_SVX = "TRUE"; |
756 $COM = "GCC"; | |
757 $COMPATH = '@COMPATH@'; | 756 $COMPATH = '@COMPATH@'; |
758 if ($platform =~ m/^i[3456]86/) | 757 print "Darwin platform = " . $platform ." "; 758 if( $CC =~ "gcc" ) |
759 { | 759 { |
760 print "Setting values for Mac OS X/Darwin on x86... "; | 760 print "Setting values for MacOSX/Darwin for Xcode<=3"; 761 $COM = "GCC"; |
761 $outfile = "MacOSXX86Env.Set"; 762 $CPU = "I"; 763 $CPUNAME = "INTEL"; 764 $OUTPATH = "unxmacxi"; 765 } | 762 $outfile = "MacOSXX86Env.Set"; 763 $CPU = "I"; 764 $CPUNAME = "INTEL"; 765 $OUTPATH = "unxmacxi"; 766 } |
766 elsif ($platform =~ m/^powerpc/) | 767 elsif ($platform =~ m/^i[3456]86/) |
767 { | 768 { |
768 print "Setting values for Mac OS X/Darwin on PowerPC... "; 769 $outfile = "MacOSXPPCEnv.Set"; 770 $CPU = "P"; 771 $CPUNAME = "POWERPC"; 772 $OUTPATH = "unxmacxp"; | 769 print "Setting values for MacOSX/Darwin on x86_32... "; 770 $COM = "CLANG"; 771 $outfile = "MacOSXX32Env.Set"; 772 $CPU = "I"; 773 $CPUNAME = "INTEL"; 774 $OUTPATH = "unxmacci"; |
773 } | 775 } |
774 if (@GCCVER@ >= 30401) { 775 $CVER = "C341"; 776 } else { 777 $CVER = "C300"; | 776 elsif ($platform =~ m/^x86_64/) 777 { 778 print "Setting values for MacOSX/Darwin on x86_64... "; 779 $COM = "CLANG"; 780 $outfile = "MacOSXX64Env.Set"; 781 $CPU = "X"; 782 $CPUNAME = "X86_64"; 783 $OUTPATH = "unxmaccx"; |
778 } | 784 } |
785 else 786 { 787 print "\nset_soenv: Unknown MacOSX/Darwin platform: $platform\n"; 788 exit 1; 789 } 790 $CVER = "DUMMY_CVER"; |
|
779 $GUI = "UNX"; 780 $GVER = "VCL"; 781 $INPATH = $OUTPATH.$PROEXT; 782 $OS = "MACOSX"; 783 $PATH_SEPERATOR = $ps; 784 # GUIBASE is set below; may be "aqua" or "unx". 785} 786elsif ( $platform =~ m/aix/ ) --- 1867 unchanged lines hidden --- | 791 $GUI = "UNX"; 792 $GVER = "VCL"; 793 $INPATH = $OUTPATH.$PROEXT; 794 $OS = "MACOSX"; 795 $PATH_SEPERATOR = $ps; 796 # GUIBASE is set below; may be "aqua" or "unx". 797} 798elsif ( $platform =~ m/aix/ ) --- 1867 unchanged lines hidden --- |