Makefile revision 291a2b48b9adcd7b3666c34e80ba6411929afe7f
7202N/A#
7202N/A# CDDL HEADER START
7202N/A#
7202N/A# The contents of this file are subject to the terms of the
7202N/A# Common Development and Distribution License (the "License").
7202N/A# You may not use this file except in compliance with the License.
7202N/A#
7202N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7202N/A# or http://www.opensolaris.org/os/licensing.
7202N/A# See the License for the specific language governing permissions
7202N/A# and limitations under the License.
7202N/A#
7202N/A# When distributing Covered Code, include this CDDL HEADER in each
7202N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7202N/A# If applicable, add the following below this CDDL HEADER, with the
7202N/A# fields enclosed by brackets "[]" replaced with your own identifying
7202N/A# information: Portions Copyright [yyyy] [name of copyright owner]
7202N/A#
7202N/A# CDDL HEADER END
7202N/A#
7202N/A#
7202N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
7202N/A# Use is subject to license terms.
7202N/A#
7202N/A# This makefile drives the production of emlxs_fw firmware module.
7202N/A#
7202N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
7202N/A#
7202N/AUTSBASE = ../..
7202N/A
7202N/A#
7202N/A# Define the module and object file sets.
7202N/A#
7202N/AMODULE = emlxs_fw
7202N/AOBJECTS = $(EMLXS_FW_OBJS:%=$(OBJS_DIR)/%)
7202N/ALINTS = $(EMLXS_FW_OBJS:%.o=$(LINTS_DIR)/%.ln)
7202N/AROOTMODULE = $(ROOT_EMLXS_FW_DIR)/$(MODULE)
7202N/ACONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/fca/emlxs
7202N/A
7202N/A
7202N/A#
7202N/A# Include common rules.
7202N/A#
7202N/Ainclude $(UTSBASE)/Makefile.uts
7202N/Ainclude $(UTSBASE)/intel/Makefile.intel
7202N/A
7202N/A#
7202N/A# Define targets
7202N/A#
7202N/AALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
7202N/ALINT_TARGET = $(MODULE).lint
7202N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
7202N/A
7202N/AEMLXS_FLAGS = -DEMLXS_I386
7202N/AEMLXS_FLAGS += -DS11
7202N/AEMLXS_FLAGS += -DVERSION=\"11\"
7202N/AEMLXS_FLAGS += -DMACH=\"$(MACH)\"
7202N/AEMLXS_CFLAGS = $(EMLXS_FLAGS)
7202N/AEMLXS_LFLAGS = $(EMLXS_FLAGS)
7202N/ACFLAGS += $(EMLXS_CFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
7202N/ALINTTAGS += $(EMLXS_LFLAGS) -DEMLXS_ARCH=\"$(CLASS)\"
7202N/A
7202N/AINC_PATH += -I$(UTSBASE)/common/sys/fibre-channel/fca/emlxs
7202N/A
7202N/ALDFLAGS += -dy -Nmisc/fctl
7202N/A
7202N/A#
7202N/A# Lint tags
7202N/A#
7202N/ALINTTAGS += -erroff=E_NAME_MULTIPLY_DEF2
7202N/A
7202N/A#
7202N/A# Default build targets.
7202N/A#
7202N/A.KEEP_STATE:
7202N/A
7202N/Adef: $(DEF_DEPS)
7202N/A
7202N/Aall: $(ALL_DEPS)
7202N/A
7202N/Aclean: $(CLEAN_DEPS)
clobber: $(CLOBBER_DEPS)
lint: $(LINT_DEPS)
modlintlib: $(MODLINTLIB_DEPS)
clean.lint: $(CLEAN_LINT_DEPS)
install: $(INSTALL_DEPS)
#
# Include common targets.
#
include $(UTSBASE)/intel/Makefile.targ