Makefile revision 2a8164df8a5f42c8a00f10c67d7bc84f80ae9c41
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# CDDL HEADER START
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# The contents of this file are subject to the terms of the
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# Common Development and Distribution License (the "License").
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# You may not use this file except in compliance with the License.
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# or http://www.opensolaris.org/os/licensing.
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# See the License for the specific language governing permissions
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# and limitations under the License.
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# When distributing Covered Code, include this CDDL HEADER in each
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# If applicable, add the following below this CDDL HEADER, with the
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# fields enclosed by brackets "[]" replaced with your own identifying
ddf62c7d08307fd8f842d9e61eda1d14a1632f38Jonathan von Schroeder# information: Portions Copyright [yyyy] [name of copyright owner]
a166da43d4e8f9dfa7a2651d033c6bea02627ca6Mihai Codescu# CDDL HEADER END
2b38990d9bbe5101e892598002be9f7de5493c9bJonathan von Schroeder# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# Use is subject to license terms.
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# This makefile drives the production of the fcoe driver.
1290d4f771dd6dae8b1e96d0e0a0e5f86ac0b9a3Jonathan von Schroeder# Path to the base of the uts directory tree (usually /usr/src/uts).
a054459f62eab27f718decc40a2e200d425b42deJonathan von Schroeder# Define the module and object file sets.
a054459f62eab27f718decc40a2e200d425b42deJonathan von SchroederOBJECTS = $(FCOE_OBJS:%=$(OBJS_DIR)/%)
ddf62c7d08307fd8f842d9e61eda1d14a1632f38Jonathan von SchroederLINTS = $(FCOE_OBJS:%.o=$(LINTS_DIR)/%.ln)
418841b9f41b555679a0aac76c56e9995b928876Jonathan von SchroederROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
a054459f62eab27f718decc40a2e200d425b42deJonathan von SchroederCONF_SRCDIR = $(UTSBASE)/common/io/fcoe
2b38990d9bbe5101e892598002be9f7de5493c9bJonathan von Schroeder# Include common rules.
eabf492e5a1e592fc0dc87ac9b47c1055bf5a6a0Christian Maeder# Define targets
eabf492e5a1e592fc0dc87ac9b47c1055bf5a6a0Christian MaederINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
eabf492e5a1e592fc0dc87ac9b47c1055bf5a6a0Christian Maeder# Overrides and depends_on
093d90ea41a2a0d93d6b26d44341061548487108Jonathan von SchroederINC_PATH += -I$(UTSBASE)/common/io/fcoe
418841b9f41b555679a0aac76c56e9995b928876Jonathan von Schroeder# Default build targets.
418841b9f41b555679a0aac76c56e9995b928876Jonathan von Schroeder# Include common targets.