1*30e7468fSPeter Dunlap# 2*30e7468fSPeter Dunlap# CDDL HEADER START 3*30e7468fSPeter Dunlap# 4*30e7468fSPeter Dunlap# The contents of this file are subject to the terms of the 5*30e7468fSPeter Dunlap# Common Development and Distribution License (the "License"). 6*30e7468fSPeter Dunlap# You may not use this file except in compliance with the License. 7*30e7468fSPeter Dunlap# 8*30e7468fSPeter Dunlap# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*30e7468fSPeter Dunlap# or http://www.opensolaris.org/os/licensing. 10*30e7468fSPeter Dunlap# See the License for the specific language governing permissions 11*30e7468fSPeter Dunlap# and limitations under the License. 12*30e7468fSPeter Dunlap# 13*30e7468fSPeter Dunlap# When distributing Covered Code, include this CDDL HEADER in each 14*30e7468fSPeter Dunlap# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*30e7468fSPeter Dunlap# If applicable, add the following below this CDDL HEADER, with the 16*30e7468fSPeter Dunlap# fields enclosed by brackets "[]" replaced with your own identifying 17*30e7468fSPeter Dunlap# information: Portions Copyright [yyyy] [name of copyright owner] 18*30e7468fSPeter Dunlap# 19*30e7468fSPeter Dunlap# CDDL HEADER END 20*30e7468fSPeter Dunlap# 21*30e7468fSPeter Dunlap# usr/src/uts/intel/iser/Makefile 22*30e7468fSPeter Dunlap# 23*30e7468fSPeter Dunlap# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 24*30e7468fSPeter Dunlap# Use is subject to license terms. 25*30e7468fSPeter Dunlap 26*30e7468fSPeter Dunlap# 27*30e7468fSPeter Dunlap# Path to the base of the uts directory tree (usually /usr/src/uts). 28*30e7468fSPeter Dunlap# 29*30e7468fSPeter DunlapUTSBASE = ../.. 30*30e7468fSPeter Dunlap 31*30e7468fSPeter Dunlap# 32*30e7468fSPeter Dunlap# Define the module and object file sets. 33*30e7468fSPeter Dunlap# 34*30e7468fSPeter DunlapMODULE = iser 35*30e7468fSPeter DunlapOBJECTS = $(ISER_OBJS:%=$(OBJS_DIR)/%) 36*30e7468fSPeter DunlapLINTS = $(ISER_OBJS:%.o=$(LINTS_DIR)/%.ln) 37*30e7468fSPeter DunlapROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 38*30e7468fSPeter DunlapLDFLAGS += -dy -Nmisc/ibtl -Nmisc/ibcm -Nmisc/idm 39*30e7468fSPeter DunlapCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/iser 40*30e7468fSPeter Dunlap 41*30e7468fSPeter Dunlap# 42*30e7468fSPeter Dunlap# Include common rules. 43*30e7468fSPeter Dunlap# 44*30e7468fSPeter Dunlapinclude $(UTSBASE)/intel/Makefile.intel 45*30e7468fSPeter Dunlap 46*30e7468fSPeter Dunlap# 47*30e7468fSPeter Dunlap# Define targets 48*30e7468fSPeter Dunlap# 49*30e7468fSPeter DunlapALL_TARGET = $(BINARY) $(SRC_CONFILE) 50*30e7468fSPeter DunlapLINT_TARGET = $(MODULE).lint 51*30e7468fSPeter DunlapINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 52*30e7468fSPeter Dunlap 53*30e7468fSPeter Dunlap# 54*30e7468fSPeter Dunlap# Default build targets. 55*30e7468fSPeter Dunlap# 56*30e7468fSPeter Dunlap.KEEP_STATE: 57*30e7468fSPeter Dunlap 58*30e7468fSPeter Dunlapdef: $(DEF_DEPS) 59*30e7468fSPeter Dunlap 60*30e7468fSPeter Dunlapall: $(ALL_DEPS) 61*30e7468fSPeter Dunlap 62*30e7468fSPeter Dunlapclean: $(CLEAN_DEPS) 63*30e7468fSPeter Dunlap 64*30e7468fSPeter Dunlapclobber: $(CLOBBER_DEPS) 65*30e7468fSPeter Dunlap 66*30e7468fSPeter Dunlaplint: $(LINT_DEPS) 67*30e7468fSPeter Dunlap 68*30e7468fSPeter Dunlapmodlintlib: $(MODLINTLIB_DEPS) 69*30e7468fSPeter Dunlap 70*30e7468fSPeter Dunlapclean.lint: $(CLEAN_LINT_DEPS) 71*30e7468fSPeter Dunlap 72*30e7468fSPeter Dunlapinstall: $(INSTALL_DEPS) 73*30e7468fSPeter Dunlap 74*30e7468fSPeter Dunlap# 75*30e7468fSPeter Dunlap# Include common targets. 76*30e7468fSPeter Dunlap# 77*30e7468fSPeter Dunlapinclude $(UTSBASE)/intel/Makefile.targ 78