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.
25 # Copyright (c) 2018, Joyent, Inc.
27 LIBRARY= udapl_tavor.a
33 dapl_cno_modify_agent.o \
47 dapl_ep_create_with_srq.o \
48 dapl_ep_disconnect.o \
49 dapl_ep_dup_connect.o \
51 dapl_ep_get_status.o \
53 dapl_ep_post_rdma_read.o \
54 dapl_ep_post_rdma_write.o \
60 dapl_evd_clear_unwaitable.o \
61 dapl_evd_connection_callb.o \
62 dapl_evd_cq_async_error_callb.o \
66 dapl_evd_dto_callb.o \
69 dapl_evd_modify_cno.o \
71 dapl_evd_qp_async_error_callb.o \
74 dapl_evd_set_unwaitable.o \
75 dapl_evd_un_async_error_callb.o \
78 dapl_get_consumer_context.o \
79 dapl_get_handle_type.o \
91 dapl_lmr_sync_rdma.o \
98 dapl_psp_create_any.o \
105 dapl_ring_buffer_util.o \
114 dapl_set_consumer_context.o \
124 dapl_tavor_ibtf_cm.o \
125 dapl_tavor_ibtf_dto.o \
126 dapl_tavor_ibtf_mrsync.o \
127 dapl_tavor_ibtf_qp.o \
128 dapl_tavor_ibtf_util.o \
131 OBJECTS = $(LOCOBJS) $(TAVOROBJS)
133 include $(SRC)/lib/Makefile.lib
136 LDLIBS += -ldevinfo -ldat -lc -ldladm
139 TAVORSRCDIR = ../tavor
141 SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(TAVOROBJS:%.o=$(TAVORSRCDIR)/%.c)
143 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/include
144 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/tavor
145 CPPFLAGS += -I$(SRCTOP)/include/sys/ib/clients/daplt
146 CPPFLAGS += -I$(SRCTOP)/include
147 CPPFLAGS += -I$(SRCTOP)/include/sys/ib/clients
149 CERRWARN += -Wno-parentheses
150 CERRWARN += -Wno-uninitialized
151 CERRWARN += -Wno-switch
156 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG
157 debug := COPTFLAG = -g
158 debug := COPTFLAG64 = -g
167 pics/%.o: $(TAVORSRCDIR)/%.c
168 $(COMPILE.c) -o $@ $<
171 include $(SRC)/lib/Makefile.targ