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 MIGKSFLAGS = -DKERNEL_SERVER
11 MIGKUFLAGS = -DKERNEL_USER -maxonstack 1024
13 MACH_FILES = mach_server.h mach_server.c
15 MACH_PORT_FILES =mach_port_server.h mach_port_server.c
17 EXC_FILES = exc_user.h exc_user.c exc_server.c
19 MACH_EXC_FILES = mach_exc_user.h mach_exc_user.c mach_exc_server.c
21 MEMORY_OBJECT_FILES = memory_object_user.h memory_object_user.c
23 MEMORY_OBJECT_DEFAULT_FILES = memory_object_default.h memory_object_default_user.c
25 PROF_FILES = prof_user.c prof.h
27 MACH_HOST_FILES = mach_host_server.h mach_host_server.c
29 CLOCK_FILES = clock_server.h clock_server.c
31 CLOCK_REPLY_FILES = clock_reply.h clock_reply_user.c
33 BOOTSTRAP_FILES = bootstrap_server.h bootstrap_server.c
35 SYNC_FILES = sync_server.h sync_server.c
37 MACH_USER_FILES = mach_user.h mach_user.c
39 OTHERS = ${MACH_FILES} ${MACH_PORT_FILES} \
40 ${EXC_FILES} ${MACH_EXC_FILES} \
41 ${MEMORY_OBJECT_FILES} ${MEMORY_OBJECT_DEFAULT_FILES} \
42 ${PROF_FILES} ${MACH_HOST_FILES} \
43 ${CLOCK_FILES} ${CLOCK_REPLY_FILES} ${BOOTSTRAP_FILES} \
44 ${BOOTSTRAP_FILES} ${SYNC_FILES} \
49 ${MACH_FILES}: mach/mach.defs
50 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
53 -sheader mach_server.h \
54 -server mach_server.c \
57 .ORDER: ${MACH_PORT_FILES}
59 ${MACH_PORT_FILES}: mach/mach_port.defs
60 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
63 -sheader mach_port_server.h \
64 -server mach_port_server.c \
68 ${EXC_FILES}: mach/exc.defs
69 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} \
72 -sheader exc_server.h \
73 -server exc_server.c \
76 .ORDER: ${MACH_EXC_FILES}
77 ${MACH_EXC_FILES}: mach/mach_exc.defs
78 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} \
79 -header mach_exc_user.h \
80 -user mach_exc_user.c \
81 -sheader mach_exc_server.h \
82 -server mach_exc_server.c \
85 .ORDER: ${MEMORY_OBJECT_FILES}
87 ${MEMORY_OBJECT_FILES}: mach/memory_object.defs
88 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} -DSEQNOS \
89 -header memory_object_user.h \
90 -user memory_object_user.c \
94 .ORDER: ${MEMORY_OBJECT_DEFAULT_FILES}
96 ${MEMORY_OBJECT_DEFAULT_FILES}: mach/memory_object_default.defs
97 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} -DSEQNOS \
98 -header memory_object_default.h \
99 -user memory_object_default_user.c \
103 .ORDER: ${PROF_FILES}
105 ${PROF_FILES}: mach/prof.defs
106 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} \
108 -iheader prof_internal.h \
113 .ORDER: ${MACH_HOST_FILES}
115 ${MACH_HOST_FILES}: mach/mach_host.defs
116 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
119 -sheader mach_host_server.h \
120 -server mach_host_server.c \
123 .ORDER: ${CLOCK_FILES}
125 ${CLOCK_FILES}: mach/clock.defs
126 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
129 -sheader clock_server.h \
130 -server clock_server.c \
133 .ORDER: ${CLOCK_REPLY_FILES}
134 ${CLOCK_REPLY_FILES}: mach/clock_reply.defs
135 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} \
136 -header clock_reply.h \
137 -user clock_reply_user.c \
141 .ORDER: ${BOOTSTRAP_FILES}
143 ${BOOTSTRAP_FILES}: mach/bootstrap.defs
144 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
147 -sheader bootstrap_server.h \
148 -server bootstrap_server.c \
151 .ORDER: ${SYNC_FILES}
153 ${SYNC_FILES}: mach/sync.defs
154 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
157 -sheader sync_server.h \
158 -server sync_server.c \
161 ${MACH_USER_FILES}: mach/mach.defs
162 ${_MIG_} -X ${_MIGFLAGS_} ${MIGKUFLAGS} \
163 -header mach_user.h \
170 include $(MakeInc_rule)
171 include $(MakeInc_dir)