Makefile revision 4c06356b0f0fffb4fc1b6eccc8e5d8e2254a84d6
74e20cfe817b82802b16fac8690dadcda76f54f5nh# CDDL HEADER START
74e20cfe817b82802b16fac8690dadcda76f54f5nh# The contents of this file are subject to the terms of the
74e20cfe817b82802b16fac8690dadcda76f54f5nh# Common Development and Distribution License (the "License").
74e20cfe817b82802b16fac8690dadcda76f54f5nh# You may not use this file except in compliance with the License.
74e20cfe817b82802b16fac8690dadcda76f54f5nh# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
74e20cfe817b82802b16fac8690dadcda76f54f5nh# See the License for the specific language governing permissions
74e20cfe817b82802b16fac8690dadcda76f54f5nh# and limitations under the License.
74e20cfe817b82802b16fac8690dadcda76f54f5nh# When distributing Covered Code, include this CDDL HEADER in each
74e20cfe817b82802b16fac8690dadcda76f54f5nh# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
74e20cfe817b82802b16fac8690dadcda76f54f5nh# If applicable, add the following below this CDDL HEADER, with the
74e20cfe817b82802b16fac8690dadcda76f54f5nh# fields enclosed by brackets "[]" replaced with your own identifying
74e20cfe817b82802b16fac8690dadcda76f54f5nh# information: Portions Copyright [yyyy] [name of copyright owner]
74e20cfe817b82802b16fac8690dadcda76f54f5nh# CDDL HEADER END
74e20cfe817b82802b16fac8690dadcda76f54f5nh# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
74e20cfe817b82802b16fac8690dadcda76f54f5nh# Use is subject to license terms.
74e20cfe817b82802b16fac8690dadcda76f54f5nh# This makefile drives the production of the pmcs driver kernel module.
74e20cfe817b82802b16fac8690dadcda76f54f5nh# intel architecture dependent
74e20cfe817b82802b16fac8690dadcda76f54f5nh# Paths to the base of the uts directory trees
74e20cfe817b82802b16fac8690dadcda76f54f5nh# Define the module and object file sets.
74e20cfe817b82802b16fac8690dadcda76f54f5nhBLDREVHDR = ../../common/sys/scsi/adapters/pmcs/pmcs_bldrev.h
74e20cfe817b82802b16fac8690dadcda76f54f5nhBLDREVHDR_T = ../../common/sys/scsi/adapters/pmcs/pmcs_bldrev.h.tmp
74e20cfe817b82802b16fac8690dadcda76f54f5nh# Kernel Module Dependencies
74e20cfe817b82802b16fac8690dadcda76f54f5nh# Define targets
74e20cfe817b82802b16fac8690dadcda76f54f5nh# Include common rules.
74e20cfe817b82802b16fac8690dadcda76f54f5nh# Add additional flags
74e20cfe817b82802b16fac8690dadcda76f54f5nh -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
$(BLDREVHDR_T); \
if [ -f $(BLDREVHDR) ]; then \
if [ ! -z "$$RD" ]; then \