Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# CDDL HEADER START
e071fb22ea9923a2a4ff41184d80ca46b55ee932Till Mossakowski# The contents of this file are subject to the terms of the
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# Common Development and Distribution License (the "License").
97018cf5fa25b494adffd7e9b4e87320dae6bf47Christian Maeder# You may not use this file except in compliance with the License.
2eeec5240b424984e3ee26296da1eeab6c6d739eChristian Maeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# or http://www.opensolaris.org/os/licensing.
2bbf88585fe313af8585da0288880310cc1b027dChristian Maeder# See the License for the specific language governing permissions
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# and limitations under the License.
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# When distributing Covered Code, include this CDDL HEADER in each
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2bbf88585fe313af8585da0288880310cc1b027dChristian Maeder# If applicable, add the following below this CDDL HEADER, with the
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# fields enclosed by brackets "[]" replaced with your own identifying
2bbf88585fe313af8585da0288880310cc1b027dChristian Maeder# information: Portions Copyright [yyyy] [name of copyright owner]
2bbf88585fe313af8585da0288880310cc1b027dChristian Maeder# CDDL HEADER END
2bbf88585fe313af8585da0288880310cc1b027dChristian Maeder# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
f6c8dbf0ccb4e76a7d7cafcb23a75259aaca57f2Jian Chun Wang# Use is subject to license terms.
5e605dc61ff9ec5724c319603905dc9b0dccc05fChristian Maeder# This makefile drives the production of the pmcs driver kernel module.
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# SPARC architecture dependent
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# Paths to the base of the uts directory trees
881f43de18aeae879886be203cd32e90051799c0Till Mossakowski# Define the module and object file sets.
2bbf88585fe313af8585da0288880310cc1b027dChristian MaederCONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs
86b1d0c80abdd4ca36491cf7025b718a5fea5080Christian Maeder# Kernel Module Dependencies
e953bea49e7f0e1a43bccf2a66c5e2a2b50848e0Christian Maeder# Define targets
fbf1cdad9a9775bd7332e85f01b6a307d7dbb1cfChristian MaederINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
2bbf88585fe313af8585da0288880310cc1b027dChristian Maeder# Include common rules.
e85b224577b78d08ba5c39fe9dcc2e53995454a2Christian Maeder# Add additional flags
e85b224577b78d08ba5c39fe9dcc2e53995454a2Christian MaederPMCS_DRV_FLGS = -DMODNAME=\"${MODULE}\" -DDISABLE_MSIX
eca4db63ed0bdbd93b62678feea6e3eb80aa47bbChristian Maeder -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
2bbf88585fe313af8585da0288880310cc1b027dChristian Maeder -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
2bbf88585fe313af8585da0288880310cc1b027dChristian Maeder# Default build targets.