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