291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# CDDL HEADER START
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# The contents of this file are subject to the terms of the
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# Common Development and Distribution License (the "License").
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# You may not use this file except in compliance with the License.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# or http://www.opensolaris.org/os/licensing.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# See the License for the specific language governing permissions
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# and limitations under the License.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# When distributing Covered Code, include this CDDL HEADER in each
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# If applicable, add the following below this CDDL HEADER, with the
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# fields enclosed by brackets "[]" replaced with your own identifying
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# information: Portions Copyright [yyyy] [name of copyright owner]
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# CDDL HEADER END
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# Use is subject to license terms.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# This makefile drives the production of emlxs_fw firmware module.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# Path to the base of the uts directory tree (usually /usr/src/uts).
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# Define the module and object file sets.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar SwaminathanOBJECTS = $(EMLXS_FW_OBJS:%=$(OBJS_DIR)/%)
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar SwaminathanLINTS = $(EMLXS_FW_OBJS:%.o=$(LINTS_DIR)/%.ln)
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar SwaminathanROOTMODULE = $(ROOT_EMLXS_FW_DIR)/$(MODULE)
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar SwaminathanCONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# Include common rules.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# Define targets
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar SwaminathanALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar SwaminathanCFLAGS += $(EMLXS_CFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar SwaminathanLINTTAGS += $(EMLXS_LFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar SwaminathanINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/emlxs
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# Default build targets.
291a2b48b9adcd7b3666c34e80ba6411929afe7fSukumar Swaminathan# Include common targets.