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 = \
22 INSTINC_SUBDIRS_X86_64 = \
28 EXPINC_SUBDIRS_PPC = \
31 EXPINC_SUBDIRS_I386 = \
34 EXPINC_SUBDIRS_X86_64 = \
37 EXPINC_SUBDIRS_ARM = \
51 host_notify_reply.defs \
73 memory_object_control.defs \
74 memory_object_default.defs \
75 memory_object_name.defs \
80 # MIG-generated headers that are traditionally used by user
84 audit_triggers_server.h \
85 clock_reply_server.h \
88 memory_object_server.h \
89 memory_object_default_server.h \
103 memory_object_control.h \
104 memory_object_name.h \
114 MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
125 host_special_ports.h \
134 memory_object_types.h \
146 shared_memory_server.h \
154 task_special_ports.h \
157 thread_special_ports.h \
178 INSTALL_KF_MI_LIST = \
180 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
182 INSTALL_KF_MI_LCL_LIST = \
184 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
186 INSTALL_MI_GEN_LIST =
188 INSTALL_MI_DIR = mach
194 EXPORT_MI_GEN_LIST = \
199 .ORDER: ${MIGINCLUDES}
201 ${MIGINCLUDES} : ${MIG_TYPES}
203 .ORDER: ${MIG_UUHDRS}
208 $(_v)$(MIG) $(MIGFLAGS) \
214 .ORDER: ${MIG_USHDRS}
219 $(_v)$(MIG) $(MIGFLAGS) \
229 COMP_SUBDIRS_I386 = \
232 INCFLAGS_MAKEFILE= -I..
234 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
235 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
237 # MIG-generated headers that are traditionally used by kernel
244 host_notify_reply.h \
248 memory_object_control.h \
249 memory_object_default.h \
255 audit_triggers_user.c \
258 host_notify_reply_user.c \
261 memory_object_user.c \
262 memory_object_control_user.c \
263 memory_object_default_user.c \
270 clock_priv_server.h \
273 host_security_server.h \
278 mach_notify_server.h \
281 memory_object_server.h \
282 memory_object_control_server.h \
283 memory_object_default_server.h \
284 memory_object_name_server.h \
286 processor_set_server.h \
289 thread_act_server.h \
296 clock_priv_server.c \
299 host_security_server.c \
304 mach_notify_server.c \
307 memory_object_server.c \
308 memory_object_control_server.c \
309 memory_object_default_server.c \
310 memory_object_name_server.c \
312 processor_set_server.c \
315 thread_act_server.c \
322 # Since there are two generated header files with the same name, one for
323 # install and export, the other for internal use (and they are different)
324 # we can't explicitly list two rules for the same target. So rules for
325 # generating internal headers will be handled implicitly by creating rules
326 # to generate the internal C sources, and the headers get created as a
330 # This is all temporary scaffolding, as we are moving to a model where
331 # the MIG-generated code is identical in all environments. At first, it
332 # will contain some environment-specific ifdefs, but over time should not
333 # even require that as we move towards making all the environments look
336 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
338 ${COMP_FILES} : ${MIG_TYPES}
345 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
357 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
360 -server $*_server.c \
361 -sheader $*_server.h \
364 include $(MakeInc_rule)
365 include $(MakeInc_dir)