Makefile revision 0c6eaab480b44a0c790ad94e7cb6084792411de9
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# CDDL HEADER START
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# The contents of this file are subject to the terms of the
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Common Development and Distribution License (the "License").
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# You may not use this file except in compliance with the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# See the License for the specific language governing permissions
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# and limitations under the License.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# When distributing Covered Code, include this CDDL HEADER in each
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# If applicable, add the following below this CDDL HEADER, with the
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# fields enclosed by brackets "[]" replaced with your own identifying
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# CDDL HEADER END
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Use is subject to license terms.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# This makefile drives the production of the mpt_sas driver kernel module.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Sparc architecture dependent
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Define the module and object file sets.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncCONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/mpt_sas
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Kernel Module Dependencies
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncLDFLAGS += -dy -Nmisc/scsi -Ndrv/scsi_vhci -Nmisc/sata
d02610fd604cc8ab4cccf7e3fa510c06cb728ff2vboxsync# Define targets
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Include common rules.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# lint pass one enforcement
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Default build targets.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Include common targets.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# Defines for local commands.
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync# lock_lint rules
7c205843b5f25329b7bac4cb41e4c55a21c7aafevboxsyncSCSI_FILES = $(SCSI_OBJS:%.o= -l $(UTSBASE)/sparc/scsi/%.ll)
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync$(WARLOCK_OK): $(WARLOCK_OUT) warlock_ddi.files scsi.files \
5f9dfb422a6ed57822f9c0cb94fa7df8d24acc9bvboxsync $(WARLOCK) -c $(WLCMD_DIR)/mptsas.wlcmd $(WARLOCK_OUT) \