Makefile revision 51b564aca190d2a430104dded1983d3a1fff66e2
8495845a800cf09321436aed996188c9a92cd647bnicholes# CDDL HEADER START
8495845a800cf09321436aed996188c9a92cd647bnicholes# The contents of this file are subject to the terms of the
8495845a800cf09321436aed996188c9a92cd647bnicholes# Common Development and Distribution License (the "License").
8495845a800cf09321436aed996188c9a92cd647bnicholes# You may not use this file except in compliance with the License.
8495845a800cf09321436aed996188c9a92cd647bnicholes# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8495845a800cf09321436aed996188c9a92cd647bnicholes# See the License for the specific language governing permissions
8495845a800cf09321436aed996188c9a92cd647bnicholes# and limitations under the License.
8495845a800cf09321436aed996188c9a92cd647bnicholes# When distributing Covered Code, include this CDDL HEADER in each
8495845a800cf09321436aed996188c9a92cd647bnicholes# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8495845a800cf09321436aed996188c9a92cd647bnicholes# If applicable, add the following below this CDDL HEADER, with the
8495845a800cf09321436aed996188c9a92cd647bnicholes# fields enclosed by brackets "[]" replaced with your own identifying
8495845a800cf09321436aed996188c9a92cd647bnicholes# information: Portions Copyright [yyyy] [name of copyright owner]
8495845a800cf09321436aed996188c9a92cd647bnicholes# CDDL HEADER END
8495845a800cf09321436aed996188c9a92cd647bnicholes# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
8495845a800cf09321436aed996188c9a92cd647bnicholes# Use is subject to license terms.
8495845a800cf09321436aed996188c9a92cd647bnicholes#ident "%Z%%M% %I% %E% SMI"
8495845a800cf09321436aed996188c9a92cd647bnicholesTOPDIR = ../../../../..
8495845a800cf09321436aed996188c9a92cd647bnicholesLINKED_LIB_DIRS = $(PLATLINKS:%=$(USR_PLAT_DIR)/%/lib)
8495845a800cf09321436aed996188c9a92cd647bnicholesLINKED_LIB_FS_DIRS = $(PLATLINKS:%=$(USR_PLAT_DIR)/%/lib/fs)
8495845a800cf09321436aed996188c9a92cd647bnicholesARCH_C_SRC = sun4u_memlist.c sun4x_standalloc.c sun4dep.c
8495845a800cf09321436aed996188c9a92cd647bnicholesLDFLAGS += -L$(TOPDIR)/psm/stand/lib/promif/$(TARG_MACH)/$(PROMVERS)/common
8495845a800cf09321436aed996188c9a92cd647bnicholes# The following libraries are build in LIBPLAT_DIR
8495845a800cf09321436aed996188c9a92cd647bnicholesLIBPLAT_DIR = $(TOPDIR)/psm/stand/lib/promif/$(TARG_MACH)/$(PROMVERS)/$(PLATFORM)
8495845a800cf09321436aed996188c9a92cd647bnicholes# Platform specific libraries
8495845a800cf09321436aed996188c9a92cd647bnicholes# MPSAS support
8495845a800cf09321436aed996188c9a92cd647bnicholes# re-define ELFCONV for 4v--- sun4v can boot ELF directly
8495845a800cf09321436aed996188c9a92cd647bnicholes# Don't need mapfile.inet for 4v inetboot
8495845a800cf09321436aed996188c9a92cd647bnicholes# Set the choice of compiler.
8495845a800cf09321436aed996188c9a92cd647bnicholes# XXX this totally sucks since it effectively turns off -errchk=longptr64,
8495845a800cf09321436aed996188c9a92cd647bnicholes# which we really should be using.
8495845a800cf09321436aed996188c9a92cd647bnicholes# Cross-reference customization: include all boot-related source files.
8495845a800cf09321436aed996188c9a92cd647bnicholesNAMESDIRS= ../../../lib/names/sparcv9 ../../../lib/names/sparc/common
8495845a800cf09321436aed996188c9a92cd647bnicholesXRDIRS += ../../sparc/common ../../common $(STANDLIBDIR) \