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