Makefile revision 1e1ddd6cc98ab5af8293f7ebd132be62900730fd
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER START
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# The contents of this file are subject to the terms of the
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# Common Development and Distribution License (the "License").
ea8dc4b6d2251b437950c0056bc626b311c73c27eschrock# You may not use this file except in compliance with the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fa9e4066f08beec538e775443c5be79dd423fcabahrens# or http://www.opensolaris.org/os/licensing.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# See the License for the specific language governing permissions
fa9e4066f08beec538e775443c5be79dd423fcabahrens# and limitations under the License.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# When distributing Covered Code, include this CDDL HEADER in each
fa9e4066f08beec538e775443c5be79dd423fcabahrens# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fa9e4066f08beec538e775443c5be79dd423fcabahrens# If applicable, add the following below this CDDL HEADER, with the
fa9e4066f08beec538e775443c5be79dd423fcabahrens# fields enclosed by brackets "[]" replaced with your own identifying
fa9e4066f08beec538e775443c5be79dd423fcabahrens# information: Portions Copyright [yyyy] [name of copyright owner]
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# CDDL HEADER END
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
3f9d6ad73e45c6823b409f93b0c8d4f62861d2d5Lin Ling#
7802d7bf98dec568dadf72286893b1fe5abd8602Matthew Ahrens# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
e9103aaee0c546d4644791198c54abb03c89969eGarrett D'Amore# Use is subject to license terms.
bc9014e6a81272073b9854d9f65dd59e18d18c35Justin Gibbs#
45818ee124adeaaf947698996b4f4c722afc6d1fMatthew Ahrens
c3d26abc9ee97b4f60233556aadeb57e0bd30bb9Matthew Ahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens#pragma ident "%Z%%M% %I% %E% SMI"
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# This makefile drives the production of SCSI vHCI Driver
fa9e4066f08beec538e775443c5be79dd423fcabahrens# sparc architecture dependent
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Paths to the base of the uts directory trees
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensUTSBASE = ../..
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Define the module and object file sets.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensMODULE = scsi_vhci
fa9e4066f08beec538e775443c5be79dd423fcabahrensOBJECTS = $(SCSI_VHCI_OBJS:%=$(OBJS_DIR)/%)
fa9e4066f08beec538e775443c5be79dd423fcabahrensLINTS = $(SCSI_VHCI_OBJS:%.o=$(LINTS_DIR)/%.ln)
fa9e4066f08beec538e775443c5be79dd423fcabahrensROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE)
fa9e4066f08beec538e775443c5be79dd423fcabahrensCONF_SRCDIR = $(UTSBASE)/common/io/scsi/adapters/scsi_vhci
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Include common rules.
b24ab6762772a3f6a89393947930c7fa61306783Jeff Bonwick#
b24ab6762772a3f6a89393947930c7fa61306783Jeff Bonwickinclude $(UTSBASE)/sparc/Makefile.sparc
b24ab6762772a3f6a89393947930c7fa61306783Jeff Bonwick
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa94a07fd0519b8abfd871ad8fe60e6bebe1e2bbbrendan# Define targets.
b24ab6762772a3f6a89393947930c7fa61306783Jeff Bonwick#
b24ab6762772a3f6a89393947930c7fa61306783Jeff BonwickALL_TARGET = $(BINARY) $(SRC_CONFILE)
fa9e4066f08beec538e775443c5be79dd423fcabahrensLINT_TARGET = $(MODULE).lint
4445fffbbb1ea25fd0e9ea68b9380dd7a6709025Matthew AhrensINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Note dependancy on misc/scsi.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrensLDFLAGS += -dy -N"misc/scsi"
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Default build targets.
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens.KEEP_STATE:
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensdef: $(DEF_DEPS)
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossman
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossmanall: $(ALL_DEPS)
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossman
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossmanclean: $(CLEAN_DEPS)
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossman
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossmanclobber: $(CLOBBER_DEPS)
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossman
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossmanlint: $(LINT_DEPS)
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossman
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossmanmodlintlib: $(MODLINTLIB_DEPS)
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossman
fa9e4066f08beec538e775443c5be79dd423fcabahrensclean.lint: $(CLEAN_LINT_DEPS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrensinstall: $(INSTALL_DEPS)
fa9e4066f08beec538e775443c5be79dd423fcabahrens
fa9e4066f08beec538e775443c5be79dd423fcabahrens#
fa9e4066f08beec538e775443c5be79dd423fcabahrens# Include common targets.
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossman#
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossmaninclude $(UTSBASE)/sparc/Makefile.targ
43466aae47bfcd2ad9bf501faec8e75c08095e4fMax Grossman