130e7468fSPeter Dunlap# 230e7468fSPeter Dunlap# CDDL HEADER START 330e7468fSPeter Dunlap# 430e7468fSPeter Dunlap# The contents of this file are subject to the terms of the 530e7468fSPeter Dunlap# Common Development and Distribution License (the "License"). 630e7468fSPeter Dunlap# You may not use this file except in compliance with the License. 730e7468fSPeter Dunlap# 830e7468fSPeter Dunlap# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 930e7468fSPeter Dunlap# or http://www.opensolaris.org/os/licensing. 1030e7468fSPeter Dunlap# See the License for the specific language governing permissions 1130e7468fSPeter Dunlap# and limitations under the License. 1230e7468fSPeter Dunlap# 1330e7468fSPeter Dunlap# When distributing Covered Code, include this CDDL HEADER in each 1430e7468fSPeter Dunlap# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1530e7468fSPeter Dunlap# If applicable, add the following below this CDDL HEADER, with the 1630e7468fSPeter Dunlap# fields enclosed by brackets "[]" replaced with your own identifying 1730e7468fSPeter Dunlap# information: Portions Copyright [yyyy] [name of copyright owner] 1830e7468fSPeter Dunlap# 1930e7468fSPeter Dunlap# CDDL HEADER END 2030e7468fSPeter Dunlap# 2130e7468fSPeter Dunlap# usr/src/uts/intel/iser/Makefile 2230e7468fSPeter Dunlap# 2330e7468fSPeter Dunlap# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 2430e7468fSPeter Dunlap# Use is subject to license terms. 25b6b206fcSJohn Levon# 26b6b206fcSJohn Levon# Copyright (c) 2018, Joyent, Inc. 2730e7468fSPeter Dunlap 2830e7468fSPeter Dunlap# 2930e7468fSPeter Dunlap# Path to the base of the uts directory tree (usually /usr/src/uts). 3030e7468fSPeter Dunlap# 3130e7468fSPeter DunlapUTSBASE = ../.. 3230e7468fSPeter Dunlap 3330e7468fSPeter Dunlap# 3430e7468fSPeter Dunlap# Define the module and object file sets. 3530e7468fSPeter Dunlap# 3630e7468fSPeter DunlapMODULE = iser 3730e7468fSPeter DunlapOBJECTS = $(ISER_OBJS:%=$(OBJS_DIR)/%) 3830e7468fSPeter DunlapROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 39*82d0151aSRichard LoweLDFLAGS += -Nmisc/ibtl -Nmisc/ibcm -Nmisc/idm 4030e7468fSPeter DunlapCONF_SRCDIR = $(UTSBASE)/common/io/ib/clients/iser 4130e7468fSPeter Dunlap 4230e7468fSPeter Dunlap# 4330e7468fSPeter Dunlap# Include common rules. 4430e7468fSPeter Dunlap# 4530e7468fSPeter Dunlapinclude $(UTSBASE)/intel/Makefile.intel 4630e7468fSPeter Dunlap 47d3b5f563SJohn LevonCERRWARN += $(CNOWARN_UNINIT) 487014882cSRichard Lowe 49b6b206fcSJohn Levon# needs work 50b6b206fcSJohn Levon$(OBJS_DIR)/iser_ib.o := SMOFF += deref_check 51b6b206fcSJohn Levon 5230e7468fSPeter Dunlap# 5330e7468fSPeter Dunlap# Define targets 5430e7468fSPeter Dunlap# 5530e7468fSPeter DunlapALL_TARGET = $(BINARY) $(SRC_CONFILE) 5630e7468fSPeter DunlapINSTALL_TARGET = $(BINARY) $(ROOTMODULE) $(ROOT_CONFFILE) 5730e7468fSPeter Dunlap 5830e7468fSPeter Dunlap# 5930e7468fSPeter Dunlap# Default build targets. 6030e7468fSPeter Dunlap# 6130e7468fSPeter Dunlap.KEEP_STATE: 6230e7468fSPeter Dunlap 6330e7468fSPeter Dunlapdef: $(DEF_DEPS) 6430e7468fSPeter Dunlap 6530e7468fSPeter Dunlapall: $(ALL_DEPS) 6630e7468fSPeter Dunlap 6730e7468fSPeter Dunlapclean: $(CLEAN_DEPS) 6830e7468fSPeter Dunlap 6930e7468fSPeter Dunlapclobber: $(CLOBBER_DEPS) 7030e7468fSPeter Dunlap 7130e7468fSPeter Dunlapinstall: $(INSTALL_DEPS) 7230e7468fSPeter Dunlap 7330e7468fSPeter Dunlap# 7430e7468fSPeter Dunlap# Include common targets. 7530e7468fSPeter Dunlap# 7630e7468fSPeter Dunlapinclude $(UTSBASE)/intel/Makefile.targ 77