Print this page
8956 Implement KPTI
Reviewed by: Jerry Jelinek <jerry.jelinek@joyent.com>
Reviewed by: Robert Mustacchi <rm@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 2012 Joyent, Inc. All rights reserved.
24 +# Copyright 2018 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: $(UTSBASE)/intel/io/acpica/debugger/%.c
106 106 $(COMPILE.c) -o $@ $<
107 107 $(CTFCONVERT_O)
108 108
109 109 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/events/%.c
110 110 $(COMPILE.c) -o $@ $<
111 111 $(CTFCONVERT_O)
112 112
113 113 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/hardware/%.c
114 114 $(COMPILE.c) -o $@ $<
115 115 $(CTFCONVERT_O)
116 116
117 117 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/dispatcher/%.c
118 118 $(COMPILE.c) -o $@ $<
119 119 $(CTFCONVERT_O)
120 120
121 121 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/executer/%.c
122 122 $(COMPILE.c) -o $@ $<
123 123 $(CTFCONVERT_O)
124 124
125 125 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/parser/%.c
126 126 $(COMPILE.c) -o $@ $<
127 127 $(CTFCONVERT_O)
128 128
129 129 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/namespace/%.c
130 130 $(COMPILE.c) -o $@ $<
131 131 $(CTFCONVERT_O)
132 132
133 133 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/resources/%.c
134 134 $(COMPILE.c) -o $@ $<
135 135 $(CTFCONVERT_O)
136 136
137 137 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/tables/%.c
138 138 $(COMPILE.c) -o $@ $<
139 139 $(CTFCONVERT_O)
140 140
141 141 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/utilities/%.c
142 142 $(COMPILE.c) -o $@ $<
143 143 $(CTFCONVERT_O)
144 144
145 145 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/disassembler/%.c
146 146 $(COMPILE.c) -o $@ $<
147 147 $(CTFCONVERT_O)
148 148
149 149 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpgart/%.c
150 150 $(COMPILE.c) -o $@ $<
151 151 $(CTFCONVERT_O)
152 152
153 153 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpmaster/%.c
154 154 $(COMPILE.c) -o $@ $<
155 155 $(CTFCONVERT_O)
156 156
157 157 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amd8111s/%.c
158 158 $(COMPILE.c) -o $@ $<
159 159 $(CTFCONVERT_O)
160 160
161 161 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amr/%.c
162 162 $(COMPILE.c) -o $@ $<
163 163 $(CTFCONVERT_O)
164 164
165 165 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/drm/%.c
166 166 $(COMPILE.c) -o $@ $<
167 167 $(CTFCONVERT_O)
168 168
169 169 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c
170 170 $(COMPILE.c) -o $@ $<
171 171 $(CTFCONVERT_O)
172 172
173 173 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/ipmi/%.c
174 174 $(COMPILE.c) -o $@ $<
175 175 $(CTFCONVERT_O)
176 176
177 177 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/intel_nb5000/%.c
178 178 $(COMPILE.c) -o $@ $<
179 179 $(CTFCONVERT_O)
180 180
181 181 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/intel_nhm/%.c
182 182 $(COMPILE.c) -o $@ $<
183 183 $(CTFCONVERT_O)
184 184
185 185 $(OBJS_DIR)/%.o: $(SRC)/common/mc/mc-amd/%.c
186 186 $(COMPILE.c) -o $@ $<
187 187 $(CTFCONVERT_O)
188 188
189 189 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/mc-amd/%.c
190 190 $(COMPILE.c) -o $@ $<
191 191 $(CTFCONVERT_O)
192 192
193 193 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pci/%.c
194 194 $(COMPILE.c) -o $@ $<
195 195 $(CTFCONVERT_O)
196 196
197 197 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/pciex/%.c
198 198 $(COMPILE.c) -o $@ $<
199 199 $(CTFCONVERT_O)
200 200
201 201 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/controller/ata/%.c
202 202 $(COMPILE.c) -o $@ $<
203 203 $(CTFCONVERT_O)
204 204
205 205 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/dcdev/%.c
206 206 $(COMPILE.c) -o $@ $<
207 207 $(CTFCONVERT_O)
208 208
209 209 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/disk/%.c
210 210 $(COMPILE.c) -o $@ $<
211 211 $(CTFCONVERT_O)
212 212
213 213 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/drvobj/%.c
214 214 $(COMPILE.c) -o $@ $<
215 215 $(CTFCONVERT_O)
216 216
217 217 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c
218 218 $(COMPILE.c) -o $@ $<
219 219 $(CTFCONVERT_O)
220 220
221 221 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/dnet/%.c
222 222 $(COMPILE.c) -o $@ $<
223 223 $(CTFCONVERT_O)
224 224
225 225 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c
226 226 $(COMPILE.c) -o $@ $<
227 227 $(CTFCONVERT_O)
228 228
229 229 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/targets/%.c
230 230 $(COMPILE.c) -o $@ $<
231 231 $(CTFCONVERT_O)
232 232
233 233 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/vgatext/%.c
234 234 $(COMPILE.c) -o $@ $<
235 235 $(CTFCONVERT_O)
236 236
237 237 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/vmxnet3s/%.c
238 238 $(COMPILE.c) -o $@ $<
239 239 $(CTFCONVERT_O)
240 240
241 241 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/scsi/adapters/pvscsi/%.c
242 242 $(COMPILE.c) -o $@ $<
243 243 $(CTFCONVERT_O)
244 244
245 245 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/nskern/%.s
246 246 $(COMPILE.s) -o $@ $<
247 247
248 248 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/os/%.c
249 249 $(COMPILE.c) -o $@ $<
250 250 $(CTFCONVERT_O)
251 251
252 252 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/pcbe/%.c
253 253 $(COMPILE.c) -o $@ $<
254 254 $(CTFCONVERT_O)
255 255
256 256 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/promif/%.c
257 257 $(COMPILE.c) -o $@ $<
258 258 $(CTFCONVERT_O)
259 259
260 260 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/syscall/%.c
261 261 $(COMPILE.c) -o $@ $<
262 262 $(CTFCONVERT_O)
263 263
264 264 $(OBJS_DIR)/%.o: $(UTSBASE)/common/os/%.c
↓ open down ↓ |
230 lines elided |
↑ open up ↑ |
265 265 $(COMPILE.c) -o $@ $<
266 266 $(CTFCONVERT_O)
267 267
268 268 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.c
269 269 $(COMPILE.c) -o $@ $<
270 270 $(CTFCONVERT_O)
271 271
272 272 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/%.s
273 273 $(COMPILE.s) -o $@ $<
274 274
275 -$(OBJS_DIR)/%.o: $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s
276 - $(COMPILE.s) -o $@ $<
277 -
278 275 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/zfs/%.c
279 276 $(COMPILE.c) -o $@ $<
280 277 $(CTFCONVERT_O)
281 278
282 279 #
283 280 # krtld compiled into unix
284 281 #
285 282
286 283 KRTLD_INC_PATH = -I$(UTSBASE)/common/krtld -I$(UTSBASE)/intel/sys
287 284 KRTLD_INC_PATH += -I$(UTSBASE)/intel/$(SUBARCH_DIR)/krtld
288 285
289 286 KRTLD_CPPFLAGS_32 = -DELF_TARGET_386
290 287 KRTLD_CPPFLAGS_64 = -DELF_TARGET_AMD64 -DMODDIR_SUFFIX=\"amd64\"
291 288 KRTLD_CPPFLAGS = $(KRTLD_CPPFLAGS_$(CLASS)) -D_KRTLD
292 289
293 290 $(OBJS_DIR)/%.o: $(UTSBASE)/common/krtld/%.c
294 291 $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
295 292 $(CTFCONVERT_O)
296 293
297 294 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c
298 295 $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
299 296 $(CTFCONVERT_O)
300 297
301 298 #
302 299 # _DBOOT indicates that krtld is called from a dboot ELF section
303 300 #
304 301 $(OBJS_DIR)/kobj.o := CPPFLAGS += -D_DBOOT
305 302
306 303 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s
307 304 $(COMPILE.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
308 305 $(CTFCONVERT_O)
309 306
310 307 $(OBJS_DIR)/%.o: $(SRC)/common/util/$(SUBARCH_DIR)/%.c
311 308 $(COMPILE.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) -o $@ $<
312 309 $(CTFCONVERT_O)
313 310
314 311
315 312 #
316 313 # Section 1b: Lint `object' build rules.
317 314 #
318 315 $(LINTS_DIR)/%.ln: $(SRC)/common/fs/%.c
319 316 @($(LHEAD) $(LINT.c) $< $(LTAIL))
320 317
321 318 $(LINTS_DIR)/%.ln: $(SRC)/common/util/i386/%.s
322 319 @($(LHEAD) $(LINT.s) $< $(LTAIL))
323 320
324 321 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/sn1/%.s
325 322 @($(LHEAD) $(LINT.s) $< $(LTAIL))
326 323
327 324 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/brand/solaris10/%.s
328 325 @($(LHEAD) $(LINT.s) $< $(LTAIL))
329 326
330 327 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.c
331 328 @($(LHEAD) $(LINT.c) $< $(LTAIL))
332 329
333 330 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/dtrace/%.s
334 331 @($(LHEAD) $(LINT.s) $< $(LTAIL))
335 332
336 333 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/zfs/%.c
337 334 @($(LHEAD) $(LINT.c) $< $(LTAIL))
338 335
339 336 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/fs/proc/%.c
340 337 @($(LHEAD) $(LINT.c) $< $(LTAIL))
341 338
342 339 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/ml/%.s
343 340 @($(LHEAD) $(LINT.s) $< $(LTAIL))
344 341
345 342 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/os/%.c
346 343 @($(LHEAD) $(LINT.c) $< $(LTAIL))
347 344
348 345 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/promif/%.c
349 346 @($(LHEAD) $(LINT.c) $< $(LTAIL))
350 347
351 348 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/syscall/%.c
352 349 @($(LHEAD) $(LINT.c) $< $(LTAIL))
353 350
354 351 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/%.c
355 352 @($(LHEAD) $(LINT.c) $< $(LTAIL))
356 353
357 354 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.s
358 355 @($(LHEAD) $(LINT.s) $< $(LTAIL))
359 356
360 357 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.c
361 358 @($(LHEAD) $(LINT.c) $< $(LTAIL))
362 359
363 360 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/debugger/%.c
364 361 @($(LHEAD) $(LINT.c) $< $(LTAIL))
365 362
366 363 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/events/%.c
367 364 @($(LHEAD) $(LINT.c) $< $(LTAIL))
368 365
369 366 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/hardware/%.c
370 367 @($(LHEAD) $(LINT.c) $< $(LTAIL))
371 368
372 369 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/dispatcher/%.c
373 370 @($(LHEAD) $(LINT.c) $< $(LTAIL))
374 371
375 372 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/executer/%.c
376 373 @($(LHEAD) $(LINT.c) $< $(LTAIL))
377 374
378 375 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/parser/%.c
379 376 @($(LHEAD) $(LINT.c) $< $(LTAIL))
380 377
381 378 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/namespace/%.c
382 379 @($(LHEAD) $(LINT.c) $< $(LTAIL))
383 380
384 381 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/resources/%.c
385 382 @($(LHEAD) $(LINT.c) $< $(LTAIL))
386 383
387 384 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/tables/%.c
388 385 @($(LHEAD) $(LINT.c) $< $(LTAIL))
389 386
390 387 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/utilities/%.c
391 388 @($(LHEAD) $(LINT.c) $< $(LTAIL))
392 389
393 390 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/disassembler/%.c
394 391 @($(LHEAD) $(LINT.c) $< $(LTAIL))
395 392
396 393 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpgart/%.c
397 394 @($(LHEAD) $(LINT.c) $< $(LTAIL))
398 395
399 396 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpmaster/%.c
400 397 @($(LHEAD) $(LINT.c) $< $(LTAIL))
401 398
402 399 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amd8111s/%.c
403 400 @($(LHEAD) $(LINT.c) $< $(LTAIL))
404 401
405 402 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amr/%.c
406 403 @($(LHEAD) $(LINT.c) $< $(LTAIL))
407 404
408 405 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c
409 406 @($(LHEAD) $(LINT.c) $< $(LTAIL))
410 407
411 408 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/drm/%.c
412 409 @($(LHEAD) $(LINT.c) $< $(LTAIL))
413 410
414 411 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pcicfg/%.c
415 412 @($(LHEAD) $(LINT.c) $< $(LTAIL))
416 413
417 414 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/hotplug/pci/%.c
418 415 @($(LHEAD) $(LINT.c) $< $(LTAIL))
419 416
420 417 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/intel_nb5000/%.c
421 418 @($(LHEAD) $(LINT.c) $< $(LTAIL))
422 419
423 420 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/intel_nhm/%.c
424 421 @($(LHEAD) $(LINT.c) $< $(LTAIL))
425 422
426 423 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/ipmi/%.c
427 424 @($(LHEAD) $(LINT.c) $< $(LTAIL))
428 425
429 426 $(LINTS_DIR)/%.ln: $(SRC)/common/mc/mc-amd/%.c
430 427 @($(LHEAD) $(LINT.c) $< $(LTAIL))
431 428
432 429 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/mc-amd/%.c
433 430 @($(LHEAD) $(LINT.c) $< $(LTAIL))
434 431
435 432 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pci/%.c
436 433 @($(LHEAD) $(LINT.c) $< $(LTAIL))
437 434
438 435 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/pciex/%.c
439 436 @($(LHEAD) $(LINT.c) $< $(LTAIL))
440 437
441 438 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/controller/ata/%.c
442 439 @($(LHEAD) $(LINT.c) $< $(LTAIL))
443 440
444 441 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/dcdev/%.c
445 442 @($(LHEAD) $(LINT.c) $< $(LTAIL))
446 443
447 444 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/disk/%.c
448 445 @($(LHEAD) $(LINT.c) $< $(LTAIL))
449 446
450 447 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/drvobj/%.c
451 448 @($(LHEAD) $(LINT.c) $< $(LTAIL))
452 449
453 450 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dktp/hba/ghd/%.c
454 451 @($(LHEAD) $(LINT.c) $< $(LTAIL))
455 452
456 453 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/dnet/%.c
457 454 @($(LHEAD) $(LINT.c) $< $(LTAIL))
458 455
459 456 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/targets/%.c
460 457 @($(LHEAD) $(LINT.c) $< $(LTAIL))
461 458
462 459 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/vgatext/%.c
463 460 @($(LHEAD) $(LINT.c) $< $(LTAIL))
464 461
465 462 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/vmxnet3s/%.c
466 463 @($(LHEAD) $(LINT.c) $< $(LTAIL))
467 464
468 465 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/adapters/pvscsi/%.c
469 466 @($(LHEAD) $(LINT.c) $< $(LTAIL))
470 467
471 468 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/os/%.c
472 469 @($(LHEAD) $(LINT.c) $< $(LTAIL))
473 470
474 471 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/pcbe/%.c
475 472 @($(LHEAD) $(LINT.c) $< $(LTAIL))
476 473
477 474 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/promif/%.c
478 475 @($(LHEAD) $(LINT.c) $< $(LTAIL))
479 476
480 477 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/syscall/%.c
481 478 @($(LHEAD) $(LINT.c) $< $(LTAIL))
↓ open down ↓ |
194 lines elided |
↑ open up ↑ |
482 479
483 480 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/os/%.c
484 481 @($(LHEAD) $(LINT.c) $< $(LTAIL))
485 482
486 483 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.c
487 484 @($(LHEAD) $(LINT.c) $< $(LTAIL))
488 485
489 486 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/%.s
490 487 @($(LHEAD) $(LINT.s) $< $(LTAIL))
491 488
492 -$(LINTS_DIR)/%.ln: $(UTSBASE)/intel/kdi/$(SUBARCH_DIR)/%.s
493 - @($(LHEAD) $(LINT.s) $< $(LTAIL))
494 -
495 489 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/nskern/%.s
496 490 @($(LHEAD) $(LINT.s) $< $(LTAIL))
497 491
498 492 #
499 493 # krtld lints
500 494 #
501 495 $(LINTS_DIR)/%.ln: $(UTSBASE)/common/krtld/%.c
502 496 @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
503 497
504 498 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.c
505 499 @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
506 500
507 501 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/$(SUBARCH_DIR)/krtld/%.s
508 502 @($(LHEAD) $(LINT.s) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
509 503
510 504 $(LINTS_DIR)/%.ln: $(SRC)/common/util/$(SUBARCH_DIR)/%.c
511 505 @($(LHEAD) $(LINT.c) $(KRTLD_INC_PATH) $(KRTLD_CPPFLAGS) $< $(LTAIL))
512 506
513 507 $(OBJS_DIR)/kobj.ln := CPPFLAGS += -D_DBOOT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX