7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# CDDL HEADER START
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# The contents of this file are subject to the terms of the
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Common Development and Distribution License (the "License").
7bc7346c0c75ced7da727f63c2772fd53809244dcm# You may not use this file except in compliance with the License.
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7bc7346c0c75ced7da727f63c2772fd53809244dcm# or http://www.opensolaris.org/os/licensing.
7bc7346c0c75ced7da727f63c2772fd53809244dcm# See the License for the specific language governing permissions
7bc7346c0c75ced7da727f63c2772fd53809244dcm# and limitations under the License.
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# When distributing Covered Code, include this CDDL HEADER in each
7bc7346c0c75ced7da727f63c2772fd53809244dcm# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7bc7346c0c75ced7da727f63c2772fd53809244dcm# If applicable, add the following below this CDDL HEADER, with the
7bc7346c0c75ced7da727f63c2772fd53809244dcm# fields enclosed by brackets "[]" replaced with your own identifying
7bc7346c0c75ced7da727f63c2772fd53809244dcm# information: Portions Copyright [yyyy] [name of copyright owner]
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# CDDL HEADER END
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Use is subject to license terms.
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm#pragma ident "%Z%%M% %I% %E% SMI"
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_sym_hds
7bc7346c0c75ced7da727f63c2772fd53809244dcm# sparc architecture dependent
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Paths to the base of the uts directory trees
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcmUTSBASE = ../..
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Define the module and object file sets.
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcmMODULE = scsi_vhci_f_sym_hds
7bc7346c0c75ced7da727f63c2772fd53809244dcmOBJECTS = $(SCSI_VHCI_F_SYM_HDS_OBJS:%=$(OBJS_DIR)/%)
7bc7346c0c75ced7da727f63c2772fd53809244dcmLINTS = $(SCSI_VHCI_F_SYM_HDS_OBJS:%.o=$(LINTS_DIR)/%.ln)
7bc7346c0c75ced7da727f63c2772fd53809244dcmROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Include common rules.
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcminclude $(UTSBASE)/sparc/Makefile.sparc
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Define targets.
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcmALL_TARGET = $(BINARY)
7bc7346c0c75ced7da727f63c2772fd53809244dcmLINT_TARGET = $(MODULE).lint
7bc7346c0c75ced7da727f63c2772fd53809244dcmINSTALL_TARGET = $(BINARY) $(ROOTMODULE)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Note dependancy on misc/scsi.
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcmLDFLAGS += -dy -N"misc/scsi" -N"drv/scsi_vhci"
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Default build targets.
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm.KEEP_STATE:
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcmdef: $(DEF_DEPS)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcmall: $(ALL_DEPS)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcmclean: $(CLEAN_DEPS)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcmclobber: $(CLOBBER_DEPS)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcmlint: $(LINT_DEPS)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcmmodlintlib: $(MODLINTLIB_DEPS)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcmclean.lint: $(CLEAN_LINT_DEPS)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcminstall: $(INSTALL_DEPS)
7bc7346c0c75ced7da727f63c2772fd53809244dcm
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcm# Include common targets.
7bc7346c0c75ced7da727f63c2772fd53809244dcm#
7bc7346c0c75ced7da727f63c2772fd53809244dcminclude $(UTSBASE)/sparc/Makefile.targ