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