1e7cbe64fSgw# 2e7cbe64fSgw# CDDL HEADER START 3e7cbe64fSgw# 4e7cbe64fSgw# The contents of this file are subject to the terms of the 5e7cbe64fSgw# Common Development and Distribution License (the "License"). 6e7cbe64fSgw# You may not use this file except in compliance with the License. 7e7cbe64fSgw# 8e7cbe64fSgw# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9e7cbe64fSgw# or http://www.opensolaris.org/os/licensing. 10e7cbe64fSgw# See the License for the specific language governing permissions 11e7cbe64fSgw# and limitations under the License. 12e7cbe64fSgw# 13e7cbe64fSgw# When distributing Covered Code, include this CDDL HEADER in each 14e7cbe64fSgw# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15e7cbe64fSgw# If applicable, add the following below this CDDL HEADER, with the 16e7cbe64fSgw# fields enclosed by brackets "[]" replaced with your own identifying 17e7cbe64fSgw# information: Portions Copyright [yyyy] [name of copyright owner] 18e7cbe64fSgw# 19e7cbe64fSgw# CDDL HEADER END 20e7cbe64fSgw# 21e7cbe64fSgw# 22e7cbe64fSgw# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23e7cbe64fSgw# Use is subject to license terms. 24e7cbe64fSgw# 25e7cbe64fSgw 26e7cbe64fSgwTOPDIR = ../../../../.. 27e7cbe64fSgwSPARCDIR = .. 28e7cbe64fSgw 29e7cbe64fSgw# override global macros as necessary 30e7cbe64fSgwARCH = sun4v 31e7cbe64fSgwTARG_MACH = sparcv9 32e7cbe64fSgwPROMTYPE = ieee1275 33e7cbe64fSgwPROMIFDIR = $(TOPDIR)/psm/stand/lib/promif 34e7cbe64fSgwPLATDIR = $(TOPDIR)/uts/$(ARCH) 35e7cbe64fSgw 36e7cbe64fSgwARCH_PROMDIR = $(TARG_MACH)/$(PROMTYPE)/common 37e7cbe64fSgwPLAT_PROMDIR = $(PROMTYPE)/$(ARCH) 38e7cbe64fSgwPLATLIBDIR = $(PROMIFDIR)/$(TARG_MACH)/$(PLAT_PROMDIR) 39e7cbe64fSgwPLATLIB = $(PLATLIBDIR)/libplat.a 40e7cbe64fSgw 41e7cbe64fSgwLDPLATLIBS = -L$(PLATLIBDIR) -lplat 42e7cbe64fSgwSALIBS = $(PLATLIB) 43e7cbe64fSgwMAPFILE = $(SPARCDIR)/mapfile 44e7cbe64fSgwLINTPLATLIBS = $(PLATLIBDIR)/llib-lplat.ln 45e7cbe64fSgw 46e7cbe64fSgwBOOTLSTOBJ = srt0.o 47e7cbe64fSgw 48e7cbe64fSgwALL = bootlst 49e7cbe64fSgw 50e7cbe64fSgw%.o: $(SPARCDIR)/%.s 51e7cbe64fSgw $(COMPILE.s) -o $@ $< 52e7cbe64fSgw 53e7cbe64fSgw%.ln: $(SPARCDIR)/%.s 54e7cbe64fSgw @$(LHEAD) $(LINT.s) $< $(LTAIL) 55e7cbe64fSgw 56e7cbe64fSgw 57e7cbe64fSgwinclude ../../common/Makefile.com 58e7cbe64fSgwinclude $(TOPDIR)/psm/Makefile.psm.64 59*d17be682SRichard LoweCFLAGS64 += -xchip=ultra 607014882cSRichard LoweCERRWARN += -_gcc=-Wno-char-subscripts 61e7cbe64fSgw.KEEP_STATE: 62e7cbe64fSgw 63