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_X86_64 = i386
11 INSTINC_SUBDIRS_X86_64H = i386
12 INSTINC_SUBDIRS_ARM = arm arm64
13 INSTINC_SUBDIRS_ARM64 = arm arm64
15 EXPINC_SUBDIRS = machine
16 EXPINC_SUBDIRS_X86_64 = i386
17 EXPINC_SUBDIRS_X86_64H = i386
18 EXPINC_SUBDIRS_ARM = arm arm64
19 EXPINC_SUBDIRS_ARM64 = arm arm64
32 host_notify_reply.defs \
41 mach_voucher_attr_control.defs \
47 telemetry_notification.defs \
53 coalition_notification.defs \
56 memory_object_control.defs \
57 memory_object_default.defs \
58 sysdiagnose_notification.defs \
63 # MIG-generated headers that are traditionally used by user
67 audit_triggers_server.h \
68 clock_reply_server.h \
69 coalition_notification_server.h \
72 memory_object_server.h \
73 memory_object_default_server.h \
75 task_access_server.h \
76 telemetry_notification_server.h \
77 sysdiagnose_notification_server.h
89 mach_voucher_attr_control.h \
90 memory_object_control.h \
99 MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
110 host_special_ports.h \
117 mach_voucher_types.h \
120 memory_object_types.h \
124 mig_voucher_support.h \
133 shared_memory_server.h \
140 task_special_ports.h \
143 thread_special_ports.h \
164 PRIVATE_DATAFILES = \
167 coalition_notification.defs \
171 memory_object_types.h \
177 sysdiagnose_notification.defs \
184 INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES}
186 INSTALL_KF_MI_LIST = \
188 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
190 INSTALL_KF_MI_LCL_LIST = \
193 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
195 INSTALL_MI_GEN_LIST =
197 INSTALL_MI_DIR = mach
200 branch_predicates.h \
206 EXPORT_MI_GEN_LIST = \
211 ${MIGINCLUDES} : ${MIG_TYPES}
216 $(_v)$(MIG) $(MIGFLAGS) \
225 $(_v)$(MIG) $(MIGFLAGS) \
236 INCFLAGS_MAKEFILE= -I..
238 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
239 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
241 # MIG-generated headers that are traditionally used by kernel
248 host_notify_reply.h \
252 memory_object_control.h \
253 memory_object_default.h \
259 audit_triggers_user.c \
261 coalition_notification_user.c \
263 host_notify_reply_user.c \
266 memory_object_user.c \
267 memory_object_control_user.c \
268 memory_object_default_user.c \
270 telemetry_notification_user.c \
273 sysdiagnose_notification_user.c
277 clock_priv_server.h \
280 host_security_server.h \
284 mach_notify_server.h \
287 mach_voucher_server.h \
288 mach_voucher_attr_control_server.h \
289 memory_object_server.h \
290 memory_object_control_server.h \
291 memory_object_default_server.h \
293 processor_set_server.h \
295 thread_act_server.h \
302 clock_priv_server.c \
305 host_security_server.c \
309 mach_notify_server.c \
312 mach_voucher_server.c \
313 mach_voucher_attr_control_server.c \
314 memory_object_server.c \
315 memory_object_control_server.c \
316 memory_object_default_server.c \
318 processor_set_server.c \
320 thread_act_server.c \
327 # Since there are two generated header files with the same name, one for
328 # install and export, the other for internal use (and they are different)
329 # we can't explicitly list two rules for the same target. So rules for
330 # generating internal headers will be handled implicitly by creating rules
331 # to generate the internal C sources, and the headers get created as a
335 # This is all temporary scaffolding, as we are moving to a model where
336 # the MIG-generated code is identical in all environments. At first, it
337 # will contain some environment-specific ifdefs, but over time should not
338 # even require that as we move towards making all the environments look
341 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
343 do_build_all:: $(COMP_FILES)
345 ${COMP_FILES} : ${MIG_TYPES}
350 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
360 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
363 -server $*_server.c \
364 -sheader $*_server.h \
367 include $(MakeInc_rule)
368 include $(MakeInc_dir)