Makefile revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
176N/A#
176N/A# CDDL HEADER START
176N/A#
176N/A# The contents of this file are subject to the terms of the
176N/A# Common Development and Distribution License (the "License").
176N/A# You may not use this file except in compliance with the License.
176N/A#
176N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
176N/A# or http://www.opensolaris.org/os/licensing.
176N/A# See the License for the specific language governing permissions
176N/A# and limitations under the License.
176N/A#
176N/A# When distributing Covered Code, include this CDDL HEADER in each
176N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
176N/A# If applicable, add the following below this CDDL HEADER, with the
176N/A# fields enclosed by brackets "[]" replaced with your own identifying
176N/A# information: Portions Copyright [yyyy] [name of copyright owner]
176N/A#
176N/A# CDDL HEADER END
176N/A#
3661N/A# uts/intel/fcip/Makefile
176N/A#
176N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
176N/A# Use is subject to license terms.
176N/A#
2239N/A# This makefile drives the production of fcip driver kernel module.
618N/A#
176N/A# i86pc architecture dependent
2239N/A#
844N/A
2239N/A#
176N/A# Path to the base of the uts directory tree (usually /usr/src/uts).
1273N/A#
176N/AUTSBASE = ../..
3661N/A
3661N/A#
176N/A# Define the module and object file sets.
176N/A#
176N/AMODULE = fcip
176N/AOBJECTS = $(FCIP_OBJS:%=$(OBJS_DIR)/%)
176N/ALINTS = $(FCIP_OBJS:%.o=$(LINTS_DIR)/%.ln)
176N/AROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
176N/ACONF_SRCDIR = $(UTSBASE)/common/io/fibre-channel/ulp/
176N/A
176N/A#
176N/A# Include common rules.
176N/A#
176N/Ainclude $(UTSBASE)/Makefile.uts
176N/Ainclude $(UTSBASE)/intel/Makefile.intel
176N/A
176N/A#
176N/A# Define targets
176N/A#
176N/AALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
176N/ALINT_TARGET = $(MODULE).lint
176N/AINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
176N/A
176N/A#
176N/A# header file directories
176N/A#
176N/AINC_PATH += -I$(SRC)/uts/common
176N/A
176N/ALDFLAGS += -dy -Nmisc/fctl -Ndrv/ip
176N/A
176N/A#
176N/A# Lint tags
703N/A#
703N/ALINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
703N/ALINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
703N/ALINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
176N/ALINTTAGS += -erroff=E_INCONS_ARG_USED2
519N/ALINTTAGS += -erroff=E_INCONS_VAL_TYPE_USED2
2239N/A
176N/A#
176N/A# Default build targets.
176N/A#
176N/A.KEEP_STATE:
176N/A
176N/Adef: $(DEF_DEPS)
2239N/A
176N/Aall: $(ALL_DEPS)
176N/A
176N/Aclean: $(CLEAN_DEPS)
176N/A
176N/Aclobber: $(CLOBBER_DEPS)
176N/A
176N/Alint: $(LINT_DEPS)
176N/A
176N/Awarlock:
176N/A @echo warlock is not supported
176N/A
176N/Amodlintlib: $(MODLINTLIB_DEPS)
176N/A
176N/Aclean.lint: $(CLEAN_LINT_DEPS)
176N/A
176N/Ainstall: $(INSTALL_DEPS)
176N/A
176N/A#
176N/A# Include common targets.
2239N/A#
2239N/Ainclude $(UTSBASE)/intel/Makefile.targ
414N/A