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