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_I386 = \
22 EXPINC_SUBDIRS_PPC = \
25 EXPINC_SUBDIRS_I386 = \
39 host_notify_reply.defs \
57 memory_object_control.defs \
58 memory_object_default.defs \
59 memory_object_name.defs \
63 # MIG-generated headers that are traditionally used by user
67 audit_triggers_server.h \
68 clock_reply_server.h \
70 memory_object_server.h \
71 memory_object_default_server.h \
84 memory_object_control.h \
85 memory_object_name.h \
93 MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
104 host_special_ports.h \
113 memory_object_types.h \
124 shared_memory_server.h \
131 task_special_ports.h \
134 thread_special_ports.h \
155 INSTALL_KF_MI_LIST = \
157 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
159 INSTALL_KF_MI_LCL_LIST = \
161 $(filter-out mach_traps.h mach_syscalls.h thread_switch.h, ${DATAFILES})
163 INSTALL_MI_GEN_LIST =
165 INSTALL_MI_DIR = mach
171 EXPORT_MI_GEN_LIST = \
176 .ORDER: ${MIGINCLUDES}
178 ${MIGINCLUDES} : ${MIG_TYPES}
180 .ORDER: ${MIG_UUHDRS}
190 .ORDER: ${MIG_USHDRS}
204 COMP_SUBDIRS_I386 = \
207 INCFLAGS_MAKEFILE= -I..
209 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
210 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
212 # MIG-generated headers that are traditionally used by kernel
219 host_notify_reply.h \
222 memory_object_control.h \
223 memory_object_default.h \
228 audit_triggers_user.c \
231 host_notify_reply_user.c \
233 memory_object_user.c \
234 memory_object_control_user.c \
235 memory_object_default_user.c \
241 clock_priv_server.h \
244 host_security_server.h \
248 mach_notify_server.h \
251 memory_object_server.h \
252 memory_object_control_server.h \
253 memory_object_default_server.h \
254 memory_object_name_server.h \
256 processor_set_server.h \
259 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 \
289 # Since there are two generated header files with the same name, one for
290 # install and export, the other for internal use (and they are different)
291 # we can't explicitly list two rules for the same target. So rules for
292 # generating internal headers will be handled implicitly by creating rules
293 # to generate the internal C sources, and the headers get created as a
297 # This is all temporary scaffolding, as we are moving to a model where
298 # the MIG-generated code is identical in all environments. At first, it
299 # will contain some environment-specific ifdefs, but over time should not
300 # even require that as we move towards making all the environments look
303 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
305 ${COMP_FILES} : ${MIG_TYPES}
311 ${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
322 ${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
325 -server $*_server.c \
326 -sheader $*_server.h \
329 include $(MakeInc_rule)
330 include $(MakeInc_dir)