Makefile revision fcf3ce441efd61da9bb2884968af01cb7c1452cc
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER START
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The contents of this file are subject to the terms of the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Common Development and Distribution License (the "License").
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You may not use this file except in compliance with the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# or http://www.opensolaris.org/os/licensing.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# See the License for the specific language governing permissions
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# and limitations under the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# When distributing Covered Code, include this CDDL HEADER in each
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# If applicable, add the following below this CDDL HEADER, with the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER END
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# uts/intel/fp/Makefile
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync#
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync# Use is subject to license terms.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
67927207a2d6bb545eb655ef14cdb090b1957120vboxsync# ident "@(#)Makefile 1.10 08/07/25 SMI"
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
36926e8fa74659773c0df2246739b6ec086e589cvboxsync# This makefile drives the production of fp driver kernel module.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# i86pc architecture dependent
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Path to the base of the uts directory tree (usually /usr/src/uts).
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncUTSBASE = ../..
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Define the module and object file sets.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncMODULE = fp
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncOBJECTS = $(FP_OBJS:%=$(OBJS_DIR)/%)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncLINTS = $(FP_OBJS:%.o=$(LINTS_DIR)/%.ln)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncCONF_SRCDIR = $(UTSBASE)/intel/io/fibre-channel/impl/
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Include common rules.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(UTSBASE)/Makefile.uts
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(UTSBASE)/intel/Makefile.intel
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Define targets
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#ALL_TARGET = $(BINARY) $(CONFMOD) $(ITUMOD)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncALL_TARGET = $(BINARY)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncLINT_TARGET = $(MODULE).lint
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
b74115b43b3ca1a877a6a7228bd59e6d0073acc7vboxsync#
b74115b43b3ca1a877a6a7228bd59e6d0073acc7vboxsync# header file directories
b74115b43b3ca1a877a6a7228bd59e6d0073acc7vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncINCS += -I$(SRC)/uts/common/
b74115b43b3ca1a877a6a7228bd59e6d0073acc7vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Overrides
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
b74115b43b3ca1a877a6a7228bd59e6d0073acc7vboxsyncLDFLAGS += -dy -Ndrv/fcp -Nmisc/fctl -Nmisc/scsi
b74115b43b3ca1a877a6a7228bd59e6d0073acc7vboxsync
b74115b43b3ca1a877a6a7228bd59e6d0073acc7vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Lint tags
b74115b43b3ca1a877a6a7228bd59e6d0073acc7vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncLINTTAGS += -erroff=E_ASSIGN_NARROW_CONV
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncLINTTAGS += -erroff=E_BAD_PTR_CAST_ALIGN
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncLINTTAGS += -erroff=E_SUSPICIOUS_COMPARISON
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncLINTTAGS += -erroff=E_STATIC_UNUSED
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Default build targets.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync.KEEP_STATE:
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncdef: $(DEF_DEPS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncall: $(ALL_DEPS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncclean: $(CLEAN_DEPS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
51369bae375fafeb2e706824222c077e57d2786evboxsyncclobber: $(CLOBBER_DEPS)
51369bae375fafeb2e706824222c077e57d2786evboxsync
51369bae375fafeb2e706824222c077e57d2786evboxsynclint: $(LINT_DEPS)
51369bae375fafeb2e706824222c077e57d2786evboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncmodlintlib: $(MODLINTLIB_DEPS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncclean.lint: $(CLEAN_LINT_DEPS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
72b97769a3c9b22b4fb60fc0f30a1a82f5bbb6f5vboxsyncinstall: $(INSTALL_DEPS)
72b97769a3c9b22b4fb60fc0f30a1a82f5bbb6f5vboxsync
72b97769a3c9b22b4fb60fc0f30a1a82f5bbb6f5vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Include common targets.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude $(UTSBASE)/intel/Makefile.targ
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync