12a8164dfSZhong Wang# 22a8164dfSZhong Wang# CDDL HEADER START 32a8164dfSZhong Wang# 42a8164dfSZhong Wang# The contents of this file are subject to the terms of the 52a8164dfSZhong Wang# Common Development and Distribution License (the "License"). 62a8164dfSZhong Wang# You may not use this file except in compliance with the License. 72a8164dfSZhong Wang# 82a8164dfSZhong Wang# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 92a8164dfSZhong Wang# or http://www.opensolaris.org/os/licensing. 102a8164dfSZhong Wang# See the License for the specific language governing permissions 112a8164dfSZhong Wang# and limitations under the License. 122a8164dfSZhong Wang# 132a8164dfSZhong Wang# When distributing Covered Code, include this CDDL HEADER in each 142a8164dfSZhong Wang# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 152a8164dfSZhong Wang# If applicable, add the following below this CDDL HEADER, with the 162a8164dfSZhong Wang# fields enclosed by brackets "[]" replaced with your own identifying 172a8164dfSZhong Wang# information: Portions Copyright [yyyy] [name of copyright owner] 182a8164dfSZhong Wang# 192a8164dfSZhong Wang# CDDL HEADER END 202a8164dfSZhong Wang# 212a8164dfSZhong Wang# uts/intel/fcoet/Makefile 222a8164dfSZhong Wang# 234558d122SViswanathan Kannappan# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved. 242a8164dfSZhong Wang# 25b6b206fcSJohn Levon# Copyright (c) 2018, Joyent, Inc. 262a8164dfSZhong Wang 272a8164dfSZhong Wang# 282a8164dfSZhong Wang# Path to the base of the uts directory tree (usually /usr/src/uts). 292a8164dfSZhong Wang# 302a8164dfSZhong WangUTSBASE = ../.. 312a8164dfSZhong WangARCHDIR:sh = cd ..; basename `pwd` 322a8164dfSZhong Wang 332a8164dfSZhong Wang# 342a8164dfSZhong Wang# Define the module and object file sets. 352a8164dfSZhong Wang# 362a8164dfSZhong WangMODULE = fcoet 372a8164dfSZhong WangOBJECTS = $(FCOET_OBJS:%=$(OBJS_DIR)/%) 382a8164dfSZhong WangROOTMODULE = $(ROOT_DRV_DIR)/$(MODULE) 392a8164dfSZhong Wang 40b6b206fcSJohn Levon# needs work 41b6b206fcSJohn LevonSMOFF += all_func_returns,shift_to_zero 42b6b206fcSJohn Levon 432a8164dfSZhong Wang# 442a8164dfSZhong Wang# Include common rules. 452a8164dfSZhong Wang# 462a8164dfSZhong Wanginclude ../Makefile.$(ARCHDIR) 472a8164dfSZhong Wang 482a8164dfSZhong Wang# 492a8164dfSZhong Wang# Define targets 502a8164dfSZhong Wang# 512a8164dfSZhong WangALL_TARGET = $(BINARY) 522a8164dfSZhong WangINSTALL_TARGET = $(BINARY) $(ROOTMODULE) 532a8164dfSZhong Wang 542a8164dfSZhong Wang# 552a8164dfSZhong Wang# Overrides and depends_on 562a8164dfSZhong Wang# 57*82d0151aSRichard LoweLDFLAGS += -Ndrv/stmf -Ndrv/fct -Ndrv/fcoe 582a8164dfSZhong Wang 592a8164dfSZhong Wang# 602a8164dfSZhong Wang# Default build targets. 612a8164dfSZhong Wang# 622a8164dfSZhong Wang.KEEP_STATE: 632a8164dfSZhong Wang 642a8164dfSZhong Wangdef: $(DEF_DEPS) 652a8164dfSZhong Wang 662a8164dfSZhong Wangall: $(ALL_DEPS) 672a8164dfSZhong Wang 682a8164dfSZhong Wangclean: $(CLEAN_DEPS) 692a8164dfSZhong Wang 702a8164dfSZhong Wangclobber: $(CLOBBER_DEPS) 712a8164dfSZhong Wang 722a8164dfSZhong Wanginstall: $(INSTALL_DEPS) 732a8164dfSZhong Wang 742a8164dfSZhong Wang# 752a8164dfSZhong Wang# Include common targets. 762a8164dfSZhong Wang# 772a8164dfSZhong Wanginclude ../Makefile.targ 78