Print this page
10079 smatch Makefile changes for usr/src/lib
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/udapl/udapl_tavor/Makefile.com
+++ new/usr/src/lib/udapl/udapl_tavor/Makefile.com
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
↓ open down ↓ |
14 lines elided |
↑ open up ↑ |
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21
22 22 #
23 23 # Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
24 24 #
25 +# Copyright (c) 2018, Joyent, Inc.
25 26
26 -LIBRARY= udapl_tavor.a
27 -VERS= .1
27 +LIBRARY= udapl_tavor.a
28 +VERS= .1
28 29
29 30 LOCOBJS = \
30 31 dapl_cno_create.o \
31 32 dapl_cno_free.o \
32 33 dapl_cno_modify_agent.o \
33 34 dapl_cno_query.o \
34 35 dapl_cno_util.o \
35 36 dapl_cno_wait.o \
36 37 dapl_cookie.o \
37 38 dapl_cr_accept.o \
38 39 dapl_cr_callback.o \
39 40 dapl_cr_handoff.o \
40 41 dapl_cr_query.o \
41 42 dapl_cr_reject.o \
42 43 dapl_cr_util.o \
43 44 dapl_debug.o \
44 45 dapl_ep_connect.o \
45 46 dapl_ep_create.o \
46 47 dapl_ep_create_with_srq.o \
47 48 dapl_ep_disconnect.o \
48 49 dapl_ep_dup_connect.o \
49 50 dapl_ep_free.o \
50 51 dapl_ep_get_status.o \
51 52 dapl_ep_modify.o \
52 53 dapl_ep_post_rdma_read.o \
53 54 dapl_ep_post_rdma_write.o \
54 55 dapl_ep_post_recv.o \
55 56 dapl_ep_post_send.o \
56 57 dapl_ep_query.o \
57 58 dapl_ep_reset.o \
58 59 dapl_ep_util.o \
59 60 dapl_evd_clear_unwaitable.o \
60 61 dapl_evd_connection_callb.o \
61 62 dapl_evd_cq_async_error_callb.o \
62 63 dapl_evd_create.o \
63 64 dapl_evd_dequeue.o \
64 65 dapl_evd_disable.o \
65 66 dapl_evd_dto_callb.o \
66 67 dapl_evd_enable.o \
67 68 dapl_evd_free.o \
68 69 dapl_evd_modify_cno.o \
69 70 dapl_evd_post_se.o \
70 71 dapl_evd_qp_async_error_callb.o \
71 72 dapl_evd_query.o \
72 73 dapl_evd_resize.o \
73 74 dapl_evd_set_unwaitable.o \
74 75 dapl_evd_un_async_error_callb.o \
75 76 dapl_evd_util.o \
76 77 dapl_evd_wait.o \
77 78 dapl_get_consumer_context.o \
78 79 dapl_get_handle_type.o \
79 80 dapl_hash.o \
80 81 dapl_hca_util.o \
81 82 dapl_ia_close.o \
82 83 dapl_ia_open.o \
83 84 dapl_ia_query.o \
84 85 dapl_ia_util.o \
85 86 dapl_init.o \
86 87 dapl_llist.o \
87 88 dapl_lmr_create.o \
88 89 dapl_lmr_free.o \
89 90 dapl_lmr_query.o \
90 91 dapl_lmr_sync_rdma.o \
91 92 dapl_lmr_util.o \
92 93 dapl_mr_util.o \
93 94 dapl_name_service.o \
94 95 dapl_osd.o \
95 96 dapl_provider.o \
96 97 dapl_psp_create.o \
97 98 dapl_psp_create_any.o \
98 99 dapl_psp_free.o \
99 100 dapl_psp_query.o \
100 101 dapl_pz_create.o \
101 102 dapl_pz_free.o \
102 103 dapl_pz_query.o \
103 104 dapl_pz_util.o \
104 105 dapl_ring_buffer_util.o \
105 106 dapl_rmr_bind.o \
106 107 dapl_rmr_create.o \
107 108 dapl_rmr_free.o \
108 109 dapl_rmr_query.o \
109 110 dapl_rmr_util.o \
110 111 dapl_rsp_create.o \
111 112 dapl_rsp_free.o \
112 113 dapl_rsp_query.o \
113 114 dapl_set_consumer_context.o \
114 115 dapl_sp_util.o \
115 116 dapl_srq.o \
116 117 dapl_srq_util.o
117 118
118 119 TAVOROBJS = \
119 120 dapl_tavor_hca.o \
120 121 dapl_tavor_hw.o \
121 122 dapl_arbel_hw.o \
122 123 dapl_hermon_hw.o \
123 124 dapl_tavor_ibtf_cm.o \
124 125 dapl_tavor_ibtf_dto.o \
125 126 dapl_tavor_ibtf_mrsync.o \
126 127 dapl_tavor_ibtf_qp.o \
127 128 dapl_tavor_ibtf_util.o \
128 129 dapl_tavor_wr.o
129 130
130 131 OBJECTS = $(LOCOBJS) $(TAVOROBJS)
131 132
↓ open down ↓ |
94 lines elided |
↑ open up ↑ |
132 133 include $(SRC)/lib/Makefile.lib
133 134
134 135 LIBS = $(DYNLIB)
135 136 LDLIBS += -ldevinfo -lsocket -lnsl -ldat -lc -ldladm
136 137
137 138 SRCDIR = ../common
138 139 TAVORSRCDIR = ../tavor
139 140
140 141 SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(TAVOROBJS:%.o=$(TAVORSRCDIR)/%.c)
141 142
142 -CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/include
143 +CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/include
143 144 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/tavor
144 145 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients/daplt
145 146 CPPFLAGS += -I$(SRC)/uts/common
146 147 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients
147 148 CFLAGS += $(CCVERBOSE)
148 149 LINTFLAGS += -DDAPL_DBG
149 150 LINTFLAGS64 += -DDAPL_DBG
150 151
151 152 CERRWARN += -_gcc=-Wno-parentheses
152 153 CERRWARN += -_gcc=-Wno-uninitialized
153 154 CERRWARN += -_gcc=-Wno-switch
154 155
156 +# not linted
157 +SMATCH=off
158 +
155 159 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG
156 160 debug := COPTFLAG = -g
157 161 debug := COPTFLAG64 = -g
158 162
159 163 .KEEP_STATE:
160 164
161 165 all: $(LIBS)
162 166
163 167 debug: all
164 168
165 169 lint: lintcheck
166 170
167 171 pics/%.o: $(TAVORSRCDIR)/%.c
168 172 $(COMPILE.c) -o $@ $<
169 173 $(POST_PROCESS_O)
170 174
171 175 include $(SRC)/lib/Makefile.targ
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX