Makefile revision 7ff836697c120cb94bd30d5c2204eb9b74718e4c
6152N/A#
1544N/A# CDDL HEADER START
6152N/A#
6152N/A# The contents of this file are subject to the terms of the
6152N/A# Common Development and Distribution License (the "License").
6152N/A# You may not use this file except in compliance with the License.
6152N/A#
1544N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
6152N/A# or http://www.opensolaris.org/os/licensing.
6152N/A# See the License for the specific language governing permissions
6152N/A# and limitations under the License.
6152N/A#
6152N/A# When distributing Covered Code, include this CDDL HEADER in each
6152N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
6152N/A# If applicable, add the following below this CDDL HEADER, with the
1544N/A# fields enclosed by brackets "[]" replaced with your own identifying
6152N/A# information: Portions Copyright [yyyy] [name of copyright owner]
6152N/A#
6152N/A# CDDL HEADER END
6152N/A#
6152N/A#
1544N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
6152N/A# Use is subject to license terms.
1544N/A#
1544N/A# This makefile drives the production of the fcoei driver for
1544N/A# LEADVILLE.
6152N/A
6152N/A#
6152N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
6152N/A#
1544N/AUTSBASE = ../..
6152N/AARCHDIR:sh = cd ..; basename `pwd`
6152N/A
6152N/A#
1544N/A# Define the module and object file sets.
6152N/A#
1544N/AMODULE = fcoei
6152N/AOBJECTS = $(FCOEI_OBJS:%=$(OBJS_DIR)/%)
6152N/ALINTS = $(FCOEI_OBJS:%.o=$(LINTS_DIR)/%.ln)
1544N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
6152N/ACONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/fcoei
6152N/A
6152N/A#
6152N/A# Include common rules.
6152N/A#
6152N/Ainclude ../Makefile.$(ARCHDIR)
6152N/A
6152N/A#
1544N/A# Define targets
6152N/A#
6152N/AALL_TARGET = $(BINARY) $(SRC_CONFILE)
6152N/ALINT_TARGET = $(MODULE).lint
6152N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
6152N/A
6152N/A#
1544N/A# Overrides and depends_on
6152N/A#
6152N/ALDFLAGS += -dy -Nmisc/fctl -Ndrv/fcoe
6152N/AINC_PATH += -I$(UTSBASE)/common/io/fibre-channel/fca/fcoei
6152N/A
1544N/A#
6152N/A# Default build targets.
6152N/A#
6152N/A.KEEP_STATE:
6152N/A
6152N/Adef: $(DEF_DEPS)
1544N/A
6152N/Aall: $(ALL_DEPS)
6152N/A
6152N/Aclean: $(CLEAN_DEPS)
6152N/A
6152N/Aclobber: $(CLOBBER_DEPS)
6152N/A
6152N/Alint: $(LINT_DEPS)
6152N/A
6152N/Amodlintlib: $(MODLINTLIB_DEPS)
1544N/A
6152N/Aclean.lint: $(CLEAN_LINT_DEPS)
6152N/A
6152N/Ainstall: $(INSTALL_DEPS)
6152N/A
6152N/A#
6152N/A# Include common targets.
6152N/A#
6152N/Ainclude ../Makefile.targ
6152N/A