Makefile revision 3d19cdae966d9ac4218dd9859640463bd7da19d8
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# CDDL HEADER START
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# The contents of this file are subject to the terms of the
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Common Development and Distribution License (the "License").
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# You may not use this file except in compliance with the License.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# or http://www.opensolaris.org/os/licensing.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# See the License for the specific language governing permissions
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# and limitations under the License.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# When distributing Covered Code, include this CDDL HEADER in each
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# If applicable, add the following below this CDDL HEADER, with the
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# fields enclosed by brackets "[]" replaced with your own identifying
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# information: Portions Copyright [yyyy] [name of copyright owner]
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# CDDL HEADER END
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# uts/sun4u/sf/Makefile
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Use is subject to license terms.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#ident "%Z%%M% %I% %E% SMI"
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# This makefile drives the production of the sf driver kernel module.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# sun4u architecture dependent
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Path to the base of the uts directory tree (usually /usr/src/uts).
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelUTSBASE = ../..
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Define the module and object file sets.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelMODULE = sf
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelOBJECTS = $(SF_OBJS:%=$(OBJS_DIR)/%)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelLINTS = $(SF_OBJS:%.o=$(LINTS_DIR)/%.ln)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelROOTMODULE = $(ROOT_PSM_DRV_DIR)/$(MODULE)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelCONF_SRCDIR = $(UTSBASE)/sun/io/scsi/adapters
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Include common rules.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelinclude $(UTSBASE)/sun4u/Makefile.sun4u
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Define targets
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelALL_TARGET = $(BINARY) $(SRC_CONFFILE)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelLINT_TARGET = $(MODULE).lint
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Overrides
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelCFLAGS += $(CCVERBOSE)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Default build targets.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel.KEEP_STATE:
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8steveldef: $(DEF_DEPS)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelall: $(ALL_DEPS)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelclean: $(CLEAN_DEPS)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelclobber: $(CLOBBER_DEPS)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevellint: $(LINT_DEPS)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelmodlintlib: $(MODLINTLIB_DEPS)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelclean.lint: $(CLEAN_LINT_DEPS)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelinstall: $(INSTALL_DEPS)
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel# Include common targets.
3d19cdae966d9ac4218dd9859640463bd7da19d8stevel#
3d19cdae966d9ac4218dd9859640463bd7da19d8stevelinclude $(UTSBASE)/sun4u/Makefile.targ