]>
Commit | Line | Data |
---|---|---|
1c79356b A |
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 | |
5 | ||
6 | include $(MakeInc_cmd) | |
7 | include $(MakeInc_def) | |
8 | ||
1c79356b A |
9 | MIG_TYPES = \ |
10 | UNDTypes.defs | |
11 | ||
12 | MIG_DEFS = \ | |
13 | UNDRequest.defs \ | |
14 | UNDReply.defs | |
15 | ||
3e170ce0 | 16 | PRIVATE_DATAFILES = \ |
1c79356b A |
17 | UNDTypes.h \ |
18 | ${MIG_TYPES} \ | |
19 | ${MIG_DEFS} | |
20 | ||
3e170ce0 A |
21 | KERNELFILES = \ |
22 | KUNCUserNotifications.h \ | |
23 | ${PRIVATE_DATAFILES} | |
9bccf70c | 24 | |
3e170ce0 A |
25 | INSTALL_MI_LIST = |
26 | INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES} | |
1c79356b A |
27 | |
28 | INSTALL_MI_GEN_LIST = | |
29 | ||
30 | INSTALL_MI_DIR = UserNotification | |
31 | ||
3e170ce0 | 32 | EXPORT_MI_LIST = ${KERNELFILES} |
1c79356b A |
33 | |
34 | EXPORT_MI_GEN_LIST = | |
35 | ||
36 | EXPORT_MI_DIR = UserNotification | |
37 | ||
38 | # | |
39 | # Build path | |
39037602 | 40 | # |
1c79356b A |
41 | INCFLAGS_MAKEFILE= -I.. |
42 | ||
43 | MIGKSFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_SERVER=1 | |
44 | MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024 | |
45 | ||
46 | MIG_KUHDRS = \ | |
47 | UNDRequest.h | |
48 | ||
49 | MIG_KUSRC = \ | |
50 | UNDRequest.c | |
51 | ||
52 | MIG_KSHDRS = \ | |
53 | UNDReplyServer.h | |
54 | ||
55 | MIG_KSSRC = \ | |
56 | UNDReplyServer.c | |
57 | ||
39037602 | 58 | COMP_FILES = ${MIG_KUSRC} ${MIG_KSSRC} |
1c79356b | 59 | |
39236c6e A |
60 | do_build_all:: $(COMP_FILES) |
61 | ||
1c79356b | 62 | ${COMP_FILES} : ${MIG_TYPES} |
39236c6e | 63 | |
1c79356b A |
64 | ${MIG_KUSRC} : \ |
65 | %.c : %.defs | |
39037602 | 66 | @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)" |
2d21ac55 | 67 | $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ |
1c79356b A |
68 | -user $*.c \ |
69 | -header $*.h \ | |
70 | -server /dev/null \ | |
71 | -sheader /dev/null \ | |
72 | $< | |
73 | ||
74 | ${MIG_KSSRC}: \ | |
75 | %Server.c : %.defs | |
39037602 | 76 | @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)" |
2d21ac55 | 77 | $(_v)${MIG} ${MIGFLAGS} ${MIGKSFLAGS} \ |
1c79356b A |
78 | -user /dev/null \ |
79 | -header /dev/null \ | |
80 | -server $*Server.c \ | |
81 | -sheader $*Server.h \ | |
82 | $< | |
83 | ||
1c79356b A |
84 | include $(MakeInc_rule) |
85 | include $(MakeInc_dir) |