make/linux/makefiles/sparcWorks.make

Print this page




   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #  
  23 #
  24 
  25 #------------------------------------------------------------------------
  26 # CC, CPP & AS
  27 
  28 CPP = CC
  29 CC  = cc
  30 AS  = $(CC) -c
  31 
  32 HOSTCPP = $(CPP)
  33 HOSTCC  = $(CC)
  34 
  35 ARCHFLAG = $(ARCHFLAG/$(BUILDARCH))
  36 ARCHFLAG/i486    = -m32
  37 ARCHFLAG/amd64   = -m64
  38 
  39 CFLAGS     += $(ARCHFLAG)
  40 AOUT_FLAGS += $(ARCHFLAG)
  41 LFLAGS     += $(ARCHFLAG)
  42 ASFLAGS    += $(ARCHFLAG)
  43 
  44 #------------------------------------------------------------------------
  45 # Compiler flags
  46 
  47 # position-independent code
  48 PICFLAG = -KPIC
  49 
  50 CFLAGS += $(PICFLAG)
  51 # no more exceptions
  52 CFLAGS += -features=no%except




   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.
   8 #
   9 # This code is distributed in the hope that it will be useful, but WITHOUT
  10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12 # version 2 for more details (a copy is included in the LICENSE file that
  13 # accompanied this code).
  14 #
  15 # You should have received a copy of the GNU General Public License version
  16 # 2 along with this work; if not, write to the Free Software Foundation,
  17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18 #
  19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20 # or visit www.oracle.com if you need additional information or have any
  21 # questions.
  22 #  
  23 #
  24 
  25 #------------------------------------------------------------------------
  26 # CC, CXX & AS
  27 
  28 CXX = CC
  29 CC  = cc
  30 AS  = $(CC) -c
  31 
  32 HOSTCXX = $(CXX)
  33 HOSTCC  = $(CC)
  34 
  35 ARCHFLAG = $(ARCHFLAG/$(BUILDARCH))
  36 ARCHFLAG/i486    = -m32
  37 ARCHFLAG/amd64   = -m64
  38 
  39 CFLAGS     += $(ARCHFLAG)
  40 AOUT_FLAGS += $(ARCHFLAG)
  41 LFLAGS     += $(ARCHFLAG)
  42 ASFLAGS    += $(ARCHFLAG)
  43 
  44 #------------------------------------------------------------------------
  45 # Compiler flags
  46 
  47 # position-independent code
  48 PICFLAG = -KPIC
  49 
  50 CFLAGS += $(PICFLAG)
  51 # no more exceptions
  52 CFLAGS += -features=no%except