1*2a8164dfSZhong Wang# 2*2a8164dfSZhong Wang# CDDL HEADER START 3*2a8164dfSZhong Wang# 4*2a8164dfSZhong Wang# The contents of this file are subject to the terms of the 5*2a8164dfSZhong Wang# Common Development and Distribution License (the "License"). 6*2a8164dfSZhong Wang# You may not use this file except in compliance with the License. 7*2a8164dfSZhong Wang# 8*2a8164dfSZhong Wang# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*2a8164dfSZhong Wang# or http://www.opensolaris.org/os/licensing. 10*2a8164dfSZhong Wang# See the License for the specific language governing permissions 11*2a8164dfSZhong Wang# and limitations under the License. 12*2a8164dfSZhong Wang# 13*2a8164dfSZhong Wang# When distributing Covered Code, include this CDDL HEADER in each 14*2a8164dfSZhong Wang# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*2a8164dfSZhong Wang# If applicable, add the following below this CDDL HEADER, with the 16*2a8164dfSZhong Wang# fields enclosed by brackets "[]" replaced with your own identifying 17*2a8164dfSZhong Wang# information: Portions Copyright [yyyy] [name of copyright owner] 18*2a8164dfSZhong Wang# 19*2a8164dfSZhong Wang# CDDL HEADER END 20*2a8164dfSZhong Wang# 21*2a8164dfSZhong Wang# 22*2a8164dfSZhong Wang# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23*2a8164dfSZhong Wang# Use is subject to license terms. 24*2a8164dfSZhong Wang# 25*2a8164dfSZhong Wang 26*2a8164dfSZhong WangLIBRARY= libfcoe.a 27*2a8164dfSZhong WangVERS= .1 28*2a8164dfSZhong Wang 29*2a8164dfSZhong WangOBJECTS= libfcoe.o 30*2a8164dfSZhong Wang 31*2a8164dfSZhong Wanginclude ../../Makefile.lib 32*2a8164dfSZhong Wang 33*2a8164dfSZhong WangLIBS= $(DYNLIB) $(LINTLIB) 34*2a8164dfSZhong Wang 35*2a8164dfSZhong WangSRCDIR = ../common 36*2a8164dfSZhong Wang 37*2a8164dfSZhong WangINCS += -I$(SRCDIR) 38*2a8164dfSZhong WangINCS += -I$(SRC)/uts/common/sys/fcoe 39*2a8164dfSZhong Wang 40*2a8164dfSZhong WangLDLIBS += -lc 41*2a8164dfSZhong WangC99MODE= -xc99=%all 42*2a8164dfSZhong WangC99LMODE= -Xc99=%all 43*2a8164dfSZhong WangCPPFLAGS += $(INCS) -D_REENTRANT 44*2a8164dfSZhong Wang 45*2a8164dfSZhong Wang$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC) 46*2a8164dfSZhong Wang 47*2a8164dfSZhong Wang.KEEP_STATE: 48*2a8164dfSZhong Wang 49*2a8164dfSZhong Wangall: $(LIBS) 50*2a8164dfSZhong Wang 51*2a8164dfSZhong Wanglint: lintcheck 52*2a8164dfSZhong Wang 53*2a8164dfSZhong Wanginclude ../../Makefile.targ 54