Makefile revision 3db86aab554edbb4244c8d1a1c90f152eee768af
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# CDDL HEADER START
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# The contents of this file are subject to the terms of the
f808c858fa61e7769218966759510a8b1190dfcfraf# Common Development and Distribution License (the "License").
f808c858fa61e7769218966759510a8b1190dfcfraf# You may not use this file except in compliance with the License.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
f808c858fa61e7769218966759510a8b1190dfcfraf# or http://www.opensolaris.org/os/licensing.
f808c858fa61e7769218966759510a8b1190dfcfraf# See the License for the specific language governing permissions
f808c858fa61e7769218966759510a8b1190dfcfraf# and limitations under the License.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# When distributing Covered Code, include this CDDL HEADER in each
f808c858fa61e7769218966759510a8b1190dfcfraf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
f808c858fa61e7769218966759510a8b1190dfcfraf# If applicable, add the following below this CDDL HEADER, with the
f808c858fa61e7769218966759510a8b1190dfcfraf# fields enclosed by brackets "[]" replaced with your own identifying
f808c858fa61e7769218966759510a8b1190dfcfraf# information: Portions Copyright [yyyy] [name of copyright owner]
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# CDDL HEADER END
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf
b7b97454b9b1f6625e7e655e9651e744a8dee09dperrin#
f808c858fa61e7769218966759510a8b1190dfcfraf# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
f808c858fa61e7769218966759510a8b1190dfcfraf# Use is subject to license terms.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf#ident "%Z%%M% %I% %E% SMI"
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# This makefile drives the production of the central driver kernel
f808c858fa61e7769218966759510a8b1190dfcfraf# module.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# sun4u implementation architecture dependent
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf
b7b97454b9b1f6625e7e655e9651e744a8dee09dperrin#
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarks# Path to the base of the uts directory tree (usually /usr/src/uts).
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfrafUTSBASE = ../../..
f808c858fa61e7769218966759510a8b1190dfcfraf
7f1f55ea3af0e6153a8ee9316c7f0b8b4f1ba773vb#
7f1f55ea3af0e6153a8ee9316c7f0b8b4f1ba773vb# Define the module and object file sets.
6949a980ded6490cd1bcf4a93a1d074d46d9a6c1marks#
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarksMODULE = central
f808c858fa61e7769218966759510a8b1190dfcfrafOBJECTS = $(CENTRAL_OBJS:%=$(OBJS_DIR)/%)
f808c858fa61e7769218966759510a8b1190dfcfrafLINTS = $(CENTRAL_OBJS:%.o=$(LINTS_DIR)/%.ln)
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrockROOTMODULE = $(ROOT_SUNFIRE_DRV_DIR)/$(MODULE)
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarks
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# Include common rules.
d5b5bb256c576fe5ef26e0795bd40abe77f93246Rich Morris#
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrockinclude $(UTSBASE)/sun4u/sunfire/Makefile.sunfire
f808c858fa61e7769218966759510a8b1190dfcfraf
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarks#
f808c858fa61e7769218966759510a8b1190dfcfraf# Define targets
f808c858fa61e7769218966759510a8b1190dfcfraf#
f3861e1a2ceec23a5b699c24d814b7775a9e0b52ahlALL_TARGET = $(BINARY)
f3861e1a2ceec23a5b699c24d814b7775a9e0b52ahlLINT_TARGET = $(MODULE).lint
da6c28aaf62fa55f0fdb8004aa40f88f23bf53f0amwINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# lint pass one enforcement
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfrafCFLAGS += $(CCVERBOSE)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# Turn on doubleword alignment for 64 bit registers
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfrafCFLAGS += -dalign
f808c858fa61e7769218966759510a8b1190dfcfraf
5aba80db367b061758a29154d304977d00d8e4f4ck#
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarks# Default build targets.
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarks#
ecd6cf800b63704be73fb264c3f5b6e0dafc068dmarks.KEEP_STATE:
f808c858fa61e7769218966759510a8b1190dfcfraf
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrockdef: $(DEF_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfrafall: $(ALL_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfrafclean: $(CLEAN_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfrafclobber: $(CLOBBER_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfraflint: $(LINT_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfrafmodlintlib: $(MODLINTLIB_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
e7437265dc2a4920c197ed4337665539d358b22cahrensclean.lint: $(CLEAN_LINT_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
e9dbad6f263d5570ed7ff5443ec5b958af8c24d7eschrockinstall: $(INSTALL_DEPS)
f808c858fa61e7769218966759510a8b1190dfcfraf
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfraf# Include common targets.
f808c858fa61e7769218966759510a8b1190dfcfraf#
f808c858fa61e7769218966759510a8b1190dfcfrafinclude $(UTSBASE)/sun4u/sunfire/Makefile.targ
f808c858fa61e7769218966759510a8b1190dfcfraf