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_X86_64 = i386
13 EXPINC_SUBDIRS = machine
14 EXPINC_SUBDIRS_X86_64 = i386
15 EXPINC_SUBDIRS_ARM = arm
28 host_notify_reply.defs \
42 telemetry_notification.defs \
50 memory_object_control.defs \
51 memory_object_default.defs \
52 memory_object_name.defs \
57 # MIG-generated headers that are traditionally used by user
61 audit_triggers_server.h \
62 clock_reply_server.h \
65 memory_object_server.h \
66 memory_object_default_server.h \
68 task_access_server.h \
69 telemetry_notification_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 ${MIGINCLUDES} : ${MIG_TYPES}
181 $(_v)$(MIG) $(MIGFLAGS) \
190 $(_v)$(MIG) $(MIGFLAGS) \
201 INCFLAGS_MAKEFILE= -I..
203 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
204 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
206 # MIG-generated headers that are traditionally used by kernel
213 host_notify_reply.h \
217 memory_object_control.h \
218 memory_object_default.h \
224 audit_triggers_user.c \
227 host_notify_reply_user.c \
230 memory_object_user.c \
231 memory_object_control_user.c \
232 memory_object_default_user.c \
234 telemetry_notification_user.c \
240 clock_priv_server.h \
243 host_security_server.h \
247 mach_notify_server.h \
250 memory_object_server.h \
251 memory_object_control_server.h \
252 memory_object_default_server.h \
253 memory_object_name_server.h \
255 processor_set_server.h \
258 thread_act_server.h \
265 clock_priv_server.c \
268 host_security_server.c \
272 mach_notify_server.c \
275 memory_object_server.c \
276 memory_object_control_server.c \
277 memory_object_default_server.c \
278 memory_object_name_server.c \
280 processor_set_server.c \
283 thread_act_server.c \
290 # Since there are two generated header files with the same name, one for
291 # install and export, the other for internal use (and they are different)
292 # we can't explicitly list two rules for the same target. So rules for
293 # generating internal headers will be handled implicitly by creating rules
294 # to generate the internal C sources, and the headers get created as a
298 # This is all temporary scaffolding, as we are moving to a model where
299 # the MIG-generated code is identical in all environments. At first, it
300 # will contain some environment-specific ifdefs, but over time should not
301 # even require that as we move towards making all the environments look
304 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
306 do_build_all:: $(COMP_FILES)
308 ${COMP_FILES} : ${MIG_TYPES}
313 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
323 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
326 -server $*_server.c \
327 -sheader $*_server.h \
330 include $(MakeInc_rule)
331 include $(MakeInc_dir)