]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd |
2 | export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def | |
3 | export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule | |
4 | export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir | |
5 | ||
91447636 A |
6 | # |
7 | # VM should be warning free | |
8 | # | |
9 | export device_vm.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
10 | export device_vm.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
11 | export memory_object.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
12 | export memory_object.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
13 | export task_working_set.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
14 | export task_working_set.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
15 | export vm_debug.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
16 | export vm_debug.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
17 | export vm_external.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
18 | export vm_external.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
19 | export vm_fault.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
20 | export vm_fault.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
21 | export vm_init.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
22 | export vm_init.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
23 | export vm_kern.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
24 | export vm_kern.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
25 | export vm_map.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
26 | export vm_map.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
27 | export vm_object.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
28 | export vm_object.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
29 | export vm_pageout.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
30 | export vm_pageout.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
31 | export vm_resident.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
32 | export vm_resident.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
33 | export vm_shared_memory_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
34 | export vm_shared_memory_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
35 | export vm_user.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
36 | export vm_user.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
37 | export bsd_vm.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
38 | export bsd_vm.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
39 | export default_pager.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
40 | export default_pager.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
41 | export dp_backing_store.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
42 | export dp_backing_store.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
43 | export dp_memory_object.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
44 | export dp_memory_object.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
45 | export default_pager_alerts_user.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
46 | export default_pager_alerts_user.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
47 | export default_pager_alerts_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
48 | export default_pager_alerts_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
49 | export memory_object_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
50 | export memory_object_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
51 | export memory_object_control_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
52 | export memory_object_control_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
53 | export memory_object_default_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
54 | export memory_object_default_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
55 | export memory_object_name_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
56 | export memory_object_name_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
57 | export upl_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
58 | export upl_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
59 | export vm_map_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
60 | export vm_map_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
61 | ||
62 | # | |
63 | # ipc should be warning free | |
64 | # | |
65 | export ipc_entry.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
66 | export ipc_entry.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
67 | export ipc_hash.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
68 | export ipc_hash.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
69 | export ipc_init.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
70 | export ipc_init.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
71 | export ipc_kmsg.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
72 | export ipc_kmsg.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
73 | export ipc_mqueue.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
74 | export ipc_mqueue.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
75 | export ipc_notify.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
76 | export ipc_notify.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
77 | export ipc_object.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
78 | export ipc_object.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
79 | export ipc_port.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
80 | export ipc_port.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
81 | export ipc_pset.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
82 | export ipc_pset.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
83 | export ipc_right.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
84 | export ipc_right.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
85 | export ipc_space.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
86 | export ipc_space.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
87 | export ipc_splay.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
88 | export ipc_splay.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
89 | export ipc_table.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
90 | export ipc_table.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91 | export mach_debug.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
92 | export mach_debug.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
93 | export mach_msg.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
94 | export mach_msg.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
95 | export mach_port.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
96 | export mach_port.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
97 | export mig_log.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
98 | export mig_log.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
99 | export ipc_clock.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
100 | export ipc_clock.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
101 | export ipc_host.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
102 | export ipc_host.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
103 | export ipc_kobject.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
104 | export ipc_kobject.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
105 | export ipc_mig.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
106 | export ipc_mig.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
107 | export ipc_sync.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
108 | export ipc_sync.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
109 | export ipc_tt.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
110 | export ipc_tt.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
111 | export sync_lock.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
112 | export sync_lock.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
113 | export sync_sema.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
114 | export sync_sema.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
115 | export mach_port_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
116 | export mach_port_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
117 | export lock_set_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
118 | export lock_set_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
119 | export semaphore_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
120 | export semaphore_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
121 | |
122 | # | |
123 | # kern should be warning free (almost) | |
124 | # | |
125 | # export debug.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
126 | # export debug.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
127 | # export printf.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
128 | # export printf.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
129 | # export xpr.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
130 | # export xpr.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
131 | # export mk_sp.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
132 | # export mk_sp.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
133 | # export syscall_emulation.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
134 | # export syscall_emulation.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
135 | # export bsd_kern.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
136 | # export bsd_kern.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
137 | # | |
138 | export ast.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
139 | export ast.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
140 | export clock.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
141 | export clock.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
142 | export counters.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
143 | export counters.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
144 | export exception.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
145 | export exception.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
146 | export host.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
147 | export host.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
148 | export host_notify.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
149 | export host_notify.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
150 | export kalloc.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
151 | export kalloc.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
152 | export ledger.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
153 | export ledger.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
154 | export locks.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
155 | export locks.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
156 | export mach_clock.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
157 | export mach_clock.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
158 | export mach_factor.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
159 | export mach_factor.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
160 | export machine.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
161 | export machine.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
162 | export mk_timer.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
163 | export mk_timer.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
164 | export profile.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
165 | export profile.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
166 | export priority.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
167 | export priority.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
168 | export processor.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
169 | export processor.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
170 | export processor_data.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
171 | export processor_data.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
172 | export queue.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
173 | export queue.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
174 | export sched_prim.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
175 | export sched_prim.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
176 | export sscanf.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
177 | export sscanf.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
178 | export stack.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
179 | export stack.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
180 | export startup.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
181 | export startup.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
182 | export syscall_subr.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
183 | export syscall_subr.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
184 | export syscall_sw.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
185 | export syscall_sw.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
186 | export task.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
187 | export task.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
188 | export task_policy.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
189 | export task_policy.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
190 | export task_swap.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
191 | export task_swap.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
192 | export thread.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
193 | export thread.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
194 | export thread_act.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
195 | export thread_act.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
196 | export thread_call.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
197 | export thread_call.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
198 | export thread_policy.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
199 | export thread_policy.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
200 | export thread_swap.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
201 | export thread_swap.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
202 | export timer.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
203 | export timer.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
204 | export timer_call.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
205 | export timer_call.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
206 | export wait_queue.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
207 | export wait_queue.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
208 | export zalloc.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
209 | export zalloc.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
210 | export clock_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
211 | export clock_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
212 | export clock_priv_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
213 | export clock_priv_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
214 | export clock_reply_user.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
215 | export clock_reply_user.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
216 | export exc_user.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
217 | export exc_user.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
218 | export exc_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
219 | export exc_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
220 | export host_priv_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
221 | export host_priv_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
222 | export host_security_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
223 | export host_security_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
224 | export ledger_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
225 | export ledger_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
226 | export mach_host_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
227 | export mach_host_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
228 | export mach_notify_user.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
229 | export mach_notify_user.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
230 | export processor_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
231 | export processor_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
232 | export processor_set_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
233 | export processor_set_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
91447636 A |
234 | export prof_user.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
235 | export prof_user.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
8ad349bb A |
236 | export task_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) |
237 | export task_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
238 | export thread_act_server.o_CFLAGS_RM=$(CWARNFLAGS_STD) | |
239 | export thread_act_server.o_CFLAGS_ADD=-Werror $(CWARNFLAGS_STD) | |
1c79356b A |
240 | |
241 | include $(MakeInc_cmd) | |
242 | include $(MakeInc_def) | |
243 | ||
244 | SETUP_SUBDIRS = \ | |
245 | tools | |
246 | ||
247 | COMP_SUBDIRS = | |
248 | ||
249 | INST_SUBDIRS = | |
250 | ||
251 | ifndef OSFMK_KERNEL_CONFIG | |
252 | export OSFMK_KERNEL_CONFIG = $(KERNEL_CONFIG) | |
253 | endif | |
254 | ||
55e303ae | 255 | export COMPOBJROOT=$(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT) |
1c79356b A |
256 | |
257 | $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/doconf: | |
258 | make build_setup | |
259 | ||
260 | $(COMPOBJROOT)/$(OSFMK_KERNEL_CONFIG)/Makefile: $(SOURCE)/MASTER \ | |
0b4e3aa0 | 261 | $(SOURCE)/MASTER.$(ARCH_CONFIG_LC) \ |
1c79356b | 262 | $(SOURCE)/Makefile.template \ |
0b4e3aa0 | 263 | $(SOURCE)/Makefile.$(ARCH_CONFIG_LC) \ |
1c79356b | 264 | $(SOURCE)/files \ |
0b4e3aa0 | 265 | $(SOURCE)/files.$(ARCH_CONFIG_LC) \ |
1c79356b A |
266 | $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/doconf |
267 | @echo "Running doconf for $(OSFMK_KERNEL_CONFIG)"; | |
268 | (doconf_target=$(addsuffix /conf, $(TARGET)); \ | |
269 | echo $${doconf_target};\ | |
270 | $(MKDIR) $${doconf_target}; \ | |
271 | cd $${doconf_target}; \ | |
272 | rm -f $(notdir $?); \ | |
273 | cp $? $${doconf_target}; \ | |
0b4e3aa0 | 274 | $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/doconf -c -cpu $(ARCH_CONFIG_LC) -d $(TARGET)/$(OSFMK_KERNEL_CONFIG) $(OSFMK_KERNEL_CONFIG); \ |
1c79356b A |
275 | ); |
276 | ||
277 | $(COMPOBJROOT)/$(OSFMK_KERNEL_CONFIG)/platforms.h: $(COMPOBJROOT)/$(OSFMK_KERNEL_CONFIG)/Makefile | |
278 | (cd $(COMPOBJROOT)/$(OSFMK_KERNEL_CONFIG); \ | |
279 | ${RM} $@; \ | |
280 | ${LN} cputypes.h $@; \ | |
281 | ) | |
282 | ||
283 | do_setup_conf: $(OBJROOT)/$(KERNEL_CONFIG)_$(ARCH_CONFIG)/$(COMPONENT)/doconf \ | |
284 | $(COMPOBJROOT)/$(OSFMK_KERNEL_CONFIG)/Makefile \ | |
285 | $(COMPOBJROOT)/$(OSFMK_KERNEL_CONFIG)/platforms.h | |
286 | ||
287 | do_all: do_setup_conf | |
288 | @echo "[ $(SOURCE) ] Starting do_all $(COMPONENT) $(OSFMK_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; \ | |
1c79356b | 289 | next_source=$(subst conf/,,$(SOURCE)); \ |
9bccf70c A |
290 | ${MAKE} -C $(COMPOBJROOT)/$(OSFMK_KERNEL_CONFIG) \ |
291 | MAKEFILES=$(TARGET)/$(OSFMK_KERNEL_CONFIG)/Makefile \ | |
1c79356b A |
292 | SOURCE=$${next_source} \ |
293 | TARGET=$(TARGET) \ | |
0b4e3aa0 | 294 | INCL_MAKEDEP=FALSE \ |
55e303ae | 295 | KERNEL_CONFIG=$(OSFMK_KERNEL_CONFIG) \ |
9bccf70c | 296 | build_all; \ |
1c79356b A |
297 | echo "[ $(SOURCE) ] Returning do_all $(COMPONENT) $(OSFMK_KERNEL_CONFIG) $(ARCH_CONFIG) $(TARGET)"; |
298 | ||
299 | do_build_all: do_all | |
300 | ||
301 | include $(MakeInc_rule) | |
302 | include $(MakeInc_dir) | |
303 |