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