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