1*508aff1aSJames C. McPherson# 2*508aff1aSJames C. McPherson# CDDL HEADER START 3*508aff1aSJames C. McPherson# 4*508aff1aSJames C. McPherson# The contents of this file are subject to the terms of the 5*508aff1aSJames C. McPherson# Common Development and Distribution License (the "License"). 6*508aff1aSJames C. McPherson# You may not use this file except in compliance with the License. 7*508aff1aSJames C. McPherson# 8*508aff1aSJames C. McPherson# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*508aff1aSJames C. McPherson# or http://www.opensolaris.org/os/licensing. 10*508aff1aSJames C. McPherson# See the License for the specific language governing permissions 11*508aff1aSJames C. McPherson# and limitations under the License. 12*508aff1aSJames C. McPherson# 13*508aff1aSJames C. McPherson# When distributing Covered Code, include this CDDL HEADER in each 14*508aff1aSJames C. McPherson# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*508aff1aSJames C. McPherson# If applicable, add the following below this CDDL HEADER, with the 16*508aff1aSJames C. McPherson# fields enclosed by brackets "[]" replaced with your own identifying 17*508aff1aSJames C. McPherson# information: Portions Copyright [yyyy] [name of copyright owner] 18*508aff1aSJames C. McPherson# 19*508aff1aSJames C. McPherson# CDDL HEADER END 20*508aff1aSJames C. McPherson# 21*508aff1aSJames C. McPherson# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 22*508aff1aSJames C. McPherson# Use is subject to license terms. 23*508aff1aSJames C. McPherson# 24*508aff1aSJames C. McPherson 25*508aff1aSJames C. McPherson# 26*508aff1aSJames C. McPherson# Paths to the base of the uts directory trees 27*508aff1aSJames C. McPherson# 28*508aff1aSJames C. McPhersonUTSBASE = $(SRC)/uts 29*508aff1aSJames C. McPherson 30*508aff1aSJames C. McPherson# 31*508aff1aSJames C. McPherson# Define the module and object file sets. 32*508aff1aSJames C. McPherson# 33*508aff1aSJames C. McPhersonMODULE = arcmsr 34*508aff1aSJames C. McPhersonOBJECTS = $(ARCMSR_OBJS:%=$(OBJS_DIR)/%) 35*508aff1aSJames C. McPhersonLINTS = $(ARCMSR_OBJS:%.o=$(LINTS_DIR)/%.ln) 36*508aff1aSJames C. McPhersonROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 37*508aff1aSJames C. McPhersonCONF_SRCDIR = $(UTSBASE)/intel/io/scsi/adapters/arcmsr 38*508aff1aSJames C. McPherson 39*508aff1aSJames C. McPherson# 40*508aff1aSJames C. McPherson# Include common rules. 41*508aff1aSJames C. McPherson# 42*508aff1aSJames C. McPhersoninclude $(UTSBASE)/intel/Makefile.intel 43*508aff1aSJames C. McPherson 44*508aff1aSJames C. McPherson# 45*508aff1aSJames C. McPherson# Define targets. 46*508aff1aSJames C. McPherson# 47*508aff1aSJames C. McPhersonALL_TARGET = $(BINARY) $(CONFMOD) 48*508aff1aSJames C. McPhersonLINT_TARGET = $(MODULE).lint 49*508aff1aSJames C. McPhersonINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 50*508aff1aSJames C. McPherson 51*508aff1aSJames C. McPherson# 52*508aff1aSJames C. McPherson# Note dependancy on misc/scsi. 53*508aff1aSJames C. McPherson# 54*508aff1aSJames C. McPhersonLDFLAGS += -dy -N"misc/scsi" 55*508aff1aSJames C. McPherson# 56*508aff1aSJames C. McPherson# Default build targets. 57*508aff1aSJames C. McPherson# 58*508aff1aSJames C. McPherson.KEEP_STATE: 59*508aff1aSJames C. McPherson 60*508aff1aSJames C. McPhersondef: $(DEF_DEPS) 61*508aff1aSJames C. McPherson 62*508aff1aSJames C. McPhersonall: $(ALL_DEPS) 63*508aff1aSJames C. McPherson 64*508aff1aSJames C. McPhersonclean: $(CLEAN_DEPS) 65*508aff1aSJames C. McPherson 66*508aff1aSJames C. McPhersonclobber: $(CLOBBER_DEPS) 67*508aff1aSJames C. McPherson 68*508aff1aSJames C. McPhersonlint: $(LINT_DEPS) 69*508aff1aSJames C. McPherson 70*508aff1aSJames C. McPhersonmodlintlib: $(MODLINTLIB_DEPS) 71*508aff1aSJames C. McPherson 72*508aff1aSJames C. McPhersonclean.lint: $(CLEAN_LINT_DEPS) 73*508aff1aSJames C. McPherson 74*508aff1aSJames C. McPhersoninstall: $(INSTALL_DEPS) 75*508aff1aSJames C. McPherson 76*508aff1aSJames C. McPherson# 77*508aff1aSJames C. McPherson# Include common targets. 78*508aff1aSJames C. McPherson# 79*508aff1aSJames C. McPhersoninclude $(UTSBASE)/intel/Makefile.targ 80