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_I386 = i386
12 INSTINC_SUBDIRS_X86_64 = i386
14 EXPINC_SUBDIRS = machine
15 EXPINC_SUBDIRS_I386 = i386
16 EXPINC_SUBDIRS_X86_64 = i386
17 EXPINC_SUBDIRS_ARM = arm
30 host_notify_reply.defs \
52 memory_object_control.defs \
53 memory_object_default.defs \
54 memory_object_name.defs \
59 # MIG-generated headers that are traditionally used by user
63 audit_triggers_server.h \
64 clock_reply_server.h \
67 memory_object_server.h \
68 memory_object_default_server.h \
82 memory_object_control.h \
83 memory_object_name.h \
93 MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
104 host_special_ports.h \
113 memory_object_types.h \
125 shared_memory_server.h \
133 task_special_ports.h \
136 thread_special_ports.h \
157 INSTALL_KF_MI_LIST = \
159 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
161 INSTALL_KF_MI_LCL_LIST = \
163 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
165 INSTALL_MI_GEN_LIST =
167 INSTALL_MI_DIR = mach
170 branch_predicates.h \
174 EXPORT_MI_GEN_LIST = \
179 .ORDER: ${MIGINCLUDES}
181 ${MIGINCLUDES} : ${MIG_TYPES}
183 .ORDER: ${MIG_UUHDRS}
188 $(_v)$(MIG) $(MIGFLAGS) \
194 .ORDER: ${MIG_USHDRS}
199 $(_v)$(MIG) $(MIGFLAGS) \
209 COMP_SUBDIRS_I386 = \
212 INCFLAGS_MAKEFILE= -I..
214 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
215 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
217 # MIG-generated headers that are traditionally used by kernel
224 host_notify_reply.h \
228 memory_object_control.h \
229 memory_object_default.h \
235 audit_triggers_user.c \
238 host_notify_reply_user.c \
241 memory_object_user.c \
242 memory_object_control_user.c \
243 memory_object_default_user.c \
250 clock_priv_server.h \
253 host_security_server.h \
258 mach_notify_server.h \
261 memory_object_server.h \
262 memory_object_control_server.h \
263 memory_object_default_server.h \
264 memory_object_name_server.h \
266 processor_set_server.h \
269 thread_act_server.h \
276 clock_priv_server.c \
279 host_security_server.c \
284 mach_notify_server.c \
287 memory_object_server.c \
288 memory_object_control_server.c \
289 memory_object_default_server.c \
290 memory_object_name_server.c \
292 processor_set_server.c \
295 thread_act_server.c \
302 # Since there are two generated header files with the same name, one for
303 # install and export, the other for internal use (and they are different)
304 # we can't explicitly list two rules for the same target. So rules for
305 # generating internal headers will be handled implicitly by creating rules
306 # to generate the internal C sources, and the headers get created as a
310 # This is all temporary scaffolding, as we are moving to a model where
311 # the MIG-generated code is identical in all environments. At first, it
312 # will contain some environment-specific ifdefs, but over time should not
313 # even require that as we move towards making all the environments look
316 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
318 ${COMP_FILES} : ${MIG_TYPES}
325 $(_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)