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_GEN_LIST =
181 INSTALL_MI_DIR = mach
187 EXPORT_MI_GEN_LIST = \
192 .ORDER: ${MIGINCLUDES}
194 ${MIGINCLUDES} : ${MIG_TYPES}
196 .ORDER: ${MIG_UUHDRS}
201 $(_v)$(MIG) $(MIGFLAGS) \
207 .ORDER: ${MIG_USHDRS}
212 $(_v)$(MIG) $(MIGFLAGS) \
222 COMP_SUBDIRS_I386 = \
225 INCFLAGS_MAKEFILE= -I..
227 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
228 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
230 # MIG-generated headers that are traditionally used by kernel
237 host_notify_reply.h \
241 memory_object_control.h \
242 memory_object_default.h \
248 audit_triggers_user.c \
251 host_notify_reply_user.c \
254 memory_object_user.c \
255 memory_object_control_user.c \
256 memory_object_default_user.c \
263 clock_priv_server.h \
266 host_security_server.h \
271 mach_notify_server.h \
274 memory_object_server.h \
275 memory_object_control_server.h \
276 memory_object_default_server.h \
277 memory_object_name_server.h \
279 processor_set_server.h \
283 thread_act_server.h \
289 clock_priv_server.c \
292 host_security_server.c \
297 mach_notify_server.c \
300 memory_object_server.c \
301 memory_object_control_server.c \
302 memory_object_default_server.c \
303 memory_object_name_server.c \
305 processor_set_server.c \
309 thread_act_server.c \
315 # Since there are two generated header files with the same name, one for
316 # install and export, the other for internal use (and they are different)
317 # we can't explicitly list two rules for the same target. So rules for
318 # generating internal headers will be handled implicitly by creating rules
319 # to generate the internal C sources, and the headers get created as a
323 # This is all temporary scaffolding, as we are moving to a model where
324 # the MIG-generated code is identical in all environments. At first, it
325 # will contain some environment-specific ifdefs, but over time should not
326 # even require that as we move towards making all the environments look
329 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
331 ${COMP_FILES} : ${MIG_TYPES}
338 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
350 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
353 -server $*_server.c \
354 -sheader $*_server.h \
357 include $(MakeInc_rule)
358 include $(MakeInc_dir)