Print this page
7170 ENABLE_PERL64 multiarch builds
reviewed by: Andrew Stormont <andyjstormont@gmail.com>
reviewed by: Lauri Tirkkonen <lotheac@iki.fi>


  87 # __GNUC and GCC are the default.
  88 #
  89 # __GNUC64 indicates that the 64bit build should use the GNU C compiler.
  90 # There is no Sun C analogue.
  91 #
  92 # The following version-specific options are operative regardless of which
  93 # compiler is primary, and control the versions of the given compilers to be
  94 # used.  They also allow compiler-version specific Makefile fragments.
  95 #
  96 
  97 __SUNC=                 $(POUND_SIGN)
  98 $(__SUNC)__GNUC=        $(POUND_SIGN)
  99 __GNUC64=               $(__GNUC)
 100 
 101 # Allow build-time "configuration" to enable or disable some things.
 102 # The default is POUND_SIGN, meaning "not enabled". If the environment
 103 # passes in an override like ENABLE_SMB_PRINTING= (empty) that will
 104 # uncomment things in the lower Makefiles to enable the feature.
 105 ENABLE_IPP_PRINTING=    $(POUND_SIGN)
 106 ENABLE_SMB_PRINTING=    $(POUND_SIGN)

 107 
 108 # CLOSED is the root of the tree that contains source which isn't released
 109 # as open source
 110 CLOSED=         $(SRC)/../closed
 111 
 112 # BUILD_TOOLS is the root of all tools including compilers.
 113 # ONBLD_TOOLS is the root of all the tools that are part of SUNWonbld.
 114 
 115 BUILD_TOOLS=            /ws/onnv-tools
 116 ONBLD_TOOLS=            $(BUILD_TOOLS)/onbld
 117 
 118 # define runtime JAVA_HOME, primarily for cmd/pools/poold
 119 JAVA_HOME=      /usr/java
 120 # define buildtime JAVA_ROOT
 121 JAVA_ROOT=      /usr/java
 122 
 123 GCC_ROOT=       /opt/gcc/4.4.4
 124 GCCLIBDIR=      $(GCC_ROOT)/lib
 125 GCCLIBDIR64=    $(GCC_ROOT)/lib/$(MACH64)
 126 


 156 LEX=            /usr/ccs/bin/lex
 157 FLEX=           /usr/bin/flex
 158 YACC=           /usr/ccs/bin/yacc
 159 CPP=            /usr/lib/cpp
 160 JAVAC=          $(JAVA_ROOT)/bin/javac
 161 JAVAH=          $(JAVA_ROOT)/bin/javah
 162 JAVADOC=        $(JAVA_ROOT)/bin/javadoc
 163 RMIC=           $(JAVA_ROOT)/bin/rmic
 164 JAR=            $(JAVA_ROOT)/bin/jar
 165 CTFCONVERT=     $(ONBLD_TOOLS)/bin/$(MACH)/ctfconvert
 166 CTFMERGE=       $(ONBLD_TOOLS)/bin/$(MACH)/ctfmerge
 167 CTFSTABS=       $(ONBLD_TOOLS)/bin/$(MACH)/ctfstabs
 168 CTFSTRIP=       $(ONBLD_TOOLS)/bin/$(MACH)/ctfstrip
 169 NDRGEN=         $(ONBLD_TOOLS)/bin/$(MACH)/ndrgen
 170 GENOFFSETS=     $(ONBLD_TOOLS)/bin/genoffsets
 171 XREF=           $(ONBLD_TOOLS)/bin/xref
 172 FIND=           /usr/bin/find
 173 PERL=           /usr/bin/perl
 174 PERL_VERSION=   5.10.0
 175 PERL_PKGVERS=   -510
 176 PERL_ARCH =             i86pc-solaris-64int
 177 $(SPARC_BLD)PERL_ARCH = sun4-solaris-64int


 178 PYTHON_26=      /usr/bin/python2.6
 179 PYTHON=         $(PYTHON_26)
 180 SORT=           /usr/bin/sort
 181 TOUCH=          /usr/bin/touch
 182 WC=             /usr/bin/wc
 183 XARGS=          /usr/bin/xargs
 184 ELFEDIT=        /usr/bin/elfedit
 185 ELFSIGN=        /usr/bin/elfsign
 186 DTRACE=         /usr/sbin/dtrace -xnolibs
 187 UNIQ=           /usr/bin/uniq
 188 TAR=            /usr/bin/tar
 189 ASTBINDIR=      /usr/ast/bin
 190 MSGCC=          $(ASTBINDIR)/msgcc
 191 MSGFMT=         /usr/bin/msgfmt -s
 192 
 193 FILEMODE=       644
 194 DIRMODE=        755
 195 
 196 # Declare that nothing should be built in parallel.
 197 # Individual Makefiles can use the .PARALLEL target to declare otherwise.




  87 # __GNUC and GCC are the default.
  88 #
  89 # __GNUC64 indicates that the 64bit build should use the GNU C compiler.
  90 # There is no Sun C analogue.
  91 #
  92 # The following version-specific options are operative regardless of which
  93 # compiler is primary, and control the versions of the given compilers to be
  94 # used.  They also allow compiler-version specific Makefile fragments.
  95 #
  96 
  97 __SUNC=                 $(POUND_SIGN)
  98 $(__SUNC)__GNUC=        $(POUND_SIGN)
  99 __GNUC64=               $(__GNUC)
 100 
 101 # Allow build-time "configuration" to enable or disable some things.
 102 # The default is POUND_SIGN, meaning "not enabled". If the environment
 103 # passes in an override like ENABLE_SMB_PRINTING= (empty) that will
 104 # uncomment things in the lower Makefiles to enable the feature.
 105 ENABLE_IPP_PRINTING=    $(POUND_SIGN)
 106 ENABLE_SMB_PRINTING=    $(POUND_SIGN)
 107 ENABLE_PERL64=          $(POUND_SIGN)
 108 
 109 # CLOSED is the root of the tree that contains source which isn't released
 110 # as open source
 111 CLOSED=         $(SRC)/../closed
 112 
 113 # BUILD_TOOLS is the root of all tools including compilers.
 114 # ONBLD_TOOLS is the root of all the tools that are part of SUNWonbld.
 115 
 116 BUILD_TOOLS=            /ws/onnv-tools
 117 ONBLD_TOOLS=            $(BUILD_TOOLS)/onbld
 118 
 119 # define runtime JAVA_HOME, primarily for cmd/pools/poold
 120 JAVA_HOME=      /usr/java
 121 # define buildtime JAVA_ROOT
 122 JAVA_ROOT=      /usr/java
 123 
 124 GCC_ROOT=       /opt/gcc/4.4.4
 125 GCCLIBDIR=      $(GCC_ROOT)/lib
 126 GCCLIBDIR64=    $(GCC_ROOT)/lib/$(MACH64)
 127 


 157 LEX=            /usr/ccs/bin/lex
 158 FLEX=           /usr/bin/flex
 159 YACC=           /usr/ccs/bin/yacc
 160 CPP=            /usr/lib/cpp
 161 JAVAC=          $(JAVA_ROOT)/bin/javac
 162 JAVAH=          $(JAVA_ROOT)/bin/javah
 163 JAVADOC=        $(JAVA_ROOT)/bin/javadoc
 164 RMIC=           $(JAVA_ROOT)/bin/rmic
 165 JAR=            $(JAVA_ROOT)/bin/jar
 166 CTFCONVERT=     $(ONBLD_TOOLS)/bin/$(MACH)/ctfconvert
 167 CTFMERGE=       $(ONBLD_TOOLS)/bin/$(MACH)/ctfmerge
 168 CTFSTABS=       $(ONBLD_TOOLS)/bin/$(MACH)/ctfstabs
 169 CTFSTRIP=       $(ONBLD_TOOLS)/bin/$(MACH)/ctfstrip
 170 NDRGEN=         $(ONBLD_TOOLS)/bin/$(MACH)/ndrgen
 171 GENOFFSETS=     $(ONBLD_TOOLS)/bin/genoffsets
 172 XREF=           $(ONBLD_TOOLS)/bin/xref
 173 FIND=           /usr/bin/find
 174 PERL=           /usr/bin/perl
 175 PERL_VERSION=   5.10.0
 176 PERL_PKGVERS=   -510
 177 PERL_ARCH=      i86pc-solaris-64int
 178 PERL_ARCH64=    i86pc-solaris-64
 179 $(SPARC_BLD)PERL_ARCH=          sun4-solaris-64int
 180 $(SPARC_BLD)PERL_ARCH64=        sun4-solaris-64
 181 PYTHON_26=      /usr/bin/python2.6
 182 PYTHON=         $(PYTHON_26)
 183 SORT=           /usr/bin/sort
 184 TOUCH=          /usr/bin/touch
 185 WC=             /usr/bin/wc
 186 XARGS=          /usr/bin/xargs
 187 ELFEDIT=        /usr/bin/elfedit
 188 ELFSIGN=        /usr/bin/elfsign
 189 DTRACE=         /usr/sbin/dtrace -xnolibs
 190 UNIQ=           /usr/bin/uniq
 191 TAR=            /usr/bin/tar
 192 ASTBINDIR=      /usr/ast/bin
 193 MSGCC=          $(ASTBINDIR)/msgcc
 194 MSGFMT=         /usr/bin/msgfmt -s
 195 
 196 FILEMODE=       644
 197 DIRMODE=        755
 198 
 199 # Declare that nothing should be built in parallel.
 200 # Individual Makefiles can use the .PARALLEL target to declare otherwise.