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