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
9 INSTINC_SUBDIRS = machine
10 INSTINC_SUBDIRS_ARM = arm
11 INSTINC_SUBDIRS_X86_64 = i386
12 INSTINC_SUBDIRS_X86_64H = i386
14 EXPINC_SUBDIRS = machine
15 EXPINC_SUBDIRS_X86_64 = i386
16 EXPINC_SUBDIRS_X86_64H = i386
17 EXPINC_SUBDIRS_ARM = arm
30 host_notify_reply.defs \
39 mach_voucher_attr_control.defs \
45 telemetry_notification.defs \
51 coalition_notification.defs \
54 memory_object_control.defs \
55 memory_object_default.defs \
60 # MIG-generated headers that are traditionally used by user
64 audit_triggers_server.h \
65 clock_reply_server.h \
66 coalition_notification_server.h \
69 memory_object_server.h \
70 memory_object_default_server.h \
72 task_access_server.h \
73 telemetry_notification_server.h
85 mach_voucher_attr_control.h \
86 memory_object_control.h \
95 MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
106 host_special_ports.h \
113 mach_voucher_types.h \
116 memory_object_types.h \
120 mig_voucher_support.h \
129 shared_memory_server.h \
136 task_special_ports.h \
139 thread_special_ports.h \
160 INSTALL_MI_LCL_LIST = \
163 coalition_notification.defs \
166 INSTALL_KF_MI_LIST = \
168 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
170 INSTALL_KF_MI_LCL_LIST = \
172 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
174 INSTALL_MI_GEN_LIST =
176 INSTALL_MI_DIR = mach
179 branch_predicates.h \
184 EXPORT_MI_GEN_LIST = \
189 ${MIGINCLUDES} : ${MIG_TYPES}
194 $(_v)$(MIG) $(MIGFLAGS) \
203 $(_v)$(MIG) $(MIGFLAGS) \
214 INCFLAGS_MAKEFILE= -I..
216 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
217 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
219 # MIG-generated headers that are traditionally used by kernel
226 host_notify_reply.h \
230 memory_object_control.h \
231 memory_object_default.h \
237 audit_triggers_user.c \
239 coalition_notification_user.c \
241 host_notify_reply_user.c \
244 memory_object_user.c \
245 memory_object_control_user.c \
246 memory_object_default_user.c \
248 telemetry_notification_user.c \
254 clock_priv_server.h \
257 host_security_server.h \
261 mach_notify_server.h \
264 mach_voucher_server.h \
265 mach_voucher_attr_control_server.h \
266 memory_object_server.h \
267 memory_object_control_server.h \
268 memory_object_default_server.h \
270 processor_set_server.h \
272 thread_act_server.h \
279 clock_priv_server.c \
282 host_security_server.c \
286 mach_notify_server.c \
289 mach_voucher_server.c \
290 mach_voucher_attr_control_server.c \
291 memory_object_server.c \
292 memory_object_control_server.c \
293 memory_object_default_server.c \
295 processor_set_server.c \
297 thread_act_server.c \
304 # Since there are two generated header files with the same name, one for
305 # install and export, the other for internal use (and they are different)
306 # we can't explicitly list two rules for the same target. So rules for
307 # generating internal headers will be handled implicitly by creating rules
308 # to generate the internal C sources, and the headers get created as a
312 # This is all temporary scaffolding, as we are moving to a model where
313 # the MIG-generated code is identical in all environments. At first, it
314 # will contain some environment-specific ifdefs, but over time should not
315 # even require that as we move towards making all the environments look
318 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
320 do_build_all:: $(COMP_FILES)
322 ${COMP_FILES} : ${MIG_TYPES}
327 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
337 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
340 -server $*_server.c \
341 -sheader $*_server.h \
344 include $(MakeInc_rule)
345 include $(MakeInc_dir)