Makefile revision b31b5de1357c915fe7dab4d9646d9d84f9fe69bc
337d121aa0049cbd0ae664f5d1c431d862f1d49ejim#
ec79b29695b183f794264bbb578c51e93d1f9b1emartin# CDDL HEADER START
6aa2272cc4af77e605ba2c4a4781f8567408b7e3pquerna#
ee508128c414648982d1cca7801f63b01a0a4f8aminfrin# The contents of this file are subject to the terms of the
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin# Common Development and Distribution License (the "License").
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin# You may not use this file except in compliance with the License.
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin#
a4ab95921be8ce5de50913cd6505d41b672eb375minfrin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin# or http://www.opensolaris.org/os/licensing.
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin# See the License for the specific language governing permissions
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin# and limitations under the License.
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin#
e605dd6afa940f799c873ffeaa5e25fa4ea9a2c8minfrin# When distributing Covered Code, include this CDDL HEADER in each
50c06405bc48121db2913925549407fd3e79bcedmturk# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
50c06405bc48121db2913925549407fd3e79bcedmturk# If applicable, add the following below this CDDL HEADER, with the
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin# fields enclosed by brackets "[]" replaced with your own identifying
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin# information: Portions Copyright [yyyy] [name of copyright owner]
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin#
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin# CDDL HEADER END
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin#
1497efa2a5ac0d441f73f23947ef7611a9e44515minfrin#
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim# Use is subject to license terms.
30db430cb6aaf0c9c3c1bfe1a6c7ddb7ef8a4efcjim#
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrin
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrinTOPDIR = ../../../../..
f613fc7bb7d9073d0e029aab629afd257927f3b7minfrinSPARCDIR = ..
973a0e8715651f0a56148d315100169453c4d89eminfrin
973a0e8715651f0a56148d315100169453c4d89eminfrin# override global macros as necessary
973a0e8715651f0a56148d315100169453c4d89eminfrinARCH = sun4u
973a0e8715651f0a56148d315100169453c4d89eminfrinTARG_MACH = sparcv9
973a0e8715651f0a56148d315100169453c4d89eminfrinPROMTYPE = ieee1275
dec02391360e503cd3437d16bed765dc653b9de5minfrinPROMIFDIR = $(TOPDIR)/psm/stand/lib/promif
dec02391360e503cd3437d16bed765dc653b9de5minfrinPLATDIR = $(TOPDIR)/uts/$(ARCH)
dec02391360e503cd3437d16bed765dc653b9de5minfrin
dec02391360e503cd3437d16bed765dc653b9de5minfrinARCH_PROMDIR = $(TARG_MACH)/$(PROMTYPE)/common
dec02391360e503cd3437d16bed765dc653b9de5minfrinPLAT_PROMDIR = $(PROMTYPE)/$(ARCH)
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrinPLATLIBDIR = $(PROMIFDIR)/$(TARG_MACH)/$(PLAT_PROMDIR)
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrinPLATLIB = $(PLATLIBDIR)/libplat.a
722ed80e405b9d451cc89465ac2b0568f143a7a2minfrin
1b27a3a26f18191db7ecb4d536cb121ba9520a8eniqLDPLATLIBS = -L$(PLATLIBDIR) -lplat
1b27a3a26f18191db7ecb4d536cb121ba9520a8eniqSALIBS = $(PLATLIB)
399cf0e5e061b49593817421b94305889fa6bc1fjortonMAPFILE = $(SPARCDIR)/mapfile
399cf0e5e061b49593817421b94305889fa6bc1fjortonLINTPLATLIBS = $(PLATLIBDIR)/llib-lplat.ln
399cf0e5e061b49593817421b94305889fa6bc1fjorton
399cf0e5e061b49593817421b94305889fa6bc1fjortonBOOTLSTOBJ = srt0.o
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niq
13c7ff50f27aefa2594d33089fcff6ceb9796fe7niqALL = bootlst
e30d7d52b4f4a0b17653bccb45709fa43cd1a69eminfrin
e30d7d52b4f4a0b17653bccb45709fa43cd1a69eminfrin%.o: $(SPARCDIR)/%.s
e30d7d52b4f4a0b17653bccb45709fa43cd1a69eminfrin $(COMPILE.s) -o $@ $<
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin%.ln: $(SPARCDIR)/%.s
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin @$(LHEAD) $(LINT.s) $< $(LTAIL)
acf74b3c26daa2c06515d25ae2bee028b344a1f0minfrin
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrin
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrininclude ../../common/Makefile.com
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrininclude $(TOPDIR)/psm/Makefile.psm.64
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrinCFLAGS64 += -xchip=ultra $(CCABS32)
3d4a04d66fae699916fabb4e5313e9183d25d78eminfrin
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrinPOST_PROCESS += ; $(CHK4UBINARY)
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin
14ce3b0c1b20578aa5c6b8ebd2c8baf09d0deb55minfrin.KEEP_STATE:
ce26c909953968ede7c5097e508d37b2fa91ea3arpluem