xref: /illumos-gate/usr/src/uts/intel/scsi_vhci_f_tpgs_tape/Makefile (revision 82d0151a507442720a3aea34c8925041894ab173)
10205780bSrralphs#
20205780bSrralphs# CDDL HEADER START
30205780bSrralphs#
40205780bSrralphs# The contents of this file are subject to the terms of the
50205780bSrralphs# Common Development and Distribution License (the "License").
60205780bSrralphs# You may not use this file except in compliance with the License.
70205780bSrralphs#
80205780bSrralphs# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
90205780bSrralphs# or http://www.opensolaris.org/os/licensing.
100205780bSrralphs# See the License for the specific language governing permissions
110205780bSrralphs# and limitations under the License.
120205780bSrralphs#
130205780bSrralphs# When distributing Covered Code, include this CDDL HEADER in each
140205780bSrralphs# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
150205780bSrralphs# If applicable, add the following below this CDDL HEADER, with the
160205780bSrralphs# fields enclosed by brackets "[]" replaced with your own identifying
170205780bSrralphs# information: Portions Copyright [yyyy] [name of copyright owner]
180205780bSrralphs#
190205780bSrralphs# CDDL HEADER END
200205780bSrralphs#
210205780bSrralphs
220205780bSrralphs#
230205780bSrralphs# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
240205780bSrralphs# Use is subject to license terms.
250205780bSrralphs#
260205780bSrralphs
270205780bSrralphs#
280205780bSrralphs# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tpgs_tape
290205780bSrralphs# intel architecture dependent
300205780bSrralphs#
310205780bSrralphs
320205780bSrralphs#
330205780bSrralphs#	Paths to the base of the uts directory trees
340205780bSrralphs#
350205780bSrralphsUTSBASE   = ../..
360205780bSrralphs
370205780bSrralphs#
380205780bSrralphs# Define the module and object file sets.
390205780bSrralphs#
400205780bSrralphsMODULE		= scsi_vhci_f_tpgs_tape
410205780bSrralphsOBJECTS		= $(SCSI_VHCI_F_TPGS_TAPE_OBJS:%=$(OBJS_DIR)/%)
420205780bSrralphsROOTMODULE	= $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
430205780bSrralphs
440205780bSrralphs#
450205780bSrralphs# Include common rules.
460205780bSrralphs#
470205780bSrralphsinclude $(UTSBASE)/intel/Makefile.intel
480205780bSrralphs
490205780bSrralphs#
500205780bSrralphs# Define targets.
510205780bSrralphs#
520205780bSrralphsALL_TARGET	= $(BINARY)
530205780bSrralphsINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
540205780bSrralphs
550205780bSrralphs#
560205780bSrralphs# Note dependancy on misc/scsi.
570205780bSrralphs#
58*82d0151aSRichard LoweLDFLAGS += -Nmisc/scsi -Ndrv/scsi_vhci
590205780bSrralphs
600205780bSrralphs#
610205780bSrralphs# Default build targets.
620205780bSrralphs#
630205780bSrralphs.KEEP_STATE:
640205780bSrralphs
650205780bSrralphsdef:		$(DEF_DEPS)
660205780bSrralphs
670205780bSrralphsall:		$(ALL_DEPS)
680205780bSrralphs
690205780bSrralphsclean:		$(CLEAN_DEPS)
700205780bSrralphs
710205780bSrralphsclobber:	$(CLOBBER_DEPS)
720205780bSrralphs
730205780bSrralphsinstall:	$(INSTALL_DEPS)
740205780bSrralphs
750205780bSrralphs#
760205780bSrralphs# Include common targets.
770205780bSrralphs#
780205780bSrralphsinclude $(UTSBASE)/intel/Makefile.targ
79