Makefile revision 1c42de6d020629af774dd9e9fc81be3f3ed9398e
4134N/A#
4134N/A# CDDL HEADER START
4134N/A#
4134N/A# The contents of this file are subject to the terms of the
4134N/A# Common Development and Distribution License (the "License").
4134N/A# You may not use this file except in compliance with the License.
4134N/A#
4134N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
4134N/A# or http://www.opensolaris.org/os/licensing.
4134N/A# See the License for the specific language governing permissions
4134N/A# and limitations under the License.
4134N/A#
4134N/A# When distributing Covered Code, include this CDDL HEADER in each
4134N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
4134N/A# If applicable, add the following below this CDDL HEADER, with the
4134N/A# fields enclosed by brackets "[]" replaced with your own identifying
4134N/A# information: Portions Copyright [yyyy] [name of copyright owner]
4134N/A#
4134N/A# CDDL HEADER END
4134N/A#
4134N/A#
4134N/A# uts/sun4u/gptwo_cpu/Makefile
4134N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
4134N/A# Use is subject to license terms.
4158N/A#
4134N/A#ident "%Z%%M% %I% %E% SMI"
4134N/A#
4134N/A# This makefile drives the production of the cpu portion of
4134N/A# of the Safari Configurator.
4134N/A#
4134N/A# sun4u implementation architecture dependent
4134N/A#
4134N/A
4134N/A#
4134N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
4134N/A#
4134N/AUTSBASE = ../..
4609N/A
4609N/A#
4134N/A# Define the module and object file sets.
4134N/A#
4134N/AMODULE = gptwo_cpu
4134N/AOBJECTS = $(GPTWO_CPU_OBJS:%=$(OBJS_DIR)/%)
4134N/ALINTS = $(GPTWO_CPU_OBJS:%.o=$(LINTS_DIR)/%.ln)
4134N/AROOTMODULE = $(ROOT_PSM_MISC_DIR)/$(MODULE)
4134N/A
4134N/A#
4134N/A# Include common rules.
4134N/A#
4134N/Ainclude $(UTSBASE)/sun4u/Makefile.sun4u
4134N/A
4134N/A#
4134N/A# Define targets
4134N/A#
4134N/AALL_TARGET = $(BINARY)
4134N/ALINT_TARGET = $(MODULE).lint
4134N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
4134N/A
4134N/A
4134N/A# Turn this on once compiler understands v9 in it's backend
4134N/A#INLINES += $(UTSBASE)/sun4u/io/gptwo_cpu.il
4134N/A
4134N/A#
4134N/A# lint pass one enforcement
4134N/A#
4134N/ACFLAGS += $(CCVERBOSE)
4134N/A
4134N/A#
4134N/A# Turn on doubleword alignment for 64 bit registers
4158N/A#
4134N/ACFLAGS += -dalign
4134N/A
4134N/A#
4134N/A# Pick up defines in cheetahregs.h.
4134N/A#
4134N/ACFLAGS += -DCHEETAH_PLUS
4134N/ALINTFLAGS += -DCHEETAH_PLUS
4134N/A
4134N/A#
4134N/A# module dependencies
4134N/A#
4134N/ALDFLAGS += -dy -Nmisc/gptwocfg
4134N/A
4134N/A#
4134N/A# For now, disable these lint checks; maintainers should endeavor
4134N/A# to investigate and remove these for maximum lint coverage.
4134N/A# Please do not carry these forward to new Makefiles.
4134N/A#
4134N/ALINTTAGS += -erroff=E_STATIC_UNUSED
4134N/A
4134N/A#
4134N/A# Default build targets.
4134N/A#
4134N/A.KEEP_STATE:
4134N/A
4134N/Adef: $(DEF_DEPS)
4134N/A
4134N/Aall: $(ALL_DEPS)
4134N/A
4134N/Aclean: $(CLEAN_DEPS)
4134N/A
4134N/Aclobber: $(CLOBBER_DEPS)
4134N/A
4134N/Alint: $(LINT_DEPS)
4134N/A
4134N/Amodlintlib: $(MODLINTLIB_DEPS)
4134N/A
4134N/Aclean.lint: $(CLEAN_LINT_DEPS)
4134N/A
4134N/Ainstall: $(INSTALL_DEPS)
4134N/A
4134N/A#
4134N/A# Include common targets.
4134N/A#
4134N/Ainclude $(UTSBASE)/sun4u/Makefile.targ
4134N/A