3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# CDDL HEADER START
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# The contents of this file are subject to the terms of the
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Common Development and Distribution License (the "License").
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# You may not use this file except in compliance with the License.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# or http://www.opensolaris.org/os/licensing.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# See the License for the specific language governing permissions
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# and limitations under the License.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# When distributing Covered Code, include this CDDL HEADER in each
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# If applicable, add the following below this CDDL HEADER, with the
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# fields enclosed by brackets "[]" replaced with your own identifying
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# information: Portions Copyright [yyyy] [name of copyright owner]
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# CDDL HEADER END
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Use is subject to license terms.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#ident "%Z%%M% %I% %E% SMI"
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# This makefile drives the production of the central driver kernel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# module.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# sun4u implementation architecture dependent
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Path to the base of the uts directory tree (usually /usr/src/uts).
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevelUTSBASE = ../../..
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Define the module and object file sets.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevelMODULE = central
3db86aab554edbb4244c8d1a1c90f152eee768afstevelOBJECTS = $(CENTRAL_OBJS:%=$(OBJS_DIR)/%)
3db86aab554edbb4244c8d1a1c90f152eee768afstevelLINTS = $(CENTRAL_OBJS:%.o=$(LINTS_DIR)/%.ln)
3db86aab554edbb4244c8d1a1c90f152eee768afstevelROOTMODULE = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Include common rules.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevelinclude $(UTSBASE)/sun4u/sunfire/Makefile.sunfire
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Define targets
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevelALL_TARGET = $(BINARY)
3db86aab554edbb4244c8d1a1c90f152eee768afstevelLINT_TARGET = $(MODULE).lint
3db86aab554edbb4244c8d1a1c90f152eee768afstevelINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# lint pass one enforcement
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCFLAGS += $(CCVERBOSE)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Turn on doubleword alignment for 64 bit registers
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevelCFLAGS += -dalign
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Default build targets.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel.KEEP_STATE:
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afsteveldef: $(DEF_DEPS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelall: $(ALL_DEPS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelclean: $(CLEAN_DEPS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelclobber: $(CLOBBER_DEPS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevellint: $(LINT_DEPS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelmodlintlib: $(MODLINTLIB_DEPS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelclean.lint: $(CLEAN_LINT_DEPS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevelinstall: $(INSTALL_DEPS)
3db86aab554edbb4244c8d1a1c90f152eee768afstevel
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevel# Include common targets.
3db86aab554edbb4244c8d1a1c90f152eee768afstevel#
3db86aab554edbb4244c8d1a1c90f152eee768afstevelinclude $(UTSBASE)/sun4u/sunfire/Makefile.targ