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]
23 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
26 LIBRARY= udapl_tavor.a
32 dapl_cno_modify_agent.o \
46 dapl_ep_create_with_srq.o \
47 dapl_ep_disconnect.o \
48 dapl_ep_dup_connect.o \
50 dapl_ep_get_status.o \
52 dapl_ep_post_rdma_read.o \
53 dapl_ep_post_rdma_write.o \
59 dapl_evd_clear_unwaitable.o \
60 dapl_evd_connection_callb.o \
61 dapl_evd_cq_async_error_callb.o \
65 dapl_evd_dto_callb.o \
68 dapl_evd_modify_cno.o \
70 dapl_evd_qp_async_error_callb.o \
73 dapl_evd_set_unwaitable.o \
74 dapl_evd_un_async_error_callb.o \
77 dapl_get_consumer_context.o \
78 dapl_get_handle_type.o \
90 dapl_lmr_sync_rdma.o \
97 dapl_psp_create_any.o \
104 dapl_ring_buffer_util.o \
113 dapl_set_consumer_context.o \
123 dapl_tavor_ibtf_cm.o \
124 dapl_tavor_ibtf_dto.o \
125 dapl_tavor_ibtf_mrsync.o \
126 dapl_tavor_ibtf_qp.o \
127 dapl_tavor_ibtf_util.o \
130 OBJECTS = $(LOCOBJS) $(TAVOROBJS)
132 include $(SRC)/lib/Makefile.lib
135 LDLIBS += -ldevinfo -lsocket -lnsl -ldat -lc -ldladm
138 TAVORSRCDIR = ../tavor
140 SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(TAVOROBJS:%.o=$(TAVORSRCDIR)/%.c)
142 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/include
143 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/tavor
144 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients/daplt
145 CPPFLAGS += -I$(SRC)/uts/common
146 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients
147 CFLAGS += $(CCVERBOSE)
148 LINTFLAGS += -DDAPL_DBG
149 LINTFLAGS64 += -DDAPL_DBG
151 CERRWARN += -_gcc=-Wno-parentheses
152 CERRWARN += -_gcc=-Wno-uninitialized
153 CERRWARN += -_gcc=-Wno-switch
155 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG
156 debug := COPTFLAG = -g
157 debug := COPTFLAG64 = -g
167 pics/%.o: $(TAVORSRCDIR)/%.c
168 $(COMPILE.c) -o $@ $<
171 include $(SRC)/lib/Makefile.targ