Makefile revision 9cd534619d178fc105dc526b5cc6b753cc4344d7
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# CDDL HEADER START
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# The contents of this file are subject to the terms of the
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# Common Development and Distribution License (the "License").
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# You may not use this file except in compliance with the License.
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# or http://www.opensolaris.org/os/licensing.
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# See the License for the specific language governing permissions
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# and limitations under the License.
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# When distributing Covered Code, include this CDDL HEADER in each
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# If applicable, add the following below this CDDL HEADER, with the
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# fields enclosed by brackets "[]" replaced with your own identifying
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# CDDL HEADER END
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1f086d5155f47fdad9a0de4e46bbebb2c4b33d30Christian Maeder# Use is subject to license terms.
68e06f3c48e4d31d4956cf781d788ce114ffbb66Christian Maeder#ident "%Z%%M% %I% %E% SMI"
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian MaederTOPDIR = ../../../../..
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian MaederLINKED_DIRS = $(PLATLINKS:%=$(USR_PLAT_DIR)/%)
e539b8cb4a47f987bc57c90ee964219ac53841ffTill MossakowskiLINKED_LIB_DIRS = $(PLATLINKS:%=$(USR_PLAT_DIR)/%/lib)
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian MaederLINKED_LIB_FS_DIRS = $(PLATLINKS:%=$(USR_PLAT_DIR)/%/lib/fs)
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian MaederARCH_C_SRC = sun4u_memlist.c sun4x_standalloc.c sun4dep.c
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian MaederLDFLAGS += -L$(TOPDIR)/psm/stand/lib/promif/$(TARG_MACH)/$(PROMVERS)/common
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian Maeder# The following libraries are build in LIBPLAT_DIR
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian MaederLIBPLAT_DIR = $(TOPDIR)/psm/stand/lib/promif/$(TARG_MACH)/$(PROMVERS)/$(PLATFORM)
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian MaederLIBPLAT_L_LIBS= $(LIBPLAT_LIBS:lib%.a=llib-l%.ln)
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian MaederLIBPLAT_DEP = $(LIBPLAT_DIR)/$(LIBPLAT_LIBS)
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian MaederLIBPLAT_DEP_L = $(LIBPLAT_DIR)/$(LIBPLAT_L_LIBS)
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian Maeder# Platform specific libraries
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian Maeder# MPSAS support
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian Maeder# re-define ELFCONV for 4u--- sun4u can boot ELF directly
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian Maeder# Don't need mapfile.inet for 4u inetboot
bf3ce93c4f5dd0707a58458bf97c75385c88c343Christian Maeder# Set the choice of compiler.
$(XREF) -x $@
FRC: