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 2012 Joyent, Inc. All rights reserved.
25 #
26
27 #
28 # This Makefile defines all file modules and build rules for the
29 # directory uts/intel and its children. These are the source files which
30 # are specific to the intel processor.
31 #
32 # The following two-level ordering must be maintained in this file.
33 # Lines are sorted first in order of decreasing specificity based on
34 # the first directory component. That is, sun4u rules come before
35 # sparc rules come before common rules.
36 #
37 # Lines whose initial directory components are equal are sorted
38 # alphabetically by the remaining components.
39
40 #
41 # Need a way to distinguish between the ia32 and amd64 subdirs.
42 #
43 SUBARCH_DIR_32 = ia32
44 SUBARCH_DIR_64 = amd64
84
85 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/promif/%.c
86 $(COMPILE.c) -o $@ $<
87 $(CTFCONVERT_O)
88
89 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/syscall/%.c
90 $(COMPILE.c) -o $@ $<
91 $(CTFCONVERT_O)
92
93 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/%.c
94 $(COMPILE.c) -o $@ $<
95 $(CTFCONVERT_O)
96
97 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.c
98 $(COMPILE.c) -o $@ $<
99 $(CTFCONVERT_O)
100
101 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.s
102 $(COMPILE.s) -o $@ $<
103
104 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/debugger/%.c
105 $(COMPILE.c) -o $@ $<
106 $(CTFCONVERT_O)
107
108 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/events/%.c
109 $(COMPILE.c) -o $@ $<
110 $(CTFCONVERT_O)
111
112 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/hardware/%.c
113 $(COMPILE.c) -o $@ $<
114 $(CTFCONVERT_O)
115
116 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/dispatcher/%.c
117 $(COMPILE.c) -o $@ $<
118 $(CTFCONVERT_O)
119
120 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/executer/%.c
121 $(COMPILE.c) -o $@ $<
122 $(CTFCONVERT_O)
123
124 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/parser/%.c
125 $(COMPILE.c) -o $@ $<
126 $(CTFCONVERT_O)
127
128 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/namespace/%.c
129 $(COMPILE.c) -o $@ $<
130 $(CTFCONVERT_O)
131
132 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/resources/%.c
133 $(COMPILE.c) -o $@ $<
134 $(CTFCONVERT_O)
135
136 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/tables/%.c
137 $(COMPILE.c) -o $@ $<
138 $(CTFCONVERT_O)
139
140 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/utilities/%.c
141 $(COMPILE.c) -o $@ $<
142 $(CTFCONVERT_O)
143
144 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/disassembler/%.c
145 $(COMPILE.c) -o $@ $<
146 $(CTFCONVERT_O)
147
148 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpgart/%.c
149 $(COMPILE.c) -o $@ $<
150 $(CTFCONVERT_O)
151
152 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpmaster/%.c
153 $(COMPILE.c) -o $@ $<
154 $(CTFCONVERT_O)
155
156 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amd8111s/%.c
157 $(COMPILE.c) -o $@ $<
158 $(CTFCONVERT_O)
159
160 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amr/%.c
161 $(COMPILE.c) -o $@ $<
162 $(CTFCONVERT_O)
163
164 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/drm/%.c
338 @($(LHEAD) $(LINT.s) $< $(LTAIL))
339
340 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/os/%.c
341 @($(LHEAD) $(LINT.c) $< $(LTAIL))
342
343 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/promif/%.c
344 @($(LHEAD) $(LINT.c) $< $(LTAIL))
345
346 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/syscall/%.c
347 @($(LHEAD) $(LINT.c) $< $(LTAIL))
348
349 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/%.c
350 @($(LHEAD) $(LINT.c) $< $(LTAIL))
351
352 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.s
353 @($(LHEAD) $(LINT.s) $< $(LTAIL))
354
355 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.c
356 @($(LHEAD) $(LINT.c) $< $(LTAIL))
357
358 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/debugger/%.c
359 @($(LHEAD) $(LINT.c) $< $(LTAIL))
360
361 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/events/%.c
362 @($(LHEAD) $(LINT.c) $< $(LTAIL))
363
364 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/hardware/%.c
365 @($(LHEAD) $(LINT.c) $< $(LTAIL))
366
367 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/dispatcher/%.c
368 @($(LHEAD) $(LINT.c) $< $(LTAIL))
369
370 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/executer/%.c
371 @($(LHEAD) $(LINT.c) $< $(LTAIL))
372
373 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/parser/%.c
374 @($(LHEAD) $(LINT.c) $< $(LTAIL))
375
376 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/namespace/%.c
377 @($(LHEAD) $(LINT.c) $< $(LTAIL))
378
379 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/resources/%.c
380 @($(LHEAD) $(LINT.c) $< $(LTAIL))
381
382 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/tables/%.c
383 @($(LHEAD) $(LINT.c) $< $(LTAIL))
384
385 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/utilities/%.c
386 @($(LHEAD) $(LINT.c) $< $(LTAIL))
387
388 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/disassembler/%.c
389 @($(LHEAD) $(LINT.c) $< $(LTAIL))
390
391 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpgart/%.c
392 @($(LHEAD) $(LINT.c) $< $(LTAIL))
393
394 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpmaster/%.c
395 @($(LHEAD) $(LINT.c) $< $(LTAIL))
396
397 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amd8111s/%.c
398 @($(LHEAD) $(LINT.c) $< $(LTAIL))
399
400 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amr/%.c
401 @($(LHEAD) $(LINT.c) $< $(LTAIL))
402
403 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c
404 @($(LHEAD) $(LINT.c) $< $(LTAIL))
405
406 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/drm/%.c
407 @($(LHEAD) $(LINT.c) $< $(LTAIL))
408
|
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 #
23 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
25 # Copyright 2012 Joyent, Inc. All rights reserved.
26 # Copyright 2013 Nexenta Systems, Inc. All rights reserved.
27 #
28
29 #
30 # This Makefile defines all file modules and build rules for the
31 # directory uts/intel and its children. These are the source files which
32 # are specific to the intel processor.
33 #
34 # The following two-level ordering must be maintained in this file.
35 # Lines are sorted first in order of decreasing specificity based on
36 # the first directory component. That is, sun4u rules come before
37 # sparc rules come before common rules.
38 #
39 # Lines whose initial directory components are equal are sorted
40 # alphabetically by the remaining components.
41
42 #
43 # Need a way to distinguish between the ia32 and amd64 subdirs.
44 #
45 SUBARCH_DIR_32 = ia32
46 SUBARCH_DIR_64 = amd64
86
87 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/promif/%.c
88 $(COMPILE.c) -o $@ $<
89 $(CTFCONVERT_O)
90
91 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/ia32/syscall/%.c
92 $(COMPILE.c) -o $@ $<
93 $(CTFCONVERT_O)
94
95 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/%.c
96 $(COMPILE.c) -o $@ $<
97 $(CTFCONVERT_O)
98
99 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.c
100 $(COMPILE.c) -o $@ $<
101 $(CTFCONVERT_O)
102
103 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/acpica/%.s
104 $(COMPILE.s) -o $@ $<
105
106 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/debugger/%.c
107 $(COMPILE.c) -o $@ $<
108 $(CTFCONVERT_O)
109
110 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/disassembler/%.c
111 $(COMPILE.c) -o $@ $<
112 $(CTFCONVERT_O)
113
114 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/dispatcher/%.c
115 $(COMPILE.c) -o $@ $<
116 $(CTFCONVERT_O)
117
118 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/events/%.c
119 $(COMPILE.c) -o $@ $<
120 $(CTFCONVERT_O)
121
122 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/executer/%.c
123 $(COMPILE.c) -o $@ $<
124 $(CTFCONVERT_O)
125
126 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/hardware/%.c
127 $(COMPILE.c) -o $@ $<
128 $(CTFCONVERT_O)
129
130 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/namespace/%.c
131 $(COMPILE.c) -o $@ $<
132 $(CTFCONVERT_O)
133
134 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/parser/%.c
135 $(COMPILE.c) -o $@ $<
136 $(CTFCONVERT_O)
137
138 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/resources/%.c
139 $(COMPILE.c) -o $@ $<
140 $(CTFCONVERT_O)
141
142 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/tables/%.c
143 $(COMPILE.c) -o $@ $<
144 $(CTFCONVERT_O)
145
146 $(OBJS_DIR)/%.o: $(SRC)/common/acpica/components/utilities/%.c
147 $(COMPILE.c) -o $@ $<
148 $(CTFCONVERT_O)
149
150 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpgart/%.c
151 $(COMPILE.c) -o $@ $<
152 $(CTFCONVERT_O)
153
154 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/agpmaster/%.c
155 $(COMPILE.c) -o $@ $<
156 $(CTFCONVERT_O)
157
158 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amd8111s/%.c
159 $(COMPILE.c) -o $@ $<
160 $(CTFCONVERT_O)
161
162 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/amr/%.c
163 $(COMPILE.c) -o $@ $<
164 $(CTFCONVERT_O)
165
166 $(OBJS_DIR)/%.o: $(UTSBASE)/intel/io/drm/%.c
340 @($(LHEAD) $(LINT.s) $< $(LTAIL))
341
342 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/os/%.c
343 @($(LHEAD) $(LINT.c) $< $(LTAIL))
344
345 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/promif/%.c
346 @($(LHEAD) $(LINT.c) $< $(LTAIL))
347
348 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/ia32/syscall/%.c
349 @($(LHEAD) $(LINT.c) $< $(LTAIL))
350
351 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/%.c
352 @($(LHEAD) $(LINT.c) $< $(LTAIL))
353
354 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.s
355 @($(LHEAD) $(LINT.s) $< $(LTAIL))
356
357 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/acpica/%.c
358 @($(LHEAD) $(LINT.c) $< $(LTAIL))
359
360 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/debugger/%.c
361 @($(LHEAD) $(LINT.c) $< $(LTAIL))
362
363 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/events/%.c
364 @($(LHEAD) $(LINT.c) $< $(LTAIL))
365
366 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/hardware/%.c
367 @($(LHEAD) $(LINT.c) $< $(LTAIL))
368
369 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/dispatcher/%.c
370 @($(LHEAD) $(LINT.c) $< $(LTAIL))
371
372 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/executer/%.c
373 @($(LHEAD) $(LINT.c) $< $(LTAIL))
374
375 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/parser/%.c
376 @($(LHEAD) $(LINT.c) $< $(LTAIL))
377
378 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/namespace/%.c
379 @($(LHEAD) $(LINT.c) $< $(LTAIL))
380
381 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/resources/%.c
382 @($(LHEAD) $(LINT.c) $< $(LTAIL))
383
384 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/tables/%.c
385 @($(LHEAD) $(LINT.c) $< $(LTAIL))
386
387 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/utilities/%.c
388 @($(LHEAD) $(LINT.c) $< $(LTAIL))
389
390 $(LINTS_DIR)/%.ln: $(SRC)/common/acpica/components/disassembler/%.c
391 @($(LHEAD) $(LINT.c) $< $(LTAIL))
392
393 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpgart/%.c
394 @($(LHEAD) $(LINT.c) $< $(LTAIL))
395
396 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/agpmaster/%.c
397 @($(LHEAD) $(LINT.c) $< $(LTAIL))
398
399 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amd8111s/%.c
400 @($(LHEAD) $(LINT.c) $< $(LTAIL))
401
402 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/amr/%.c
403 @($(LHEAD) $(LINT.c) $< $(LTAIL))
404
405 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/scsi/adapters/arcmsr/%.c
406 @($(LHEAD) $(LINT.c) $< $(LTAIL))
407
408 $(LINTS_DIR)/%.ln: $(UTSBASE)/intel/io/drm/%.c
409 @($(LHEAD) $(LINT.c) $< $(LTAIL))
410
|