Print this page
10816 ctf_dwarf_convert_type() relies on un-initialized id
10817 ctfconvert -i option is mis-handled
10818 Improve ctfconvert error messages
10819 ctfconvert should handle empty dies
10820 ctfconvert -i never converts
10821 bad free in ctf_dwarf_init_die
10815 shouldn't build gcore.c as part of kmdb
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/uts/intel/Makefile.rules
+++ new/usr/src/uts/intel/Makefile.rules
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
↓ open down ↓ |
13 lines elided |
↑ open up ↑ |
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 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 -# Copyright 2018 Joyent, Inc. All rights reserved.
24 +# Copyright 2019 Joyent, Inc. All rights reserved.
25 25 # Copyright 2017 Nexenta Systems, Inc.
26 26 #
27 27
28 28 #
29 29 # This Makefile defines all file modules and build rules for the
30 30 # directory uts/intel and its children. These are the source files which
31 31 # are specific to the intel processor.
32 32 #
33 33 # The following two-level ordering must be maintained in this file.
34 34 # Lines are sorted first in order of decreasing specificity based on
35 35 # the first directory component. That is, sun4u rules come before
36 36 # sparc rules come before common rules.
37 37 #
38 38 # Lines whose initial directory components are equal are sorted
39 39 # alphabetically by the remaining components.
40 40
41 41 #
42 42 # Need a way to distinguish between the ia32 and amd64 subdirs.
43 43 #
44 44 SUBARCH_DIR_32 = ia32
45 45 SUBARCH_DIR_64 = amd64
46 46 SUBARCH_DIR = $(SUBARCH_DIR_$(CLASS))
47 47
48 48 #
49 49 # Section 1a: C object build rules
50 50 #
51 51 $(OBJS_DIR)/%.o: $(SRC)/common/fs/%.c
52 52 $(COMPILE.c) -o $@ $<
53 53 $(CTFCONVERT_O)
54 54
55 55 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/power/%.c
56 56 $(COMPILE.c) -o $@ $<
57 57 $(CTFCONVERT_O)
58 58
59 59 $(OBJS_DIR)/%.o: $(SRC)/common/util/i386/%.s
60 60 $(COMPILE.s) -o $@ $<
61 61
62 62 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/brand/sn1/%.s
63 63 $(COMPILE.s) -o $@ $<
64 64
65 65 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/brand/solaris10/%.s
66 66 $(COMPILE.s) -o $@ $<
67 67
68 68 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/dtrace/%.c
69 69 $(COMPILE.c) -o $@ $<
70 70 $(CTFCONVERT_O)
71 71
72 72 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/dtrace/%.s
73 73 $(COMPILE.s) -o $@ $<
74 74
75 75 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/fs/proc/%.c
76 76 $(COMPILE.c) -o $@ $<
77 77 $(CTFCONVERT_O)
78 78
79 79 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/ml/%.s
80 80 $(COMPILE.s) -o $@ $<
81 81
82 82 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/os/%.c
83 83 $(COMPILE.c) -o $@ $<
84 84 $(CTFCONVERT_O)
85 85
86 86 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/promif/%.c
87 87 $(COMPILE.c) -o $@ $<
88 88 $(CTFCONVERT_O)
89 89
90 90 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/syscall/%.c
91 91 $(COMPILE.c) -o $@ $<
92 92 $(CTFCONVERT_O)
93 93
94 94 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/%.c
95 95 $(COMPILE.c) -o $@ $<
96 96 $(CTFCONVERT_O)
97 97
98 98 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.c
99 99 $(COMPILE.c) -o $@ $<
100 100 $(CTFCONVERT_O)
101 101
102 102 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.s
103 103 $(COMPILE.s) -o $@ $<
104 104
105 105 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/events/%.c
106 106 $(COMPILE.c) -o $@ $<
107 107 $(CTFCONVERT_O)
108 108
109 109 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/hardware/%.c
110 110 $(COMPILE.c) -o $@ $<
111 111 $(CTFCONVERT_O)
112 112
113 113 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/dispatcher/%.c
114 114 $(COMPILE.c) -o $@ $<
115 115 $(CTFCONVERT_O)
116 116
117 117 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/executer/%.c
118 118 $(COMPILE.c) -o $@ $<
119 119 $(CTFCONVERT_O)
120 120
121 121 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/parser/%.c
122 122 $(COMPILE.c) -o $@ $<
123 123 $(CTFCONVERT_O)
124 124
125 125 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/namespace/%.c
126 126 $(COMPILE.c) -o $@ $<
127 127 $(CTFCONVERT_O)
128 128
129 129 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/resources/%.c
130 130 $(COMPILE.c) -o $@ $<
131 131 $(CTFCONVERT_O)
132 132
133 133 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/tables/%.c
134 134 $(COMPILE.c) -o $@ $<
135 135 $(CTFCONVERT_O)
136 136
137 137 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/utilities/%.c
138 138 $(COMPILE.c) -o $@ $<
139 139 $(CTFCONVERT_O)
140 140
141 141 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/disassembler/%.c
142 142 $(COMPILE.c) -o $@ $<
143 143 $(CTFCONVERT_O)
144 144
145 145 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpgart/%.c
146 146 $(COMPILE.c) -o $@ $<
147 147 $(CTFCONVERT_O)
148 148
149 149 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpmaster/%.c
150 150 $(COMPILE.c) -o $@ $<
151 151 $(CTFCONVERT_O)
152 152
153 153 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amd8111s/%.c
154 154 $(COMPILE.c) -o $@ $<
155 155 $(CTFCONVERT_O)
156 156
157 157 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amr/%.c
158 158 $(COMPILE.c) -o $@ $<
159 159 $(CTFCONVERT_O)
160 160
161 161 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/drm/%.c
162 162 $(COMPILE.c) -o $@ $<
163 163 $(CTFCONVERT_O)
164 164
165 165 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c
166 166 $(COMPILE.c) -o $@ $<
167 167 $(CTFCONVERT_O)
168 168
169 169 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/ipmi/%.c
170 170 $(COMPILE.c) -o $@ $<
171 171 $(CTFCONVERT_O)
172 172
173 173 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/intel_nb5000/%.c
174 174 $(COMPILE.c) -o $@ $<
175 175 $(CTFCONVERT_O)
176 176
177 177 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/intel_nhm/%.c
178 178 $(COMPILE.c) -o $@ $<
179 179 $(CTFCONVERT_O)
180 180
181 181 $(OBJS_DIR)/%.o: $(SRC)/common/mc/mc-amd/%.c
182 182 $(COMPILE.c) -o $@ $<
183 183 $(CTFCONVERT_O)
184 184
185 185 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/mc-amd/%.c
186 186 $(COMPILE.c) -o $@ $<
187 187 $(CTFCONVERT_O)
188 188
189 189 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pci/%.c
190 190 $(COMPILE.c) -o $@ $<
191 191 $(CTFCONVERT_O)
192 192
193 193 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pciex/%.c
194 194 $(COMPILE.c) -o $@ $<
195 195 $(CTFCONVERT_O)
196 196
197 197 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/controller/ata/%.c
198 198 $(COMPILE.c) -o $@ $<
199 199 $(CTFCONVERT_O)
200 200
201 201 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/dcdev/%.c
202 202 $(COMPILE.c) -o $@ $<
203 203 $(CTFCONVERT_O)
204 204
205 205 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/disk/%.c
206 206 $(COMPILE.c) -o $@ $<
207 207 $(CTFCONVERT_O)
208 208
209 209 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/drvobj/%.c
210 210 $(COMPILE.c) -o $@ $<
211 211 $(CTFCONVERT_O)
212 212
213 213 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c
214 214 $(COMPILE.c) -o $@ $<
215 215 $(CTFCONVERT_O)
216 216
217 217 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dnet/%.c
218 218 $(COMPILE.c) -o $@ $<
219 219 $(CTFCONVERT_O)
220 220
221 221 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c
222 222 $(COMPILE.c) -o $@ $<
223 223 $(CTFCONVERT_O)
224 224
225 225 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/targets/%.c
226 226 $(COMPILE.c) -o $@ $<
227 227 $(CTFCONVERT_O)
228 228
229 229 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/vgatext/%.c
230 230 $(COMPILE.c) -o $@ $<
231 231 $(CTFCONVERT_O)
232 232
233 233 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/vmxnet3s/%.c
234 234 $(COMPILE.c) -o $@ $<
235 235 $(CTFCONVERT_O)
236 236
237 237 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/adapters/pvscsi/%.c
238 238 $(COMPILE.c) -o $@ $<
239 239 $(CTFCONVERT_O)
240 240
241 241 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/nskern/%.s
242 242 $(COMPILE.s) -o $@ $<
243 243
244 244 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/os/%.c
245 245 $(COMPILE.c) -o $@ $<
246 246 $(CTFCONVERT_O)
247 247
248 248 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/pcbe/%.c
249 249 $(COMPILE.c) -o $@ $<
250 250 $(CTFCONVERT_O)
251 251
252 252 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/promif/%.c
253 253 $(COMPILE.c) -o $@ $<
254 254 $(CTFCONVERT_O)
255 255
256 256 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/syscall/%.c
257 257 $(COMPILE.c) -o $@ $<
258 258 $(CTFCONVERT_O)
259 259
260 260 $(OBJS_DIR)/%.o: $(UTSBASE)/common/os/%.c
261 261 $(COMPILE.c) -o $@ $<
262 262 $(CTFCONVERT_O)
263 263
264 264 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.c
265 265 $(COMPILE.c) -o $@ $<
266 266 $(CTFCONVERT_O)
267 267
268 268 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.s
269 269 $(COMPILE.s) -o $@ $<
270 270
271 271 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/zfs/%.c
272 272 $(COMPILE.c) -o $@ $<
273 273 $(CTFCONVERT_O)
274 274
275 275 #
276 276 # krtld compiled into unix
277 277 #
278 278
279 279 KRTLD_INC_PATH = -I$(UTSBASE)/common/krtld -I$(UTSBASE)/intel/sys
280 280 KRTLD_INC_PATH += -I$(UTSBASE)/intel/$(SUBARCH_DIR)/krtld
281 281
282 282 KRTLD_CPPFLAGS_32 = -DELF_TARGET_386
283 283 KRTLD_CPPFLAGS_64 = -DELF_TARGET_AMD64 -DMODDIR_SUFFIX=\"amd64\"
284 284 KRTLD_CPPFLAGS = $(KRTLD_CPPFLAGS_$(CLASS)) -D_KRTLD
285 285
286 286 $(OBJS_DIR)/%.o: $(UTSBASE)/common/krtld/%.c
287 287 $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
288 288 $(CTFCONVERT_O)
289 289
290 290 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c
↓ open down ↓ |
256 lines elided |
↑ open up ↑ |
291 291 $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
292 292 $(CTFCONVERT_O)
293 293
294 294 #
295 295 # _DBOOT indicates that krtld is called from a dboot ELF section
296 296 #
297 297 $(OBJS_DIR)/kobj.o := CPPFLAGS += -D_DBOOT
298 298
299 299 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s
300 300 $(COMPILE.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
301 - $(CTFCONVERT_O)
302 301
303 302 $(OBJS_DIR)/%.o: $(SRC)/common/util/$(SUBARCH_DIR)/%.c
304 303 $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
305 304 $(CTFCONVERT_O)
306 305
307 306
308 307 #
309 308 # Section 1b: Lint `object' build rules.
310 309 #
311 310 $(LINTS_DIR)/%.ln: $(SRC)/common/fs/%.c
312 311 @($(LHEAD) $(LINT.c) $< $(LTAIL))
313 312
314 313 $(LINTS_DIR)/%.ln: $(SRC)/common/util/i386/%.s
315 314 @($(LHEAD) $(LINT.s) $< $(LTAIL))
316 315
317 316 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/sn1/%.s
318 317 @($(LHEAD) $(LINT.s) $< $(LTAIL))
319 318
320 319 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/solaris10/%.s
321 320 @($(LHEAD) $(LINT.s) $< $(LTAIL))
322 321
323 322 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.c
324 323 @($(LHEAD) $(LINT.c) $< $(LTAIL))
325 324
326 325 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.s
327 326 @($(LHEAD) $(LINT.s) $< $(LTAIL))
328 327
329 328 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/zfs/%.c
330 329 @($(LHEAD) $(LINT.c) $< $(LTAIL))
331 330
332 331 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/fs/proc/%.c
333 332 @($(LHEAD) $(LINT.c) $< $(LTAIL))
334 333
335 334 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/ml/%.s
336 335 @($(LHEAD) $(LINT.s) $< $(LTAIL))
337 336
338 337 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/os/%.c
339 338 @($(LHEAD) $(LINT.c) $< $(LTAIL))
340 339
341 340 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/promif/%.c
342 341 @($(LHEAD) $(LINT.c) $< $(LTAIL))
343 342
344 343 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/syscall/%.c
345 344 @($(LHEAD) $(LINT.c) $< $(LTAIL))
346 345
347 346 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/%.c
348 347 @($(LHEAD) $(LINT.c) $< $(LTAIL))
349 348
350 349 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.s
351 350 @($(LHEAD) $(LINT.s) $< $(LTAIL))
352 351
353 352 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.c
354 353 @($(LHEAD) $(LINT.c) $< $(LTAIL))
355 354
356 355 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/events/%.c
357 356 @($(LHEAD) $(LINT.c) $< $(LTAIL))
358 357
359 358 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/hardware/%.c
360 359 @($(LHEAD) $(LINT.c) $< $(LTAIL))
361 360
362 361 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/dispatcher/%.c
363 362 @($(LHEAD) $(LINT.c) $< $(LTAIL))
364 363
365 364 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/executer/%.c
366 365 @($(LHEAD) $(LINT.c) $< $(LTAIL))
367 366
368 367 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/parser/%.c
369 368 @($(LHEAD) $(LINT.c) $< $(LTAIL))
370 369
371 370 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/namespace/%.c
372 371 @($(LHEAD) $(LINT.c) $< $(LTAIL))
373 372
374 373 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/resources/%.c
375 374 @($(LHEAD) $(LINT.c) $< $(LTAIL))
376 375
377 376 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/tables/%.c
378 377 @($(LHEAD) $(LINT.c) $< $(LTAIL))
379 378
380 379 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/utilities/%.c
381 380 @($(LHEAD) $(LINT.c) $< $(LTAIL))
382 381
383 382 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/disassembler/%.c
384 383 @($(LHEAD) $(LINT.c) $< $(LTAIL))
385 384
386 385 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpgart/%.c
387 386 @($(LHEAD) $(LINT.c) $< $(LTAIL))
388 387
389 388 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpmaster/%.c
390 389 @($(LHEAD) $(LINT.c) $< $(LTAIL))
391 390
392 391 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amd8111s/%.c
393 392 @($(LHEAD) $(LINT.c) $< $(LTAIL))
394 393
395 394 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amr/%.c
396 395 @($(LHEAD) $(LINT.c) $< $(LTAIL))
397 396
398 397 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c
399 398 @($(LHEAD) $(LINT.c) $< $(LTAIL))
400 399
401 400 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/drm/%.c
402 401 @($(LHEAD) $(LINT.c) $< $(LTAIL))
403 402
404 403 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c
405 404 @($(LHEAD) $(LINT.c) $< $(LTAIL))
406 405
407 406 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pci/%.c
408 407 @($(LHEAD) $(LINT.c) $< $(LTAIL))
409 408
410 409 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/intel_nb5000/%.c
411 410 @($(LHEAD) $(LINT.c) $< $(LTAIL))
412 411
413 412 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/intel_nhm/%.c
414 413 @($(LHEAD) $(LINT.c) $< $(LTAIL))
415 414
416 415 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/ipmi/%.c
417 416 @($(LHEAD) $(LINT.c) $< $(LTAIL))
418 417
419 418 $(LINTS_DIR)/%.ln: $(SRC)/common/mc/mc-amd/%.c
420 419 @($(LHEAD) $(LINT.c) $< $(LTAIL))
421 420
422 421 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/mc-amd/%.c
423 422 @($(LHEAD) $(LINT.c) $< $(LTAIL))
424 423
425 424 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pci/%.c
426 425 @($(LHEAD) $(LINT.c) $< $(LTAIL))
427 426
428 427 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pciex/%.c
429 428 @($(LHEAD) $(LINT.c) $< $(LTAIL))
430 429
431 430 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/controller/ata/%.c
432 431 @($(LHEAD) $(LINT.c) $< $(LTAIL))
433 432
434 433 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/dcdev/%.c
435 434 @($(LHEAD) $(LINT.c) $< $(LTAIL))
436 435
437 436 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/disk/%.c
438 437 @($(LHEAD) $(LINT.c) $< $(LTAIL))
439 438
440 439 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/drvobj/%.c
441 440 @($(LHEAD) $(LINT.c) $< $(LTAIL))
442 441
443 442 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c
444 443 @($(LHEAD) $(LINT.c) $< $(LTAIL))
445 444
446 445 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dnet/%.c
447 446 @($(LHEAD) $(LINT.c) $< $(LTAIL))
448 447
449 448 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/targets/%.c
450 449 @($(LHEAD) $(LINT.c) $< $(LTAIL))
451 450
452 451 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/vgatext/%.c
453 452 @($(LHEAD) $(LINT.c) $< $(LTAIL))
454 453
455 454 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/vmxnet3s/%.c
456 455 @($(LHEAD) $(LINT.c) $< $(LTAIL))
457 456
458 457 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/adapters/pvscsi/%.c
459 458 @($(LHEAD) $(LINT.c) $< $(LTAIL))
460 459
461 460 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/os/%.c
462 461 @($(LHEAD) $(LINT.c) $< $(LTAIL))
463 462
464 463 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/pcbe/%.c
465 464 @($(LHEAD) $(LINT.c) $< $(LTAIL))
466 465
467 466 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/promif/%.c
468 467 @($(LHEAD) $(LINT.c) $< $(LTAIL))
469 468
470 469 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/syscall/%.c
471 470 @($(LHEAD) $(LINT.c) $< $(LTAIL))
472 471
473 472 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/os/%.c
474 473 @($(LHEAD) $(LINT.c) $< $(LTAIL))
475 474
476 475 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.c
477 476 @($(LHEAD) $(LINT.c) $< $(LTAIL))
478 477
479 478 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.s
480 479 @($(LHEAD) $(LINT.s) $< $(LTAIL))
481 480
482 481 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/nskern/%.s
483 482 @($(LHEAD) $(LINT.s) $< $(LTAIL))
484 483
485 484 #
486 485 # krtld lints
487 486 #
488 487 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/krtld/%.c
489 488 @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
490 489
491 490 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c
492 491 @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
493 492
494 493 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s
495 494 @($(LHEAD) $(LINT.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
496 495
497 496 $(LINTS_DIR)/%.ln: $(SRC)/common/util/$(SUBARCH_DIR)/%.c
498 497 @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
499 498
500 499 $(OBJS_DIR)/kobj.ln := CPPFLAGS += -D_DBOOT
↓ open down ↓ |
189 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX