11e1ddd6cScth# 21e1ddd6cScth# CDDL HEADER START 31e1ddd6cScth# 41e1ddd6cScth# The contents of this file are subject to the terms of the 51e1ddd6cScth# Common Development and Distribution License (the "License"). 61e1ddd6cScth# You may not use this file except in compliance with the License. 71e1ddd6cScth# 81e1ddd6cScth# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 91e1ddd6cScth# or http://www.opensolaris.org/os/licensing. 101e1ddd6cScth# See the License for the specific language governing permissions 111e1ddd6cScth# and limitations under the License. 121e1ddd6cScth# 131e1ddd6cScth# When distributing Covered Code, include this CDDL HEADER in each 141e1ddd6cScth# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 151e1ddd6cScth# If applicable, add the following below this CDDL HEADER, with the 161e1ddd6cScth# fields enclosed by brackets "[]" replaced with your own identifying 171e1ddd6cScth# information: Portions Copyright [yyyy] [name of copyright owner] 181e1ddd6cScth# 191e1ddd6cScth# CDDL HEADER END 201e1ddd6cScth# 211e1ddd6cScth 221e1ddd6cScth# 231e1ddd6cScth# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 241e1ddd6cScth# Use is subject to license terms. 251e1ddd6cScth# 261e1ddd6cScth 271e1ddd6cScth# 281e1ddd6cScth# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tpgs 291e1ddd6cScth# intel architecture dependent 301e1ddd6cScth# 311e1ddd6cScth 321e1ddd6cScth# 331e1ddd6cScth# Paths to the base of the uts directory trees 341e1ddd6cScth# 351e1ddd6cScthUTSBASE = ../.. 361e1ddd6cScth 371e1ddd6cScth# 381e1ddd6cScth# Define the module and object file sets. 391e1ddd6cScth# 401e1ddd6cScthMODULE = scsi_vhci_f_tpgs 411e1ddd6cScthOBJECTS = $(SCSI_VHCI_F_TPGS_OBJS:%=$(OBJS_DIR)/%) 421e1ddd6cScthROOTMODULE = $(ROOT_SCSI_VHCI_DIR)/$(MODULE) 431e1ddd6cScth 441e1ddd6cScth# 451e1ddd6cScth# Include common rules. 461e1ddd6cScth# 471e1ddd6cScthinclude $(UTSBASE)/intel/Makefile.intel 481e1ddd6cScth 491e1ddd6cScth# 501e1ddd6cScth# Define targets. 511e1ddd6cScth# 521e1ddd6cScthALL_TARGET = $(BINARY) 531e1ddd6cScthINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 541e1ddd6cScth 551e1ddd6cScth# 561e1ddd6cScth# Note dependancy on misc/scsi. 571e1ddd6cScth# 58*82d0151aSRichard LoweLDFLAGS += -Nmisc/scsi -Ndrv/scsi_vhci 591e1ddd6cScth 601e1ddd6cScth# 611e1ddd6cScth# Default build targets. 621e1ddd6cScth# 631e1ddd6cScth.KEEP_STATE: 641e1ddd6cScth 651e1ddd6cScthdef: $(DEF_DEPS) 661e1ddd6cScth 671e1ddd6cScthall: $(ALL_DEPS) 681e1ddd6cScth 691e1ddd6cScthclean: $(CLEAN_DEPS) 701e1ddd6cScth 711e1ddd6cScthclobber: $(CLOBBER_DEPS) 721e1ddd6cScth 731e1ddd6cScthinstall: $(INSTALL_DEPS) 741e1ddd6cScth 751e1ddd6cScth# 761e1ddd6cScth# Include common targets. 771e1ddd6cScth# 781e1ddd6cScthinclude $(UTSBASE)/intel/Makefile.targ 79