4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
22 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
27 LIBRARYCCC = libsun_fc.a
30 OBJECTS = Lockable.o \
38 EventBridgeFactory.o \
45 AdapterAddEventListener.o \
46 AdapterEventListener.o \
47 AdapterPortEventListener.o \
48 AdapterPortStatEventListener.o \
50 TargetEventListener.o \
51 HBA_RegisterLibrary.o \
52 HBA_RegisterLibraryV2.o \
53 Sun_fcCloseAdapter.o \
55 Sun_fcGetAdapterAttributes.o \
56 Sun_fcGetAdapterName.o \
57 Sun_fcGetAdapterPortAttributes.o \
58 Sun_fcGetBindingCapability.o \
59 Sun_fcGetBindingSupport.o \
60 Sun_fcGetDiscPortAttrs.o \
61 Sun_fcGetEventBuffer.o \
62 Sun_fcGetFC4Statistics.o \
63 Sun_fcGetFCPStatistics.o \
64 Sun_fcGetFcpPersistentBinding.o \
65 Sun_fcGetFcpTargetMapping.o \
66 Sun_fcGetFcpTargetMappingV2.o \
67 Sun_fcGetNumberOfAdapters.o \
68 Sun_fcGetPersistentBindingV2.o \
69 Sun_fcGetPortAttributesByWWN.o \
70 Sun_fcGetPortStatistics.o \
71 Sun_fcGetRNIDMgmtInfo.o \
72 Sun_fcGetVendorLibraryAttributes.o \
76 Sun_fcOpenAdapterByWWN.o \
77 Sun_fcRefreshAdapterConfiguration.o \
78 Sun_fcRefreshInformation.o \
79 Sun_fcRegisterForAdapterAddEvents.o \
80 Sun_fcRegisterForAdapterEvents.o \
81 Sun_fcRegisterForAdapterPortEvents.o \
82 Sun_fcRegisterForAdapterPortStatEvents.o \
83 Sun_fcRegisterForLinkEvents.o \
84 Sun_fcRegisterForTargetEvents.o \
85 Sun_fcRemoveAllPersistentBindings.o \
86 Sun_fcRemoveCallback.o \
87 Sun_fcRemovePersistentBinding.o \
88 Sun_fcResetStatistics.o \
89 Sun_fcScsiInquiryV2.o \
90 Sun_fcScsiReadCapacityV2.o \
91 Sun_fcScsiReportLUNsV2.o \
92 Sun_fcSendCTPassThru.o \
93 Sun_fcSendCTPassThruV2.o \
100 Sun_fcSendReadCapacity.o \
101 Sun_fcSendReportLUNs.o \
103 Sun_fcSendScsiInquiry.o \
104 Sun_fcSetBindingSupport.o \
105 Sun_fcSetPersistentBindingV2.o \
106 Sun_fcSetRNIDMgmtInfo.o \
107 Sun_fcGetNumberOfTgtAdapters.o \
108 Sun_fcGetTgtAdapterName.o \
109 Sun_fcOpenTgtAdapter.o \
110 Sun_fcOpenTgtAdapterByWWN.o \
112 Sun_fcNPIVGetAdapterAttributes.o \
113 Sun_fcGetPortNPIVAttributes.o \
114 Sun_fcCreateNPIVPort.o \
115 Sun_fcGetNPIVPortInfo.o \
116 Sun_fcDeleteNPIVPort.o \
120 AdapterDeviceEventListener.o \
121 Sun_fcRegisterForAdapterDeviceEvents.o \
123 Sun_fcAdapterCreateWWN.o \
124 Sun_fcAdapterReturnWWN.o
126 include ../../Makefile.lib
132 INCS += -I$(SRCTOP)/include
133 INCS += -I$(SRC)/lib/hbaapi/common
135 CCFLAGS += -D_POSIX_PTHREAD_SEMANTICS
136 CCFLAGS64 += -D_POSIX_PTHREAD_SEMANTICS
137 CPPFLAGS += $(INCS) -DBUILD_TIME='"Wed Sep 24 12:00:00 2008"'
142 LDLIBS += $(CCNEEDED)
149 include ../../Makefile.targ