Print this page
m
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
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 24 # Copyright 2019 Joyent, Inc.
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.
↓ open down ↓ |
33 lines elided |
↑ open up ↑ |
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 -SUBARCH_DIR_32 = ia32
45 -SUBARCH_DIR_64 = amd64
46 -SUBARCH_DIR = $(SUBARCH_DIR_$(CLASS))
44 +SUBARCH_DIR = amd64
47 45
48 46 #
49 47 # Section 1a: C object build rules
50 48 #
51 49 $(OBJS_DIR)/%.o: $(SRC)/common/fs/%.c
52 50 $(COMPILE.c) -o $@ $<
53 51 $(CTFCONVERT_O)
54 52
55 53 $(OBJS_DIR)/%.o: $(UTSBASE)/common/io/power/%.c
56 54 $(COMPILE.c) -o $@ $<
57 55 $(CTFCONVERT_O)
58 56
59 -$(OBJS_DIR)/%.o: $(SRC)/common/util/i386/%.s
60 - $(COMPILE.s) -o $@ $<
61 -
62 57 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/brand/sn1/%.s
63 58 $(COMPILE.s) -o $@ $<
64 59
65 60 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/brand/solaris10/%.s
66 61 $(COMPILE.s) -o $@ $<
67 62
68 63 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/dtrace/%.c
69 64 $(COMPILE.c) -o $@ $<
70 65 $(CTFCONVERT_O)
71 66
72 67 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/dtrace/%.s
73 68 $(COMPILE.s) -o $@ $<
74 69
75 70 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/fs/proc/%.c
76 71 $(COMPILE.c) -o $@ $<
77 72 $(CTFCONVERT_O)
78 73
79 74 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/ml/%.s
80 75 $(COMPILE.s) -o $@ $<
81 76
82 77 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/os/%.c
83 78 $(COMPILE.c) -o $@ $<
84 79 $(CTFCONVERT_O)
85 80
86 81 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/promif/%.c
87 82 $(COMPILE.c) -o $@ $<
88 83 $(CTFCONVERT_O)
89 84
90 85 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/syscall/%.c
91 86 $(COMPILE.c) -o $@ $<
92 87 $(CTFCONVERT_O)
93 88
94 89 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/%.c
95 90 $(COMPILE.c) -o $@ $<
96 91 $(CTFCONVERT_O)
97 92
98 93 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.c
99 94 $(COMPILE.c) -o $@ $<
100 95 $(CTFCONVERT_O)
101 96
102 97 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.s
103 98 $(COMPILE.s) -o $@ $<
104 99
105 100 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/events/%.c
106 101 $(COMPILE.c) -o $@ $<
107 102 $(CTFCONVERT_O)
108 103
109 104 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/hardware/%.c
110 105 $(COMPILE.c) -o $@ $<
111 106 $(CTFCONVERT_O)
112 107
113 108 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/dispatcher/%.c
114 109 $(COMPILE.c) -o $@ $<
115 110 $(CTFCONVERT_O)
116 111
117 112 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/executer/%.c
118 113 $(COMPILE.c) -o $@ $<
119 114 $(CTFCONVERT_O)
120 115
121 116 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/parser/%.c
122 117 $(COMPILE.c) -o $@ $<
123 118 $(CTFCONVERT_O)
124 119
125 120 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/namespace/%.c
126 121 $(COMPILE.c) -o $@ $<
127 122 $(CTFCONVERT_O)
128 123
129 124 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/resources/%.c
130 125 $(COMPILE.c) -o $@ $<
131 126 $(CTFCONVERT_O)
132 127
133 128 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/tables/%.c
134 129 $(COMPILE.c) -o $@ $<
135 130 $(CTFCONVERT_O)
136 131
137 132 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/utilities/%.c
138 133 $(COMPILE.c) -o $@ $<
139 134 $(CTFCONVERT_O)
140 135
141 136 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/disassembler/%.c
142 137 $(COMPILE.c) -o $@ $<
143 138 $(CTFCONVERT_O)
144 139
145 140 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amd8111s/%.c
146 141 $(COMPILE.c) -o $@ $<
147 142 $(CTFCONVERT_O)
148 143
149 144 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amdf17nbdf/%.c
150 145 $(COMPILE.c) -o $@ $<
151 146 $(CTFCONVERT_O)
152 147
153 148 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amdnbtemp/%.c
154 149 $(COMPILE.c) -o $@ $<
155 150 $(CTFCONVERT_O)
156 151
157 152 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amr/%.c
158 153 $(COMPILE.c) -o $@ $<
159 154 $(CTFCONVERT_O)
160 155
161 156 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/coretemp/%.c
162 157 $(COMPILE.c) -o $@ $<
163 158 $(CTFCONVERT_O)
164 159
165 160 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c
166 161 $(COMPILE.c) -o $@ $<
167 162 $(CTFCONVERT_O)
168 163
169 164 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/ipmi/%.c
170 165 $(COMPILE.c) -o $@ $<
171 166 $(CTFCONVERT_O)
172 167
173 168 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/intel_nb5000/%.c
174 169 $(COMPILE.c) -o $@ $<
175 170 $(CTFCONVERT_O)
176 171
177 172 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/intel_nhm/%.c
178 173 $(COMPILE.c) -o $@ $<
179 174 $(CTFCONVERT_O)
180 175
181 176 $(OBJS_DIR)/%.o: $(SRC)/common/mc/mc-amd/%.c
182 177 $(COMPILE.c) -o $@ $<
183 178 $(CTFCONVERT_O)
184 179
185 180 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/mc-amd/%.c
186 181 $(COMPILE.c) -o $@ $<
187 182 $(CTFCONVERT_O)
188 183
189 184 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pchtemp/%.c
190 185 $(COMPILE.c) -o $@ $<
191 186 $(CTFCONVERT_O)
192 187
193 188 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pci/%.c
194 189 $(COMPILE.c) -o $@ $<
195 190 $(CTFCONVERT_O)
196 191
197 192 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pciex/%.c
198 193 $(COMPILE.c) -o $@ $<
199 194 $(CTFCONVERT_O)
200 195
201 196 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/controller/ata/%.c
202 197 $(COMPILE.c) -o $@ $<
203 198 $(CTFCONVERT_O)
204 199
205 200 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/dcdev/%.c
206 201 $(COMPILE.c) -o $@ $<
207 202 $(CTFCONVERT_O)
208 203
209 204 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/disk/%.c
210 205 $(COMPILE.c) -o $@ $<
211 206 $(CTFCONVERT_O)
212 207
213 208 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/drvobj/%.c
214 209 $(COMPILE.c) -o $@ $<
215 210 $(CTFCONVERT_O)
216 211
217 212 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c
218 213 $(COMPILE.c) -o $@ $<
219 214 $(CTFCONVERT_O)
220 215
221 216 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dnet/%.c
222 217 $(COMPILE.c) -o $@ $<
223 218 $(CTFCONVERT_O)
224 219
225 220 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c
226 221 $(COMPILE.c) -o $@ $<
227 222 $(CTFCONVERT_O)
228 223
229 224 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/targets/%.c
230 225 $(COMPILE.c) -o $@ $<
231 226 $(CTFCONVERT_O)
232 227
233 228 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/vgatext/%.c
234 229 $(COMPILE.c) -o $@ $<
235 230 $(CTFCONVERT_O)
236 231
237 232 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/vmxnet3s/%.c
238 233 $(COMPILE.c) -o $@ $<
239 234 $(CTFCONVERT_O)
240 235
241 236 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/adapters/pvscsi/%.c
242 237 $(COMPILE.c) -o $@ $<
243 238 $(CTFCONVERT_O)
244 239
245 240 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/nskern/%.s
246 241 $(COMPILE.s) -o $@ $<
247 242
248 243 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/os/%.c
249 244 $(COMPILE.c) -o $@ $<
250 245 $(CTFCONVERT_O)
251 246
252 247 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/pcbe/%.c
253 248 $(COMPILE.c) -o $@ $<
254 249 $(CTFCONVERT_O)
255 250
256 251 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/promif/%.c
257 252 $(COMPILE.c) -o $@ $<
258 253 $(CTFCONVERT_O)
259 254
260 255 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/syscall/%.c
261 256 $(COMPILE.c) -o $@ $<
262 257 $(CTFCONVERT_O)
263 258
264 259 $(OBJS_DIR)/%.o: $(UTSBASE)/common/os/%.c
265 260 $(COMPILE.c) -o $@ $<
266 261 $(CTFCONVERT_O)
267 262
268 263 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.c
269 264 $(COMPILE.c) -o $@ $<
270 265 $(CTFCONVERT_O)
271 266
272 267 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.s
273 268 $(COMPILE.s) -o $@ $<
274 269
275 270 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/zfs/%.c
276 271 $(COMPILE.c) -o $@ $<
277 272 $(CTFCONVERT_O)
278 273
279 274 #
280 275 # krtld compiled into unix
281 276 #
282 277
283 278 KRTLD_INC_PATH = -I$(UTSBASE)/common/krtld -I$(UTSBASE)/intel/sys
284 279 KRTLD_INC_PATH += -I$(UTSBASE)/intel/$(SUBARCH_DIR)/krtld
285 280
286 281 KRTLD_CPPFLAGS = -D_KRTLD -DELF_TARGET_AMD64 -DMODDIR_SUFFIX=\"amd64\"
287 282
288 283 $(OBJS_DIR)/%.o: $(UTSBASE)/common/krtld/%.c
289 284 $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
290 285 $(CTFCONVERT_O)
291 286
292 287 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c
293 288 $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
294 289 $(CTFCONVERT_O)
295 290
296 291 #
297 292 # _DBOOT indicates that krtld is called from a dboot ELF section
298 293 #
299 294 $(OBJS_DIR)/kobj.o := CPPFLAGS += -D_DBOOT
300 295
↓ open down ↓ |
229 lines elided |
↑ open up ↑ |
301 296 $(DBOOT_OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/ml/%.s
302 297 $(DBOOT_AS) -P -D_ASM $(DBOOT_DEFS) $(DBOOT_AS_INCL) -o $@ $<
303 298
304 299
305 300 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s
306 301 $(COMPILE.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
307 302
308 303 $(OBJS_DIR)/%.o: $(SRC)/common/util/$(SUBARCH_DIR)/%.c
309 304 $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
310 305 $(CTFCONVERT_O)
311 -
312 -
313 -#
314 -# Section 1b: Lint `object' build rules.
315 -#
316 -$(LINTS_DIR)/%.ln: $(SRC)/common/fs/%.c
317 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
318 -
319 -$(LINTS_DIR)/%.ln: $(SRC)/common/util/i386/%.s
320 - @($(LHEAD) $(LINT.s) $< $(LTAIL))
321 -
322 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/sn1/%.s
323 - @($(LHEAD) $(LINT.s) $< $(LTAIL))
324 -
325 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/solaris10/%.s
326 - @($(LHEAD) $(LINT.s) $< $(LTAIL))
327 -
328 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.c
329 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
330 -
331 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.s
332 - @($(LHEAD) $(LINT.s) $< $(LTAIL))
333 -
334 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/zfs/%.c
335 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
336 -
337 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/fs/proc/%.c
338 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
339 -
340 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/ml/%.s
341 - @($(LHEAD) $(LINT.s) $< $(LTAIL))
342 -
343 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/os/%.c
344 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
345 -
346 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/promif/%.c
347 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
348 -
349 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/syscall/%.c
350 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
351 -
352 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/%.c
353 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
354 -
355 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.s
356 - @($(LHEAD) $(LINT.s) $< $(LTAIL))
357 -
358 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.c
359 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
360 -
361 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/events/%.c
362 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
363 -
364 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/hardware/%.c
365 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
366 -
367 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/dispatcher/%.c
368 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
369 -
370 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/executer/%.c
371 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
372 -
373 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/parser/%.c
374 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
375 -
376 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/namespace/%.c
377 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
378 -
379 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/resources/%.c
380 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
381 -
382 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/tables/%.c
383 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
384 -
385 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/utilities/%.c
386 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
387 -
388 -$(LINTS_DIR)/%.ln: $(SRC)/common/acpica/disassembler/%.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/hotplug/pcicfg/%.c
401 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
402 -
403 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pci/%.c
404 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
405 -
406 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/intel_nb5000/%.c
407 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
408 -
409 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/intel_nhm/%.c
410 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
411 -
412 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/ipmi/%.c
413 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
414 -
415 -$(LINTS_DIR)/%.ln: $(SRC)/common/mc/mc-amd/%.c
416 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
417 -
418 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/mc-amd/%.c
419 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
420 -
421 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pci/%.c
422 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
423 -
424 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pciex/%.c
425 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
426 -
427 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/controller/ata/%.c
428 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
429 -
430 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/dcdev/%.c
431 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
432 -
433 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/disk/%.c
434 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
435 -
436 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/drvobj/%.c
437 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
438 -
439 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c
440 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
441 -
442 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dnet/%.c
443 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
444 -
445 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/targets/%.c
446 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
447 -
448 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/vgatext/%.c
449 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
450 -
451 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/vmxnet3s/%.c
452 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
453 -
454 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/adapters/pvscsi/%.c
455 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
456 -
457 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/os/%.c
458 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
459 -
460 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/pcbe/%.c
461 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
462 -
463 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/promif/%.c
464 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
465 -
466 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/syscall/%.c
467 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
468 -
469 -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/os/%.c
470 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
471 -
472 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.c
473 - @($(LHEAD) $(LINT.c) $< $(LTAIL))
474 -
475 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.s
476 - @($(LHEAD) $(LINT.s) $< $(LTAIL))
477 -
478 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/nskern/%.s
479 - @($(LHEAD) $(LINT.s) $< $(LTAIL))
480 -
481 -#
482 -# krtld lints
483 -#
484 -$(LINTS_DIR)/%.ln: $(UTSBASE)/common/krtld/%.c
485 - @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
486 -
487 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c
488 - @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
489 -
490 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s
491 - @($(LHEAD) $(LINT.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
492 -
493 -$(LINTS_DIR)/%.ln: $(SRC)/common/util/$(SUBARCH_DIR)/%.c
494 - @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
495 -
496 -$(OBJS_DIR)/kobj.ln := CPPFLAGS += -D_DBOOT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX