Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
e2ca2865a6870e9c6cbef6becbcc68cafde64537Sukumar Swaminathan# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Use is subject to license terms.
89b43686db1fe9681d80a7cf5662730cb9378caeBayard Bell# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
93c20f2609342fd05f6625f16dfcb9348e7977f2Sukumar Swaminathan# This makefile drives the production of the emlxs driver kernel module.
93c20f2609342fd05f6625f16dfcb9348e7977f2Sukumar Swaminathan# Path to the base of the uts directory tree (usually /usr/src/uts).
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Define the module and object file sets.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Include common rules.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Define targets
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCFLAGS += $(EMLXS_CFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLINTTAGS += $(EMLXS_LFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Overrides and depends_on
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca
93c20f2609342fd05f6625f16dfcb9348e7977f2Sukumar SwaminathanINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/emlxs
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/impl
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/ulp
89b43686db1fe9681d80a7cf5662730cb9378caeBayard Bell# misc/fctl required because #ifdef MODSYM_LOAD code
89b43686db1fe9681d80a7cf5662730cb9378caeBayard Bell# triggered by -DS11; uses DDI calls to load FCA symbols
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# For now, disable these lint checks; maintainers should endeavor
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# to investigate and remove these for maximum lint coverage.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Default build targets.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Include common targets.