Makefile revision 24fe0b3bf671e123467ce1df0b67cadd3614c8e4
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# CDDL HEADER START
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# The contents of this file are subject to the terms of the
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Common Development and Distribution License (the "License").
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# You may not use this file except in compliance with the License.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# See the License for the specific language governing permissions
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# and limitations under the License.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# When distributing Covered Code, include this CDDL HEADER in each
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# If applicable, add the following below this CDDL HEADER, with the
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# fields enclosed by brackets "[]" replaced with your own identifying
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# information: Portions Copyright [yyyy] [name of copyright owner]
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# CDDL HEADER END
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Use is subject to license terms.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# This makefile drives the production of the SUNW,UltraSPARC-IIIi+ cpu
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# module. This module uses the same source files as the Jalapeno module
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# but some extra code is included by SERRANO #ifdefs
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Path to the base of the uts directory tree (usually /usr/src/uts).
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Define the module and object file sets.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy FettigROOTSOFTLINKS = $(SOFTLINKS:%=$(ROOT_PSM_CPU_DIR)/%)
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Include common rules.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Override defaults
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Define targets
269f47de02761bab3b7b28e2007a2bac34f629ccThuy FettigINSTALL_TARGET = def $(BINARY) $(ROOTMODULE) $(ROOTSOFTLINKS)
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# lint pass one enforcement
269f47de02761bab3b7b28e2007a2bac34f629ccThuy FettigCFLAGS += $(CCVERBOSE) -DCHEETAH -DSERRANO -DCPU_IMP_L1_CACHE_PARITY \
269f47de02761bab3b7b28e2007a2bac34f629ccThuy FettigASFLAGS += -DCHEETAH -DSERRANO -DCPU_IMP_L1_CACHE_PARITY \
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# cpu-module-specific flags
269f47de02761bab3b7b28e2007a2bac34f629ccThuy FettigCPPFLAGS += -DCPU_MODULE -DCHEETAH -DSERRANO -DCPU_IMP_L1_CACHE_PARITY \
269f47de02761bab3b7b28e2007a2bac34f629ccThuy FettigAS_CPPFLAGS += -DCPU_MODULE -DCHEETAH -DSERRANO -DCPU_IMP_L1_CACHE_PARITY \
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig# Default build targets.
269f47de02761bab3b7b28e2007a2bac34f629ccThuy Fettig @echo "resolving symbols against unix.o"