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