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 \
51 memory_object_control.defs \
52 memory_object_default.defs \
53 memory_object_name.defs \
58 # MIG-generated headers that are traditionally used by user
62 audit_triggers_server.h \
63 clock_reply_server.h \
66 memory_object_server.h \
67 memory_object_default_server.h \
80 memory_object_control.h \
81 memory_object_name.h \
91 MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
102 host_special_ports.h \
111 memory_object_types.h \
123 shared_memory_server.h \
130 task_special_ports.h \
133 thread_special_ports.h \
154 INSTALL_KF_MI_LIST = \
156 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
158 INSTALL_KF_MI_LCL_LIST = \
160 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
162 INSTALL_MI_GEN_LIST =
164 INSTALL_MI_DIR = mach
167 branch_predicates.h \
171 EXPORT_MI_GEN_LIST = \
176 .ORDER: ${MIGINCLUDES}
178 ${MIGINCLUDES} : ${MIG_TYPES}
180 .ORDER: ${MIG_UUHDRS}
185 $(_v)$(MIG) $(MIGFLAGS) \
191 .ORDER: ${MIG_USHDRS}
196 $(_v)$(MIG) $(MIGFLAGS) \
206 COMP_SUBDIRS_I386 = \
209 INCFLAGS_MAKEFILE= -I..
211 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
212 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
214 # MIG-generated headers that are traditionally used by kernel
221 host_notify_reply.h \
225 memory_object_control.h \
226 memory_object_default.h \
232 audit_triggers_user.c \
235 host_notify_reply_user.c \
238 memory_object_user.c \
239 memory_object_control_user.c \
240 memory_object_default_user.c \
247 clock_priv_server.h \
250 host_security_server.h \
254 mach_notify_server.h \
257 memory_object_server.h \
258 memory_object_control_server.h \
259 memory_object_default_server.h \
260 memory_object_name_server.h \
262 processor_set_server.h \
265 thread_act_server.h \
272 clock_priv_server.c \
275 host_security_server.c \
279 mach_notify_server.c \
282 memory_object_server.c \
283 memory_object_control_server.c \
284 memory_object_default_server.c \
285 memory_object_name_server.c \
287 processor_set_server.c \
290 thread_act_server.c \
297 # Since there are two generated header files with the same name, one for
298 # install and export, the other for internal use (and they are different)
299 # we can't explicitly list two rules for the same target. So rules for
300 # generating internal headers will be handled implicitly by creating rules
301 # to generate the internal C sources, and the headers get created as a
305 # This is all temporary scaffolding, as we are moving to a model where
306 # the MIG-generated code is identical in all environments. At first, it
307 # will contain some environment-specific ifdefs, but over time should not
308 # even require that as we move towards making all the environments look
311 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
313 ${COMP_FILES} : ${MIG_TYPES}
320 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
332 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
335 -server $*_server.c \
336 -sheader $*_server.h \
339 include $(MakeInc_rule)
340 include $(MakeInc_dir)