Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# CDDL HEADER START
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# The contents of this file are subject to the terms of the
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Common Development and Distribution License (the "License").
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# You may not use this file except in compliance with the License.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# or http://www.opensolaris.org/os/licensing.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# See the License for the specific language governing permissions
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# and limitations under the License.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# When distributing Covered Code, include this CDDL HEADER in each
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# If applicable, add the following below this CDDL HEADER, with the
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# fields enclosed by brackets "[]" replaced with your own identifying
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# information: Portions Copyright [yyyy] [name of copyright owner]
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# CDDL HEADER END
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Use is subject to license terms.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# This makefile drives the production of the ebus driver kernel module
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# sun4v implementation architecture dependent
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Path to the base of the uts directory tree (usually /usr/src/uts).
6602c01097c66d242046fb0490e0a5dcc1ca36c5Lubos Kosco# Define the module and object file sets.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. MureninOBJECTS = $(EBUS_OBJS:%=$(OBJS_DIR)/%)
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. MureninLINTS = $(EBUS_OBJS:%.o=$(LINTS_DIR)/%.ln)
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. MureninROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Include common rules.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenininclude $(UTSBASE)/sun4v/Makefile.sun4v
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Define targets
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. MureninINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Turn this on once compiler understands v9 in it's backend
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin#INLINES += $(UTSBASE)/sun4v/io/ebus.il
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# lint pass one enforcement
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Turn on doubleword alignment for 64 bit registers
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# For now, disable these lint checks; maintainers should endeavor
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# to investigate and remove these for maximum lint coverage.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Please do not carry these forward to new Makefiles.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. MureninLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Default build targets.
8df011d1a5912ed09bc19deb08d9ef9f20efe220Constantine A. Murenin# Include common targets.