1*fcf3ce44SJohn Forte# 2*fcf3ce44SJohn Forte# CDDL HEADER START 3*fcf3ce44SJohn Forte# 4*fcf3ce44SJohn Forte# The contents of this file are subject to the terms of the 5*fcf3ce44SJohn Forte# Common Development and Distribution License (the "License"). 6*fcf3ce44SJohn Forte# You may not use this file except in compliance with the License. 7*fcf3ce44SJohn Forte# 8*fcf3ce44SJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9*fcf3ce44SJohn Forte# or http://www.opensolaris.org/os/licensing. 10*fcf3ce44SJohn Forte# See the License for the specific language governing permissions 11*fcf3ce44SJohn Forte# and limitations under the License. 12*fcf3ce44SJohn Forte# 13*fcf3ce44SJohn Forte# When distributing Covered Code, include this CDDL HEADER in each 14*fcf3ce44SJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15*fcf3ce44SJohn Forte# If applicable, add the following below this CDDL HEADER, with the 16*fcf3ce44SJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying 17*fcf3ce44SJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner] 18*fcf3ce44SJohn Forte# 19*fcf3ce44SJohn Forte# CDDL HEADER END 20*fcf3ce44SJohn Forte# 21*fcf3ce44SJohn Forte# 22*fcf3ce44SJohn Forte# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 23*fcf3ce44SJohn Forte# Use is subject to license terms. 24*fcf3ce44SJohn Forte# 25*fcf3ce44SJohn Forte# 26*fcf3ce44SJohn Forte 27*fcf3ce44SJohn ForteLIBRARYCCC = libsun_fc.a 28*fcf3ce44SJohn ForteVERS = .1 29*fcf3ce44SJohn Forte 30*fcf3ce44SJohn ForteOBJECTS = Lockable.o \ 31*fcf3ce44SJohn Forte HBA.o \ 32*fcf3ce44SJohn Forte HBAPort.o \ 33*fcf3ce44SJohn Forte Handle.o \ 34*fcf3ce44SJohn Forte HandlePort.o \ 35*fcf3ce44SJohn Forte IOError.o \ 36*fcf3ce44SJohn Forte InternalError.o \ 37*fcf3ce44SJohn Forte Listener.o \ 38*fcf3ce44SJohn Forte EventBridgeFactory.o \ 39*fcf3ce44SJohn Forte HBAList.o \ 40*fcf3ce44SJohn Forte FCHBA.o \ 41*fcf3ce44SJohn Forte FCHBAPort.o \ 42*fcf3ce44SJohn Forte TgtFCHBA.o \ 43*fcf3ce44SJohn Forte TgtFCHBAPort.o \ 44*fcf3ce44SJohn Forte FCSyseventBridge.o \ 45*fcf3ce44SJohn Forte AdapterAddEventListener.o \ 46*fcf3ce44SJohn Forte AdapterEventListener.o \ 47*fcf3ce44SJohn Forte AdapterPortEventListener.o \ 48*fcf3ce44SJohn Forte AdapterPortStatEventListener.o \ 49*fcf3ce44SJohn Forte LinkEventListener.o \ 50*fcf3ce44SJohn Forte TargetEventListener.o \ 51*fcf3ce44SJohn Forte HBA_RegisterLibrary.o \ 52*fcf3ce44SJohn Forte HBA_RegisterLibraryV2.o \ 53*fcf3ce44SJohn Forte Sun_fcCloseAdapter.o \ 54*fcf3ce44SJohn Forte Sun_fcFreeLibrary.o \ 55*fcf3ce44SJohn Forte Sun_fcGetAdapterAttributes.o \ 56*fcf3ce44SJohn Forte Sun_fcGetAdapterName.o \ 57*fcf3ce44SJohn Forte Sun_fcGetAdapterPortAttributes.o \ 58*fcf3ce44SJohn Forte Sun_fcGetBindingCapability.o \ 59*fcf3ce44SJohn Forte Sun_fcGetBindingSupport.o \ 60*fcf3ce44SJohn Forte Sun_fcGetDiscPortAttrs.o \ 61*fcf3ce44SJohn Forte Sun_fcGetEventBuffer.o \ 62*fcf3ce44SJohn Forte Sun_fcGetFC4Statistics.o \ 63*fcf3ce44SJohn Forte Sun_fcGetFCPStatistics.o \ 64*fcf3ce44SJohn Forte Sun_fcGetFcpPersistentBinding.o \ 65*fcf3ce44SJohn Forte Sun_fcGetFcpTargetMapping.o \ 66*fcf3ce44SJohn Forte Sun_fcGetFcpTargetMappingV2.o \ 67*fcf3ce44SJohn Forte Sun_fcGetNumberOfAdapters.o \ 68*fcf3ce44SJohn Forte Sun_fcGetPersistentBindingV2.o \ 69*fcf3ce44SJohn Forte Sun_fcGetPortAttributesByWWN.o \ 70*fcf3ce44SJohn Forte Sun_fcGetPortStatistics.o \ 71*fcf3ce44SJohn Forte Sun_fcGetRNIDMgmtInfo.o \ 72*fcf3ce44SJohn Forte Sun_fcGetVendorLibraryAttributes.o \ 73*fcf3ce44SJohn Forte Sun_fcGetVersion.o \ 74*fcf3ce44SJohn Forte Sun_fcLoadLibrary.o \ 75*fcf3ce44SJohn Forte Sun_fcOpenAdapter.o \ 76*fcf3ce44SJohn Forte Sun_fcOpenAdapterByWWN.o \ 77*fcf3ce44SJohn Forte Sun_fcRefreshAdapterConfiguration.o \ 78*fcf3ce44SJohn Forte Sun_fcRefreshInformation.o \ 79*fcf3ce44SJohn Forte Sun_fcRegisterForAdapterAddEvents.o \ 80*fcf3ce44SJohn Forte Sun_fcRegisterForAdapterEvents.o \ 81*fcf3ce44SJohn Forte Sun_fcRegisterForAdapterPortEvents.o \ 82*fcf3ce44SJohn Forte Sun_fcRegisterForAdapterPortStatEvents.o \ 83*fcf3ce44SJohn Forte Sun_fcRegisterForLinkEvents.o \ 84*fcf3ce44SJohn Forte Sun_fcRegisterForTargetEvents.o \ 85*fcf3ce44SJohn Forte Sun_fcRemoveAllPersistentBindings.o \ 86*fcf3ce44SJohn Forte Sun_fcRemoveCallback.o \ 87*fcf3ce44SJohn Forte Sun_fcRemovePersistentBinding.o \ 88*fcf3ce44SJohn Forte Sun_fcResetStatistics.o \ 89*fcf3ce44SJohn Forte Sun_fcScsiInquiryV2.o \ 90*fcf3ce44SJohn Forte Sun_fcScsiReadCapacityV2.o \ 91*fcf3ce44SJohn Forte Sun_fcScsiReportLUNsV2.o \ 92*fcf3ce44SJohn Forte Sun_fcSendCTPassThru.o \ 93*fcf3ce44SJohn Forte Sun_fcSendCTPassThruV2.o \ 94*fcf3ce44SJohn Forte Sun_fcSendLIRR.o \ 95*fcf3ce44SJohn Forte Sun_fcSendRLS.o \ 96*fcf3ce44SJohn Forte Sun_fcSendRNID.o \ 97*fcf3ce44SJohn Forte Sun_fcSendRNIDV2.o \ 98*fcf3ce44SJohn Forte Sun_fcSendRPL.o \ 99*fcf3ce44SJohn Forte Sun_fcSendRPS.o \ 100*fcf3ce44SJohn Forte Sun_fcSendReadCapacity.o \ 101*fcf3ce44SJohn Forte Sun_fcSendReportLUNs.o \ 102*fcf3ce44SJohn Forte Sun_fcSendSRL.o \ 103*fcf3ce44SJohn Forte Sun_fcSendScsiInquiry.o \ 104*fcf3ce44SJohn Forte Sun_fcSetBindingSupport.o \ 105*fcf3ce44SJohn Forte Sun_fcSetPersistentBindingV2.o \ 106*fcf3ce44SJohn Forte Sun_fcSetRNIDMgmtInfo.o \ 107*fcf3ce44SJohn Forte Sun_fcGetNumberOfTgtAdapters.o \ 108*fcf3ce44SJohn Forte Sun_fcGetTgtAdapterName.o \ 109*fcf3ce44SJohn Forte Sun_fcOpenTgtAdapter.o \ 110*fcf3ce44SJohn Forte Sun_fcOpenTgtAdapterByWWN.o \ 111*fcf3ce44SJohn Forte Trace.o \ 112*fcf3ce44SJohn Forte Sun_fcNPIVGetAdapterAttributes.o \ 113*fcf3ce44SJohn Forte Sun_fcGetPortNPIVAttributes.o \ 114*fcf3ce44SJohn Forte Sun_fcCreateNPIVPort.o \ 115*fcf3ce44SJohn Forte Sun_fcGetNPIVPortInfo.o \ 116*fcf3ce44SJohn Forte Sun_fcDeleteNPIVPort.o \ 117*fcf3ce44SJohn Forte HBANPIVPort.o \ 118*fcf3ce44SJohn Forte FCHBANPIVPort.o \ 119*fcf3ce44SJohn Forte HandleNPIVPort.o \ 120*fcf3ce44SJohn Forte AdapterDeviceEventListener.o \ 121*fcf3ce44SJohn Forte Sun_fcRegisterForAdapterDeviceEvents.o \ 122*fcf3ce44SJohn Forte Sun_fcAdapterCreateWWN.o \ 123*fcf3ce44SJohn Forte Sun_fcAdapterReturnWWN.o 124*fcf3ce44SJohn Forte 125*fcf3ce44SJohn Forteinclude ../../Makefile.lib 126*fcf3ce44SJohn Forte 127*fcf3ce44SJohn ForteLIBS = $(DYNLIBCCC) 128*fcf3ce44SJohn ForteSRCDIR= ../common 129*fcf3ce44SJohn Forte 130*fcf3ce44SJohn ForteINCS += -I$(SRCDIR) 131*fcf3ce44SJohn ForteINCS += -I$(SRC)/lib/hbaapi/common 132*fcf3ce44SJohn Forte 133*fcf3ce44SJohn ForteCCFLAGS += -D_POSIX_PTHREAD_SEMANTICS 134*fcf3ce44SJohn ForteCCFLAGS += -compat=5 135*fcf3ce44SJohn ForteCCFLAGS += -norunpath 136*fcf3ce44SJohn ForteCCFLAGS += -nolib 137*fcf3ce44SJohn ForteCCFLAGS64 += -D_POSIX_PTHREAD_SEMANTICS 138*fcf3ce44SJohn ForteCCFLAGS64 += -compat=5 139*fcf3ce44SJohn ForteCCFLAGS64 += -norunpath 140*fcf3ce44SJohn ForteCCFLAGS64 += -nolib 141*fcf3ce44SJohn ForteCPPFLAGS += $(INCS) -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"' 142*fcf3ce44SJohn Forte 143*fcf3ce44SJohn ForteLDLIBS += -ldevinfo 144*fcf3ce44SJohn ForteLDLIBS += -lsysevent 145*fcf3ce44SJohn ForteLDLIBS += -lnvpair 146*fcf3ce44SJohn ForteLDLIBS += -lCstd 147*fcf3ce44SJohn ForteLDLIBS += -lCrun 148*fcf3ce44SJohn ForteLDLIBS += -lc 149*fcf3ce44SJohn Forte 150*fcf3ce44SJohn Forte$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC) 151*fcf3ce44SJohn Forte 152*fcf3ce44SJohn Forte.KEEP_STATE: 153*fcf3ce44SJohn Forte 154*fcf3ce44SJohn Forteall: $(LIBS) 155*fcf3ce44SJohn Forte 156*fcf3ce44SJohn Fortelint: 157*fcf3ce44SJohn Forte @echo "This section is not required to be lint clean" 158*fcf3ce44SJohn Forte @echo "C++" 159*fcf3ce44SJohn Forte 160*fcf3ce44SJohn Forteinclude ../../Makefile.targ 161