Makefile revision 8d4e547db823a866b8f73efc0acdc423e2963caf
4496171313bed39e96f21bc2f9faf2868e267ae3girish# CDDL HEADER START
4496171313bed39e96f21bc2f9faf2868e267ae3girish# The contents of this file are subject to the terms of the
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Common Development and Distribution License (the "License").
4496171313bed39e96f21bc2f9faf2868e267ae3girish# You may not use this file except in compliance with the License.
4496171313bed39e96f21bc2f9faf2868e267ae3girish# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4496171313bed39e96f21bc2f9faf2868e267ae3girish# See the License for the specific language governing permissions
4496171313bed39e96f21bc2f9faf2868e267ae3girish# and limitations under the License.
4496171313bed39e96f21bc2f9faf2868e267ae3girish# When distributing Covered Code, include this CDDL HEADER in each
4496171313bed39e96f21bc2f9faf2868e267ae3girish# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4496171313bed39e96f21bc2f9faf2868e267ae3girish# If applicable, add the following below this CDDL HEADER, with the
4496171313bed39e96f21bc2f9faf2868e267ae3girish# fields enclosed by brackets "[]" replaced with your own identifying
4496171313bed39e96f21bc2f9faf2868e267ae3girish# information: Portions Copyright [yyyy] [name of copyright owner]
4496171313bed39e96f21bc2f9faf2868e267ae3girish# CDDL HEADER END
8d4e547db823a866b8f73efc0acdc423e2963cafae# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Use is subject to license terms.
4496171313bed39e96f21bc2f9faf2868e267ae3girish#ident "%Z%%M% %I% %E% SMI"
4496171313bed39e96f21bc2f9faf2868e267ae3girish# This makefile drives the production of the UltraSPARC-T2 cpu module.
4496171313bed39e96f21bc2f9faf2868e267ae3girish# sun4v implementation architecture dependent
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Path to the base of the uts directory tree (usually /usr/src/uts).
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Define the module and object file sets.
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Include common rules.
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Override defaults
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Define targets
4496171313bed39e96f21bc2f9faf2868e267ae3girish# lint pass one enforcement
8d4e547db823a866b8f73efc0acdc423e2963cafae# The following is required to support Niagara2 1.0
8d4e547db823a866b8f73efc0acdc423e2963cafaeWORKAROUND_DEFS += -DN2_ERRATUM_49 # %stick_compare{6:0} ignored
4496171313bed39e96f21bc2f9faf2868e267ae3girish# cpu-module-specific flags
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Default build targets.
4496171313bed39e96f21bc2f9faf2868e267ae3girish @echo "resolving symbols against unix.o"
4496171313bed39e96f21bc2f9faf2868e267ae3girish CPU_DIR=$(HERE) SYM_MOD=$(HERE)/$(SYM_MOD) $(MAKE) symcheck)
4496171313bed39e96f21bc2f9faf2868e267ae3girish# Include common targets.