2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# CDDL HEADER START
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# The contents of this file are subject to the terms of the
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# Common Development and Distribution License (the "License").
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# You may not use this file except in compliance with the License.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# or http://www.opensolaris.org/os/licensing.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# See the License for the specific language governing permissions
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# and limitations under the License.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# When distributing Covered Code, include this CDDL HEADER in each
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# If applicable, add the following below this CDDL HEADER, with the
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# fields enclosed by brackets "[]" replaced with your own identifying
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# information: Portions Copyright [yyyy] [name of copyright owner]
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# CDDL HEADER END
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# Use is subject to license terms.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# This makefile drives the production of pmcs8001fw firmware kernel module.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# intel architecture dependent
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# Path to the base of the uts directory tree (usually /usr/src/uts).
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# Define the module and object file sets.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid HollisterLINTS = $(PMCS8001FW_C_OBJS:%.o=$(LINTS_DIR)/%.ln)
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid HollisterCONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# Include common rules.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# Define targets
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid HollisterCPPFLAGS += -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# Default build targets.
2fd415f4d49063706ad7fbc8b867ebe4a580b7fdDavid Hollister# Include common targets.