Makefile revision 91e1058474884b4b6f1d3665a96ddeb9a30cd489
342N/A#
3063N/A# CDDL HEADER START
342N/A#
342N/A# The contents of this file are subject to the terms of the
342N/A# Common Development and Distribution License (the "License").
342N/A# You may not use this file except in compliance with the License.
342N/A#
342N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
342N/A# or http://www.opensolaris.org/os/licensing.
342N/A# See the License for the specific language governing permissions
342N/A# and limitations under the License.
342N/A#
342N/A# When distributing Covered Code, include this CDDL HEADER in each
342N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
342N/A# If applicable, add the following below this CDDL HEADER, with the
342N/A# fields enclosed by brackets "[]" replaced with your own identifying
342N/A# information: Portions Copyright [yyyy] [name of copyright owner]
342N/A#
1472N/A# CDDL HEADER END
1472N/A#
1472N/A#
342N/A# uts/intel/i2o_scsi/Makefile
342N/A#
342N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
1879N/A# Use is subject to license terms.
1879N/A#
1879N/A#ident "%Z%%M% %I% %E% SMI"
1879N/A#
2280N/A# This makefile drives the production of the i2o_scsi (SCSI HBA)
2603N/A# driver kernel module.
1879N/A#
2386N/A# intel implementation architecture dependent
2591N/A#
2037N/A
2386N/A#
1879N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1879N/A#
1879N/AUTSBASE = ../..
1879N/A
1879N/A#
342N/A# Define the module and object file sets.
342N/A#
342N/AMODULE = i2o_scsi
342N/AOBJECTS = $(I2O_SCSI_OBJS:%=$(OBJS_DIR)/%)
342N/ALINTS = $(I2O_SCSI_OBJS:%.o=$(LINTS_DIR)/%.ln)
342N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
2058N/ACONF_SRCDIR = $(UTSBASE)/common/io/i2o
342N/A
342N/A#
342N/A# Include common rules.
342N/A#
342N/Ainclude $(UTSBASE)/intel/Makefile.intel
342N/A
342N/A#
342N/A# Define targets
342N/A#
342N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
342N/ALINT_TARGET = $(MODULE).lint
342N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
342N/A
342N/A#
342N/A# Overrides
2386N/A#
342N/ADEF_BUILDS = $(DEF_BUILDS32)
1629N/AALL_BUILDS = $(ALL_BUILDS32)
1311N/A
342N/A#
807N/A# Override defaults to build a unique, local modstubs.o.
807N/A#
807N/AMODSTUBS_DIR = $(OBJS_DIR)
342N/ACLEANFILES += $(MODSTUBS_O)
342N/A
342N/A#
342N/A# For now, disable these lint checks; maintainers should endeavor
342N/A# to investigate and remove these for maximum lint coverage.
342N/A# Please do not carry these forward to new Makefiles.
342N/A#
342N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
342N/A
342N/A#
342N/A# Default build targets.
342N/A#
1394N/A.KEEP_STATE:
1394N/A
1394N/Aall: $(ALL_DEPS)
1394N/A
1394N/Adef: $(DEF_DEPS)
342N/A
1394N/Aclean: $(CLEAN_DEPS)
342N/A
342N/Aclobber: $(CLOBBER_DEPS)
342N/A
342N/Alint: $(LINT_DEPS)
1394N/A
342N/Amodlintlib: $(MODLINTLIB_DEPS)
342N/A
342N/Aclean.lint: $(CLEAN_LINT_DEPS)
342N/A
1394N/Ainstall: $(INSTALL_DEPS)
1394N/A
1394N/A#
1394N/A# Include common targets.
1394N/A#
1394N/Ainclude $(UTSBASE)/intel/Makefile.targ
1394N/A
342N/A