297be3708069ef31814d6d75c0d71a50a78feb03Mark Andrews# CDDL HEADER START
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# The contents of this file are subject to the terms of the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Common Development and Distribution License (the "License").
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# You may not use this file except in compliance with the License.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# See the License for the specific language governing permissions
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# and limitations under the License.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# When distributing Covered Code, include this CDDL HEADER in each
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# If applicable, add the following below this CDDL HEADER, with the
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# fields enclosed by brackets "[]" replaced with your own identifying
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# information: Portions Copyright [yyyy] [name of copyright owner]
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# CDDL HEADER END
e21a2904f02a03fa06b6db04d348f65fe9c67b2bMark Andrews# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Use is subject to license terms.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Copyright (c) 2011 Bayard G. Bell. All rights reserved.
2a31bd531072824ef252c18303859d6af7451b00Francis Dupont# This makefile drives the production of the emlxs driver kernel module.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Path to the base of the uts directory tree (usually /usr/src/uts).
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Define the module and object file sets.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsCONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Include common rules.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Define targets
ab8729140b1ad688ab03e1e9ce438fb1cbb49222Automatic UpdaterINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Overrides and depends_on
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/emlxs
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/impl
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark AndrewsINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/ulp
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# For now, disable these lint checks; maintainers should endeavor
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# to investigate and remove these for maximum lint coverage.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Default build targets.
5a4557e8de2951a2796676b5ec4b6a90caa5be14Mark Andrews# Include common targets.