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