Makefile revision 47b47c8ce30ead58d3d8a10f770a28fd1ca95047
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# CDDL HEADER START
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# The contents of this file are subject to the terms of the
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Common Development and Distribution License (the "License").
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# You may not use this file except in compliance with the License.
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# See the License for the specific language governing permissions
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# and limitations under the License.
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# When distributing Covered Code, include this CDDL HEADER in each
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# If applicable, add the following below this CDDL HEADER, with the
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# fields enclosed by brackets "[]" replaced with your own identifying
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# information: Portions Copyright [yyyy] [name of copyright owner]
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# CDDL HEADER END
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Use is subject to license terms.
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# This makefile drives the production of the pmcs driver kernel module.
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# SPARC architecture dependent
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Paths to the base of the uts directory trees
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Define the module and object file sets.
10b444a87400224fdb8ed3a329960a27385a96daGordon RossCONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Kernel Module Dependencies
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Define targets
10b444a87400224fdb8ed3a329960a27385a96daGordon RossINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Include common rules.
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Add additional flags
10b444a87400224fdb8ed3a329960a27385a96daGordon RossPMCS_DRV_FLGS = -DMODNAME=\"${MODULE}\" -DDISABLE_MSIX
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Default build targets.
10b444a87400224fdb8ed3a329960a27385a96daGordon Ross# Include common targets.