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 MEMORY_OBJECT_FILES = memory_object_user.h memory_object_user.c
21 MEMORY_OBJECT_DEFAULT_FILES = memory_object_default.h memory_object_default_user.c
23 PROF_FILES = prof_user.c prof.h
25 MACH_HOST_FILES = mach_host_server.h mach_host_server.c
27 CLOCK_FILES = clock_server.h clock_server.c
29 CLOCK_REPLY_FILES = clock_reply.h clock_reply_user.c
31 BOOTSTRAP_FILES = bootstrap_server.h bootstrap_server.c
33 LEDGER_FILES = ledger_user.c ledger_server.h ledger_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} \
41 ${MEMORY_OBJECT_FILES} ${MEMORY_OBJECT_DEFAULT_FILES} \
42 ${PROF_FILES} ${MACH_HOST_FILES} ${LEDGER_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: ${MEMORY_OBJECT_FILES}
78 ${MEMORY_OBJECT_FILES}: mach/memory_object.defs
79 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} -DSEQNOS \
80 -header memory_object_user.h \
81 -user memory_object_user.c \
85 .ORDER: ${MEMORY_OBJECT_DEFAULT_FILES}
87 ${MEMORY_OBJECT_DEFAULT_FILES}: mach/memory_object_default.defs
88 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} -DSEQNOS \
89 -header memory_object_default.h \
90 -user memory_object_default_user.c \
96 ${PROF_FILES}: mach/prof.defs
97 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} \
99 -iheader prof_internal.h \
104 .ORDER: ${MACH_HOST_FILES}
106 ${MACH_HOST_FILES}: mach/mach_host.defs
107 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
110 -sheader mach_host_server.h \
111 -server mach_host_server.c \
114 .ORDER: ${CLOCK_FILES}
116 ${CLOCK_FILES}: mach/clock.defs
117 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
120 -sheader clock_server.h \
121 -server clock_server.c \
124 .ORDER: ${CLOCK_REPLY_FILES}
125 ${CLOCK_REPLY_FILES}: mach/clock_reply.defs
126 ${_MIG_} ${_MIGFLAGS_} ${MIGKUFLAGS} \
127 -header clock_reply.h \
128 -user clock_reply_user.c \
132 .ORDER: ${BOOTSTRAP_FILES}
134 ${BOOTSTRAP_FILES}: mach/bootstrap.defs
135 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
138 -sheader bootstrap_server.h \
139 -server bootstrap_server.c \
142 .ORDER: ${LEDGER_FILES}
144 ${LEDGER_FILES}: mach/ledger.defs ${MACH_TYPES_DEFS}
145 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} ${MIGKUFLAGS} \
147 -user ledger_user.c \
148 -sheader ledger_server.h \
149 -server ledger_server.c \
152 .ORDER: ${SYNC_FILES}
154 ${SYNC_FILES}: mach/sync.defs
155 ${_MIG_} ${_MIGFLAGS_} ${MIGKSFLAGS} \
158 -sheader sync_server.h \
159 -server sync_server.c \
162 ${MACH_USER_FILES}: mach/mach.defs
163 ${_MIG_} -X ${_MIGFLAGS_} ${MIGKUFLAGS} \
164 -header mach_user.h \
171 include $(MakeInc_rule)
172 include $(MakeInc_dir)