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
13 default_pager_alerts.defs
18 default_pager_object.h
21 MIGINCLUDES = ${MIG_UUHDRS} ${MIG_USHDRS}
24 default_pager_types.h \
27 INSTALL_MI_LIST = ${DATAFILES}
29 INSTALL_MI_GEN_LIST = ${MIGINCLUDES}
31 INSTALL_MI_DIR = default_pager
36 EXPORT_MI_GEN_LIST = \
39 EXPORT_MI_DIR = default_pager
41 ${MIGINCLUDES} : ${MIG_TYPES}
46 $(_v)$(MIG) $(MIGFLAGS) \
55 $(_v)$(MIG) $(MIGFLAGS) \
65 INCFLAGS_MAKEFILE= -I..
67 MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1
68 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
71 # MIG-generated headers that are traditionally used by kernel
75 default_pager_alerts.h
78 default_pager_alerts_user.c
81 default_pager_object.h
84 default_pager_object_server.c
88 # Since there are two generated header files with the same name, one for
89 # install and export, the other for internal use (and they are different)
90 # we can't explicitly list two rules for the same target. So rules for
91 # generating internal headers will be handled implicitly by creating rules
92 # to generate the internal C sources, and the headers get created as a
95 # This is all temporary scaffolding, as we are moving to a model where
96 # the MIG-generated code is identical in all environments. At first, it
97 # will contain some environment-specific ifdefs, but over time should not
98 # even require that as we move towards making all the environments look
101 COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC}
103 do_build_all:: $(COMP_FILES)
105 ${COMP_FILES} : ${MIG_TYPES}
110 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
120 $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \
123 -server $*_server.c \
124 -sheader $*_server.h \
127 include $(MakeInc_rule)
128 include $(MakeInc_dir)