Print this page
11528 Makefile.noget can get gone
11529 Use -Wno-maybe-initialized
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.
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 25 # Copyright 2019, Joyent, Inc.
26 26
27 27 LIBRARY= udapl_tavor.a
28 28 VERS= .1
29 29
30 30 LOCOBJS = \
31 31 dapl_cno_create.o \
32 32 dapl_cno_free.o \
33 33 dapl_cno_modify_agent.o \
34 34 dapl_cno_query.o \
35 35 dapl_cno_util.o \
36 36 dapl_cno_wait.o \
37 37 dapl_cookie.o \
38 38 dapl_cr_accept.o \
39 39 dapl_cr_callback.o \
40 40 dapl_cr_handoff.o \
41 41 dapl_cr_query.o \
42 42 dapl_cr_reject.o \
43 43 dapl_cr_util.o \
44 44 dapl_debug.o \
45 45 dapl_ep_connect.o \
46 46 dapl_ep_create.o \
47 47 dapl_ep_create_with_srq.o \
48 48 dapl_ep_disconnect.o \
49 49 dapl_ep_dup_connect.o \
50 50 dapl_ep_free.o \
51 51 dapl_ep_get_status.o \
52 52 dapl_ep_modify.o \
53 53 dapl_ep_post_rdma_read.o \
54 54 dapl_ep_post_rdma_write.o \
55 55 dapl_ep_post_recv.o \
56 56 dapl_ep_post_send.o \
57 57 dapl_ep_query.o \
58 58 dapl_ep_reset.o \
59 59 dapl_ep_util.o \
60 60 dapl_evd_clear_unwaitable.o \
61 61 dapl_evd_connection_callb.o \
62 62 dapl_evd_cq_async_error_callb.o \
63 63 dapl_evd_create.o \
64 64 dapl_evd_dequeue.o \
65 65 dapl_evd_disable.o \
66 66 dapl_evd_dto_callb.o \
67 67 dapl_evd_enable.o \
68 68 dapl_evd_free.o \
69 69 dapl_evd_modify_cno.o \
70 70 dapl_evd_post_se.o \
71 71 dapl_evd_qp_async_error_callb.o \
72 72 dapl_evd_query.o \
73 73 dapl_evd_resize.o \
74 74 dapl_evd_set_unwaitable.o \
75 75 dapl_evd_un_async_error_callb.o \
76 76 dapl_evd_util.o \
77 77 dapl_evd_wait.o \
78 78 dapl_get_consumer_context.o \
79 79 dapl_get_handle_type.o \
80 80 dapl_hash.o \
81 81 dapl_hca_util.o \
82 82 dapl_ia_close.o \
83 83 dapl_ia_open.o \
84 84 dapl_ia_query.o \
85 85 dapl_ia_util.o \
86 86 dapl_init.o \
87 87 dapl_llist.o \
88 88 dapl_lmr_create.o \
89 89 dapl_lmr_free.o \
90 90 dapl_lmr_query.o \
91 91 dapl_lmr_sync_rdma.o \
92 92 dapl_lmr_util.o \
93 93 dapl_mr_util.o \
94 94 dapl_name_service.o \
95 95 dapl_osd.o \
96 96 dapl_provider.o \
97 97 dapl_psp_create.o \
98 98 dapl_psp_create_any.o \
99 99 dapl_psp_free.o \
100 100 dapl_psp_query.o \
101 101 dapl_pz_create.o \
102 102 dapl_pz_free.o \
103 103 dapl_pz_query.o \
104 104 dapl_pz_util.o \
105 105 dapl_ring_buffer_util.o \
106 106 dapl_rmr_bind.o \
107 107 dapl_rmr_create.o \
108 108 dapl_rmr_free.o \
109 109 dapl_rmr_query.o \
110 110 dapl_rmr_util.o \
111 111 dapl_rsp_create.o \
112 112 dapl_rsp_free.o \
113 113 dapl_rsp_query.o \
114 114 dapl_set_consumer_context.o \
115 115 dapl_sp_util.o \
116 116 dapl_srq.o \
117 117 dapl_srq_util.o
118 118
119 119 TAVOROBJS = \
120 120 dapl_tavor_hca.o \
121 121 dapl_tavor_hw.o \
122 122 dapl_arbel_hw.o \
123 123 dapl_hermon_hw.o \
124 124 dapl_tavor_ibtf_cm.o \
125 125 dapl_tavor_ibtf_dto.o \
126 126 dapl_tavor_ibtf_mrsync.o \
127 127 dapl_tavor_ibtf_qp.o \
128 128 dapl_tavor_ibtf_util.o \
129 129 dapl_tavor_wr.o
130 130
131 131 OBJECTS = $(LOCOBJS) $(TAVOROBJS)
132 132
133 133 include $(SRC)/lib/Makefile.lib
134 134
135 135 LIBS = $(DYNLIB)
136 136 LDLIBS += -ldevinfo -lsocket -lnsl -ldat -lc -ldladm
137 137
138 138 SRCDIR = ../common
139 139 TAVORSRCDIR = ../tavor
140 140
141 141 SRCS = $(LOCOBJS:%.o=$(SRCDIR)/%.c) $(TAVOROBJS:%.o=$(TAVORSRCDIR)/%.c)
142 142
↓ open down ↓ |
142 lines elided |
↑ open up ↑ |
143 143 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/include
144 144 CPPFLAGS += -I$(SRC)/lib/udapl/udapl_tavor/tavor
145 145 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients/daplt
146 146 CPPFLAGS += -I$(SRC)/uts/common
147 147 CPPFLAGS += -I$(SRC)/uts/common/sys/ib/clients
148 148 CFLAGS += $(CCVERBOSE)
149 149 LINTFLAGS += -DDAPL_DBG
150 150 LINTFLAGS64 += -DDAPL_DBG
151 151
152 152 CERRWARN += -_gcc=-Wno-parentheses
153 -CERRWARN += -_gcc=-Wno-uninitialized
153 +CERRWARN += $(CNOWARN_UNINIT)
154 154 CERRWARN += -_gcc=-Wno-switch
155 155
156 156 $(NOT_RELEASE_BUILD)CPPFLAGS += -DDAPL_DBG
157 157 $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
158 158
159 159 # not linted
160 160 SMATCH=off
161 161
162 162 .KEEP_STATE:
163 163
164 164 all: $(LIBS)
165 165
166 166 debug: all
167 167
168 168 lint: lintcheck
169 169
170 170 pics/%.o: $(TAVORSRCDIR)/%.c
171 171 $(COMPILE.c) -o $@ $<
172 172 $(POST_PROCESS_O)
173 173
174 174 include $(SRC)/lib/Makefile.targ
↓ open down ↓ |
11 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX