Makefile revision 7c478bd95313f5f23a4c958a745db2134aa03244
9f4362a04e0f381642ddf86fd81a43f2b56f1b96Christian Maeder#
2e7f583fa02540873fd5e70f57c704bee2bdc18aChristian Maeder# CDDL HEADER START
2e7f583fa02540873fd5e70f57c704bee2bdc18aChristian Maeder#
2e7f583fa02540873fd5e70f57c704bee2bdc18aChristian Maeder# The contents of this file are subject to the terms of the
2e7f583fa02540873fd5e70f57c704bee2bdc18aChristian Maeder# Common Development and Distribution License, Version 1.0 only
89390a303afa9ca380fc9b878cffdd88667fdd25Christian Maeder# (the "License"). You may not use this file except in compliance
89390a303afa9ca380fc9b878cffdd88667fdd25Christian Maeder# with the License.
95e1f01b717e08e16d13f43c0a4f19cf6c23a3f8Christian Maeder#
89390a303afa9ca380fc9b878cffdd88667fdd25Christian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2e7f583fa02540873fd5e70f57c704bee2bdc18aChristian Maeder# or http://www.opensolaris.org/os/licensing.
89390a303afa9ca380fc9b878cffdd88667fdd25Christian Maeder# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# uts/sun4u/sbbc/Makefile
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
#pragma ident "%Z%%M% %I% %E% SMI"
#
# This makefile drives the production of the sbbc driver kernel module
#
# sun4u implementation architecture dependent
#
#
# Path to the base of the uts directory tree (usually /usr/src/uts).
#
UTSBASE = ../..
#
# Define the module and object file sets.
#
MODULE = sbbc
OBJECTS = $(SBBC_OBJS:%=$(OBJS_DIR)/%)
LINTS = $(SBBC_OBJS:%.o=$(LINTS_DIR)/%.ln)
ROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
#
# Include common rules.
#
include $(UTSBASE)/sun4u/Makefile.sun4u
#
# Define targets
#
ALL_TARGET = $(BINARY)
LINT_TARGET = $(MODULE).lint
INSTALL_TARGET = $(BINARY) $(ROOTMODULE)
# Turn this on once compiler understands v9 in it's backend
#INLINES += $(UTSBASE)/sun4u/io/sbbc.il
#
# lint pass one enforcement
#
CFLAGS += $(CCVERBOSE)
#
# Turn on doubleword alignment for 64 bit registers
#
CFLAGS += -dalign
#
# Default build targets.
#
.KEEP_STATE:
def: $(DEF_DEPS)
all: $(ALL_DEPS)
clean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/sun4u/Makefile.targ