Makefile revision 6941:c5d83acec1bc
1240116Smarcel#
2240116Smarcel# CDDL HEADER START
3240116Smarcel#
4240116Smarcel# The contents of this file are subject to the terms of the
5240116Smarcel# Common Development and Distribution License (the "License").
6240116Smarcel# You may not use this file except in compliance with the License.
7240116Smarcel#
8240116Smarcel# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9240116Smarcel# or http://www.opensolaris.org/os/licensing.
10240116Smarcel# See the License for the specific language governing permissions
11240116Smarcel# and limitations under the License.
12240116Smarcel#
13240116Smarcel# When distributing Covered Code, include this CDDL HEADER in each
14240116Smarcel# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15240116Smarcel# If applicable, add the following below this CDDL HEADER, with the
16240116Smarcel# fields enclosed by brackets "[]" replaced with your own identifying
17240116Smarcel# information: Portions Copyright [yyyy] [name of copyright owner]
18240116Smarcel#
19240116Smarcel# CDDL HEADER END
20240116Smarcel#
21240116Smarcel
22240116Smarcel#
23240116Smarcel# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24240116Smarcel# Use is subject to license terms.
25240116Smarcel#
26275988Sngie
27275988Sngie#
28240116Smarcel#pragma ident	"%Z%%M%	%I%	%E% SMI"
29240116Smarcel#
30240116Smarcel# This makefile drives the production of misc/scsi_vhci/scsi_vhci_f_tpgs_tape
31240116Smarcel# intel architecture dependent
32240116Smarcel#
33240116Smarcel
34240116Smarcel#
35240116Smarcel#	Paths to the base of the uts directory trees
36240116Smarcel#
37240116SmarcelUTSBASE   = ../..
38240116Smarcel
39240116Smarcel#
40240116Smarcel# Define the module and object file sets.
41240116Smarcel#
42240116SmarcelMODULE		= scsi_vhci_f_tpgs_tape
43240116SmarcelOBJECTS		= $(SCSI_VHCI_F_TPGS_TAPE_OBJS:%=$(OBJS_DIR)/%)
44240116SmarcelLINTS		= $(SCSI_VHCI_F_TPGS_TAPE_OBJS:%.o=$(LINTS_DIR)/%.ln)
45240116SmarcelROOTMODULE	= $(ROOT_SCSI_VHCI_DIR)/$(MODULE)
46240116Smarcel
47240116Smarcel#
48240116Smarcel# Include common rules.
49240116Smarcel#
50240116Smarcelinclude $(UTSBASE)/intel/Makefile.intel
51240116Smarcel
52240116Smarcel#
53240116Smarcel# Define targets.
54240116Smarcel#
55240116SmarcelALL_TARGET	= $(BINARY)
56240116SmarcelLINT_TARGET	= $(MODULE).lint
57240116SmarcelINSTALL_TARGET	= $(BINARY) $(ROOTMODULE)
58240116Smarcel
59240116Smarcel#
60240116Smarcel# Note dependancy on misc/scsi.
61240116Smarcel#
62240116SmarcelLDFLAGS += -dy -N"misc/scsi" -N"drv/scsi_vhci"
63240116Smarcel
64240116Smarcel#
65240116Smarcel# Default build targets.
66240116Smarcel#
67240116Smarcel.KEEP_STATE:
68240116Smarcel
69240116Smarceldef:		$(DEF_DEPS)
70240116Smarcel
71240116Smarcelall:		$(ALL_DEPS)
72240116Smarcel
73240116Smarcelclean:		$(CLEAN_DEPS)
74240116Smarcel
75240116Smarcelclobber:	$(CLOBBER_DEPS)
76240116Smarcel
77240116Smarcellint:		$(LINT_DEPS)
78240116Smarcel
79240116Smarcelmodlintlib:	$(MODLINTLIB_DEPS)
80240116Smarcel
81240116Smarcelclean.lint:	$(CLEAN_LINT_DEPS)
82240116Smarcel
83240116Smarcelinstall:	$(INSTALL_DEPS)
84240116Smarcel
85240116Smarcel#
86240116Smarcel# Include common targets.
87240116Smarcel#
88240116Smarcelinclude $(UTSBASE)/intel/Makefile.targ
89240116Smarcel