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