e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# CDDL HEADER START
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# The contents of this file are subject to the terms of the
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# Common Development and Distribution License (the "License").
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# You may not use this file except in compliance with the License.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# or http://www.opensolaris.org/os/licensing.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# See the License for the specific language governing permissions
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# and limitations under the License.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# When distributing Covered Code, include this CDDL HEADER in each
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# If applicable, add the following below this CDDL HEADER, with the
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# fields enclosed by brackets "[]" replaced with your own identifying
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# information: Portions Copyright [yyyy] [name of copyright owner]
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# CDDL HEADER END
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# Use is subject to license terms.
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw#
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwTOPDIR = ../../../../..
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwSPARCDIR = ..
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw# override global macros as necessary
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwARCH = sun4v
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwTARG_MACH = sparcv9
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwPROMTYPE = ieee1275
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwPROMIFDIR = $(TOPDIR)/psm/stand/lib/promif
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwPLATDIR = $(TOPDIR)/uts/$(ARCH)
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwARCH_PROMDIR = $(TARG_MACH)/$(PROMTYPE)/common
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwPLAT_PROMDIR = $(PROMTYPE)/$(ARCH)
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwPLATLIBDIR = $(PROMIFDIR)/$(TARG_MACH)/$(PLAT_PROMDIR)
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwPLATLIB = $(PLATLIBDIR)/libplat.a
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwLDPLATLIBS = -L$(PLATLIBDIR) -lplat
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwSALIBS = $(PLATLIB)
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwMAPFILE = $(SPARCDIR)/mapfile
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwLINTPLATLIBS = $(PLATLIBDIR)/llib-lplat.ln
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwBOOTLSTOBJ = srt0.o
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwALL = bootlst
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw%.o: $(SPARCDIR)/%.s
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw $(COMPILE.s) -o $@ $<
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw%.ln: $(SPARCDIR)/%.s
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw @$(LHEAD) $(LINT.s) $< $(LTAIL)
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwinclude ../../common/Makefile.com
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwinclude $(TOPDIR)/psm/Makefile.psm.64
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gwCFLAGS64 += -xchip=ultra $(CCABS32)
7014882c6a3672fd0e5d60200af8643ae53c5928Richard LoweCERRWARN += -_gcc=-Wno-char-subscripts
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw.KEEP_STATE:
e7cbe64f7a72dae5cb44f100db60ca88f3313c65gw