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
13 INSTINC_SUBDIRS_PPC = \
16 INSTINC_SUBDIRS_ARM = \
19 INSTINC_SUBDIRS_I386 = \
25 EXPINC_SUBDIRS_PPC = \
28 EXPINC_SUBDIRS_I386 = \
31 EXPINC_SUBDIRS_ARM = \
45 host_notify_reply.defs \
67 memory_object_control.defs \
68 memory_object_default.defs \
69 memory_object_name.defs \
73 # MIG-generated headers that are traditionally used by user
77 audit_triggers_server.h \
78 clock_reply_server.h \
81 memory_object_server.h \
82 memory_object_default_server.h \
96 memory_object_control.h \
97 memory_object_name.h \
107 MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
118 host_special_ports.h \
127 memory_object_types.h \
139 shared_memory_server.h \
147 task_special_ports.h \
150 thread_special_ports.h \
171 INSTALL_KF_MI_LIST = \
173 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
175 INSTALL_KF_MI_LCL_LIST = \
177 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
179 INSTALL_MI_LCL_LIST = kext_panic_report.h \
183 INSTALL_MI_GEN_LIST =
185 INSTALL_MI_DIR = mach
191 EXPORT_MI_GEN_LIST = \
196 .ORDER: ${MIGINCLUDES}
198 ${MIGINCLUDES} : ${MIG_TYPES}
200 .ORDER: ${MIG_UUHDRS}
205 $(_v)$(MIG) $(MIGFLAGS) \
211 .ORDER: ${MIG_USHDRS}
216 $(_v)$(MIG) $(MIGFLAGS) \
226 COMP_SUBDIRS_I386 = \
229 INCFLAGS_MAKEFILE= -I..
231 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
232 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
234 # MIG-generated headers that are traditionally used by kernel
241 host_notify_reply.h \
245 memory_object_control.h \
246 memory_object_default.h \
252 audit_triggers_user.c \
255 host_notify_reply_user.c \
258 memory_object_user.c \
259 memory_object_control_user.c \
260 memory_object_default_user.c \
267 clock_priv_server.h \
270 host_security_server.h \
275 mach_notify_server.h \
278 memory_object_server.h \
279 memory_object_control_server.h \
280 memory_object_default_server.h \
281 memory_object_name_server.h \
283 processor_set_server.h \
287 thread_act_server.h \
293 clock_priv_server.c \
296 host_security_server.c \
301 mach_notify_server.c \
304 memory_object_server.c \
305 memory_object_control_server.c \
306 memory_object_default_server.c \
307 memory_object_name_server.c \
309 processor_set_server.c \
313 thread_act_server.c \
319 # Since there are two generated header files with the same name, one for
320 # install and export, the other for internal use (and they are different)
321 # we can't explicitly list two rules for the same target. So rules for
322 # generating internal headers will be handled implicitly by creating rules
323 # to generate the internal C sources, and the headers get created as a
327 # This is all temporary scaffolding, as we are moving to a model where
328 # the MIG-generated code is identical in all environments. At first, it
329 # will contain some environment-specific ifdefs, but over time should not
330 # even require that as we move towards making all the environments look
333 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
335 ${COMP_FILES} : ${MIG_TYPES}
342 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
354 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
357 -server $*_server.c \
358 -sheader $*_server.h \
361 include $(MakeInc_rule)
362 include $(MakeInc_dir)