Makefile revision 2fd415f4d49063706ad7fbc8b867ebe4a580b7fd
10292N/A#
10292N/A# CDDL HEADER START
10292N/A#
18540N/A# The contents of this file are subject to the terms of the
10292N/A# Common Development and Distribution License (the "License").
10292N/A# You may not use this file except in compliance with the License.
10292N/A#
10292N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10292N/A# or http://www.opensolaris.org/os/licensing.
20246N/A# See the License for the specific language governing permissions
12666N/A# and limitations under the License.
10292N/A#
10292N/A# When distributing Covered Code, include this CDDL HEADER in each
10292N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
10292N/A# If applicable, add the following below this CDDL HEADER, with the
10292N/A# fields enclosed by brackets "[]" replaced with your own identifying
10292N/A# information: Portions Copyright [yyyy] [name of copyright owner]
19013N/A#
10320N/A# CDDL HEADER END
18540N/A#
18540N/A#
18688N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
10292N/A# Use is subject to license terms.
12666N/A#
19092N/A#
10292N/A# This makefile drives the production of pmcs8001fw firmware kernel module.
10292N/A#
10292N/A# intel architecture dependent
20857N/A#
16401N/A
10309N/A#
13059N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
16307N/A#
16307N/AUTSBASE = ../../../../src/uts
16401N/A
10309N/A#
13059N/A# Define the module and object file sets.
19142N/A#
10292N/AMODULE = pmcs8001fw
10292N/AOBJECTS = $(PMCS8001FW_OBJS:%=$(OBJS_DIR)/%)
10292N/ALINTS = $(PMCS8001FW_C_OBJS:%.o=$(LINTS_DIR)/%.ln)
10292N/AROOTMODULE = $(ROOT_PMCS_FW_DIR)/$(MODULE)
10292N/ACONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/pmcs
20857N/A
10292N/A#
10292N/A# Include common rules.
10292N/A#
10292N/Ainclude $(UTSBASE)/intel/Makefile.intel
10292N/Ainclude $(CONF_SRCDIR)/pmcs8001fw.version
20857N/A
10292N/A#
16401N/A# Define targets
10292N/A#
10292N/AALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
10292N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
10292N/ALINT_TARGET = $(MODULE).lint
10292N/A
10292N/ALDFLAGS += -dy
10292N/A
10292N/A#
10292N/A# Lint tags
10292N/A#
10320N/A
10292N/A#
10292N/A# Extra flags
13011N/A#
10292N/ACPPFLAGS += -DPMCS_FIRMWARE_VERSION=${PMCS_FW_VERSION} \
13011N/A -DPMCS_FIRMWARE_VERSION_STRING=\"${PMCS_FW_VERSION_STRING}\"
10292N/A
10292N/A
10292N/A#
10292N/A# Default build targets.
13011N/A#
10292N/A.KEEP_STATE:
10292N/A
10292N/Adef: $(DEF_DEPS)
10292N/A
10292N/Aall: $(ALL_DEPS)
10320N/A
10320N/Aclean: $(CLEAN_DEPS)
10320N/A
10292N/Aclobber: $(CLOBBER_DEPS)
10292N/A
10292N/Alint: $(LINT_DEPS)
10292N/A
16307N/Amodlintlib: $(MODLINTLIB_DEPS)
16307N/A
10292N/Aclean.lint: $(CLEAN_LINT_DEPS)
10292N/A
10292N/Ainstall: $(INSTALL_DEPS)
10292N/A
10292N/A#
10292N/A# Include common targets.
10292N/A#
10292N/Ainclude $(UTSBASE)/intel/Makefile.targ
10292N/A
14364N/A