fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER START
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# The contents of this file are subject to the terms of the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Common Development and Distribution License (the "License").
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You may not use this file except in compliance with the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# or http://www.opensolaris.org/os/licensing.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# See the License for the specific language governing permissions
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# and limitations under the License.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# When distributing Covered Code, include this CDDL HEADER in each
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# If applicable, add the following below this CDDL HEADER, with the
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# fields enclosed by brackets "[]" replaced with your own identifying
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# information: Portions Copyright [yyyy] [name of copyright owner]
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# CDDL HEADER END
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
a79493184c9332129c9c91500069322f6f3fafddReed# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte# Use is subject to license terms.
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte#
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLIBRARYCCC = libsun_fc.a
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteVERS = .1
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteOBJECTS = Lockable.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte HBA.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte HBAPort.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Handle.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte HandlePort.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte IOError.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte InternalError.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Listener.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte EventBridgeFactory.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte HBAList.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte FCHBA.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte FCHBAPort.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TgtFCHBA.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TgtFCHBAPort.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte FCSyseventBridge.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte AdapterAddEventListener.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte AdapterEventListener.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte AdapterPortEventListener.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte AdapterPortStatEventListener.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte LinkEventListener.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte TargetEventListener.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte HBA_RegisterLibrary.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte HBA_RegisterLibraryV2.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcCloseAdapter.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcFreeLibrary.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetAdapterAttributes.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetAdapterName.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetAdapterPortAttributes.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetBindingCapability.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetBindingSupport.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetDiscPortAttrs.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetEventBuffer.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetFC4Statistics.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetFCPStatistics.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetFcpPersistentBinding.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetFcpTargetMapping.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetFcpTargetMappingV2.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetNumberOfAdapters.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetPersistentBindingV2.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetPortAttributesByWWN.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetPortStatistics.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetRNIDMgmtInfo.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetVendorLibraryAttributes.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetVersion.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcLoadLibrary.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcOpenAdapter.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcOpenAdapterByWWN.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRefreshAdapterConfiguration.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRefreshInformation.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRegisterForAdapterAddEvents.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRegisterForAdapterEvents.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRegisterForAdapterPortEvents.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRegisterForAdapterPortStatEvents.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRegisterForLinkEvents.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRegisterForTargetEvents.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRemoveAllPersistentBindings.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRemoveCallback.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRemovePersistentBinding.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcResetStatistics.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcScsiInquiryV2.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcScsiReadCapacityV2.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcScsiReportLUNsV2.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendCTPassThru.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendCTPassThruV2.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendLIRR.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendRLS.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendRNID.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendRNIDV2.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendRPL.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendRPS.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendReadCapacity.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendReportLUNs.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendSRL.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSendScsiInquiry.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSetBindingSupport.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSetPersistentBindingV2.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcSetRNIDMgmtInfo.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetNumberOfTgtAdapters.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetTgtAdapterName.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcOpenTgtAdapter.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcOpenTgtAdapterByWWN.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Trace.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcNPIVGetAdapterAttributes.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetPortNPIVAttributes.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcCreateNPIVPort.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcGetNPIVPortInfo.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcDeleteNPIVPort.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte HBANPIVPort.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte FCHBANPIVPort.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte HandleNPIVPort.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte AdapterDeviceEventListener.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcRegisterForAdapterDeviceEvents.o \
a79493184c9332129c9c91500069322f6f3fafddReed Sun_fcDoForceLip.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcAdapterCreateWWN.o \
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte Sun_fcAdapterReturnWWN.o
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude ../../Makefile.lib
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteLIBS = $(DYNLIBCCC)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteSRCDIR= ../common
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteINCS += -I$(SRCDIR)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteINCS += -I$(SRC)/lib/hbaapi/common
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCCFLAGS += -D_POSIX_PTHREAD_SEMANTICS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCCFLAGS += -compat=5
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCCFLAGS64 += -D_POSIX_PTHREAD_SEMANTICS
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCCFLAGS64 += -compat=5
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn ForteCPPFLAGS += $(INCS) -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"'
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4Richard LoweLDLIBS += -ldevinfo
6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4Richard LoweLDLIBS += -lsysevent
6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4Richard LoweLDLIBS += -lnvpair
6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4Richard Lowe$(__SUNC)CCNEEDED = $(CCEXTNEEDED)
6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4Richard LoweLDLIBS += $(CCNEEDED)
6a3e8e8695d5c7d1d18c6800d676990d7f61a2a4Richard LoweLDLIBS += -lc
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte$(LINTLIB) := SRCS= $(SRCDIR)/$(LINTSRC)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte.KEEP_STATE:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteall: $(LIBS)
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Fortelint:
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte @echo "This section is not required to be lint clean"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte @echo "C++"
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forte
fcf3ce441efd61da9bb2884968af01cb7c1452ccJohn Forteinclude ../../Makefile.targ