Makefile revision 7014882c6a3672fd0e5d60200af8643ae53c5928
b6965b6d1a8cddc6bb8662cab6ac3e060b083f8bjwoolley#
b6965b6d1a8cddc6bb8662cab6ac3e060b083f8bjwoolley# CDDL HEADER START
6270ac7f45156afd9d798dc28f1c6e1d09e040c1rbb#
6270ac7f45156afd9d798dc28f1c6e1d09e040c1rbb# The contents of this file are subject to the terms of the
6270ac7f45156afd9d798dc28f1c6e1d09e040c1rbb# Common Development and Distribution License (the "License").
496dc24432cc5c9f95a627865879d4b83dca1055coar# You may not use this file except in compliance with the License.
496dc24432cc5c9f95a627865879d4b83dca1055coar#
496dc24432cc5c9f95a627865879d4b83dca1055coar# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
496dc24432cc5c9f95a627865879d4b83dca1055coar# or http://www.opensolaris.org/os/licensing.
5b5d90c6d3ffb9e28a62c6bc8e2cb60e4740f7f7coar# See the License for the specific language governing permissions
5b5d90c6d3ffb9e28a62c6bc8e2cb60e4740f7f7coar# and limitations under the License.
496dc24432cc5c9f95a627865879d4b83dca1055coar#
622f0f22cd52de0e9904b218defdeb3181e113f3trawick# When distributing Covered Code, include this CDDL HEADER in each
622f0f22cd52de0e9904b218defdeb3181e113f3trawick# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
622f0f22cd52de0e9904b218defdeb3181e113f3trawick# If applicable, add the following below this CDDL HEADER, with the
622f0f22cd52de0e9904b218defdeb3181e113f3trawick# fields enclosed by brackets "[]" replaced with your own identifying
622f0f22cd52de0e9904b218defdeb3181e113f3trawick# information: Portions Copyright [yyyy] [name of copyright owner]
e83476358ef015a1959284421fdc25ab18a7aa02rbb#
e83476358ef015a1959284421fdc25ab18a7aa02rbb# CDDL HEADER END
7b4c4bb891261e613de39a021d7554fd08132fc5rbb#
7b4c4bb891261e613de39a021d7554fd08132fc5rbb
7b4c4bb891261e613de39a021d7554fd08132fc5rbb#
7b4c4bb891261e613de39a021d7554fd08132fc5rbb# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
7b4c4bb891261e613de39a021d7554fd08132fc5rbb# Use is subject to license terms.
4c6731b2f737f8d7fcacd44b97d9e6bab745f1a5rbb#
4c6731b2f737f8d7fcacd44b97d9e6bab745f1a5rbb
4c6731b2f737f8d7fcacd44b97d9e6bab745f1a5rbb#
4c6731b2f737f8d7fcacd44b97d9e6bab745f1a5rbb# This makefile drives the production of SCSI vHCI Driver
0917cf91e713579b7ee0b03e499a08d7c3ec2d88rbb# intel architecture dependent
0917cf91e713579b7ee0b03e499a08d7c3ec2d88rbb#
0917cf91e713579b7ee0b03e499a08d7c3ec2d88rbb
0917cf91e713579b7ee0b03e499a08d7c3ec2d88rbb#
0917cf91e713579b7ee0b03e499a08d7c3ec2d88rbb# Paths to the base of the uts directory trees
251b60354534e12b004603ecf2a83f32756dc885rbb#
251b60354534e12b004603ecf2a83f32756dc885rbbUTSBASE = ../..
251b60354534e12b004603ecf2a83f32756dc885rbb
251b60354534e12b004603ecf2a83f32756dc885rbb#
251b60354534e12b004603ecf2a83f32756dc885rbb# Define the module and object file sets.
251b60354534e12b004603ecf2a83f32756dc885rbb#
251b60354534e12b004603ecf2a83f32756dc885rbbMODULE = scsi_vhci
251b60354534e12b004603ecf2a83f32756dc885rbbOBJECTS = $(SCSI_VHCI_OBJS:%=$(OBJS_DIR)/%)
251b60354534e12b004603ecf2a83f32756dc885rbbLINTS = $(SCSI_VHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
12348d5b520522b6581d907ef9c1ceda029fbc05rbbROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
12348d5b520522b6581d907ef9c1ceda029fbc05rbbCONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/scsi_vhci
12348d5b520522b6581d907ef9c1ceda029fbc05rbb
12348d5b520522b6581d907ef9c1ceda029fbc05rbb#
12348d5b520522b6581d907ef9c1ceda029fbc05rbb# Include common rules.
a3b2a05c4c0f6a29e75c9349b85640192f6a8bfejwoolley#
f8b7801ea5717ef22cc0d02bffacfd5f9e48f898gregamesinclude $(UTSBASE)/intel/Makefile.intel
d65b067e7797b56d6678b0ddcd0aa9258cd55e64trawick
d65b067e7797b56d6678b0ddcd0aa9258cd55e64trawickCERRWARN += -_gcc=-Wno-parentheses
f947ecf8a772cbfcce0315feb68ad88e84299ad0trawickCERRWARN += -_gcc=-Wno-uninitialized
f947ecf8a772cbfcce0315feb68ad88e84299ad0trawickCERRWARN += -_gcc=-Wno-unused-label
f947ecf8a772cbfcce0315feb68ad88e84299ad0trawick
f947ecf8a772cbfcce0315feb68ad88e84299ad0trawick#
82efd02118af953c3840478fa5e979a4194a579fwrowe# Define targets.
82efd02118af953c3840478fa5e979a4194a579fwrowe#
82efd02118af953c3840478fa5e979a4194a579fwroweALL_TARGET = $(BINARY) $(SRC_CONFILE)
82efd02118af953c3840478fa5e979a4194a579fwroweLINT_TARGET = $(MODULE).lint
82efd02118af953c3840478fa5e979a4194a579fwroweINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
82efd02118af953c3840478fa5e979a4194a579fwrowe
82efd02118af953c3840478fa5e979a4194a579fwrowe#
82efd02118af953c3840478fa5e979a4194a579fwrowe# Note dependancy on misc/scsi.
82efd02118af953c3840478fa5e979a4194a579fwrowe#
82efd02118af953c3840478fa5e979a4194a579fwroweLDFLAGS += -dy -N"misc/scsi"
82efd02118af953c3840478fa5e979a4194a579fwrowe
82efd02118af953c3840478fa5e979a4194a579fwrowe#
82efd02118af953c3840478fa5e979a4194a579fwrowe# Default build targets.
82efd02118af953c3840478fa5e979a4194a579fwrowe#
ff2fef0d709ee06646b3462cd3ef39648a54c7f7jwoolley.KEEP_STATE:
ff2fef0d709ee06646b3462cd3ef39648a54c7f7jwoolley
ff2fef0d709ee06646b3462cd3ef39648a54c7f7jwoolleydef: $(DEF_DEPS)
ff2fef0d709ee06646b3462cd3ef39648a54c7f7jwoolley
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwroweall: $(ALL_DEPS)
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwroweclean: $(CLEAN_DEPS)
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwroweclobber: $(CLOBBER_DEPS)
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowelint: $(LINT_DEPS)
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowemodlintlib: $(MODLINTLIB_DEPS)
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwroweclean.lint: $(CLEAN_LINT_DEPS)
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwroweinstall: $(INSTALL_DEPS)
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe#
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe# Include common targets.
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe#
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwroweinclude $(UTSBASE)/intel/Makefile.targ
77e04697cbdb146d93cd22ad9f1c5e74ef8f9cbcwrowe