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
10 default_pager_types.defs
18 MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
21 default_pager_types.h \
24 INSTALL_MI_LIST = ${DATAFILES}
26 INSTALL_MI_GEN_LIST = ${MIGINCLUDES}
28 INSTALL_MI_DIR = default_pager
33 EXPORT_MI_GEN_LIST = \
36 EXPORT_MI_DIR = default_pager
38 ${MIGINCLUDES} : ${MIG_TYPES}
42 @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
43 $(_v)$(MIG) $(MIGFLAGS) \
51 @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
52 $(_v)$(MIG) $(MIGFLAGS) \
62 INCFLAGS_MAKEFILE= -I..
64 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
65 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
68 # MIG-generated headers that are traditionally used by kernel
81 # Since there are two generated header files with the same name, one for
82 # install and export, the other for internal use (and they are different)
83 # we can't explicitly list two rules for the same target. So rules for
84 # generating internal headers will be handled implicitly by creating rules
85 # to generate the internal C sources, and the headers get created as a
88 # This is all temporary scaffolding, as we are moving to a model where
89 # the MIG-generated code is identical in all environments. At first, it
90 # will contain some environment-specific ifdefs, but over time should not
91 # even require that as we move towards making all the environments look
94 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
96 do_build_all:: $(COMP_FILES)
98 ${COMP_FILES} : ${MIG_TYPES}
102 @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
103 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
112 @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)"
113 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
116 -server $*_server.c \
117 -sheader $*_server.h \
120 include $(MakeInc_rule)
121 include $(MakeInc_dir)