]>
Commit | Line | Data |
---|---|---|
2d21ac55 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 | ||
2d21ac55 A |
9 | MIG_DEFS = lockd_mach.defs |
10 | ||
11 | DATAFILES = lockd_mach_types.h ${MIG_DEFS} | |
12 | ||
3e170ce0 A |
13 | PRIVATE_DATAFILES = lockd_mach_types.h ${MIG_DEFS} |
14 | KERNELFILES = ${PRIVATE_DATAFILES} | |
2d21ac55 | 15 | |
3e170ce0 A |
16 | INSTALL_MI_LIST = |
17 | INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES} | |
2d21ac55 | 18 | |
39037602 | 19 | INSTALL_MI_GEN_LIST = |
2d21ac55 A |
20 | |
21 | INSTALL_MI_DIR = lockd | |
22 | ||
3e170ce0 | 23 | EXPORT_MI_LIST = ${KERNELFILES} |
2d21ac55 A |
24 | |
25 | EXPORT_MI_GEN_LIST = lockd_mach.h | |
26 | ||
27 | EXPORT_MI_DIR = lockd | |
28 | ||
29 | # | |
30 | # Build path | |
39037602 | 31 | # |
2d21ac55 A |
32 | INCFLAGS_MAKEFILE= -I.. |
33 | ||
34 | MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024 | |
35 | ||
36 | MIG_KUHDRS = lockd_mach.h | |
37 | ||
38 | MIG_KUSRC = lockd_mach.c lockd_mach.h | |
39 | ||
40 | COMP_FILES = ${MIG_KUSRC} | |
41 | ||
39236c6e | 42 | do_build_all:: $(COMP_FILES) |
2d21ac55 A |
43 | |
44 | ${MIG_KUSRC} : lockd_mach.defs | |
39037602 | 45 | @echo "$(ColorM)MIG$(Color0) $(ColorF)$@$(Color0)" |
2d21ac55 | 46 | $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \ |
39236c6e A |
47 | -user lockd_mach.c \ |
48 | -header lockd_mach.h \ | |
2d21ac55 A |
49 | -server /dev/null \ |
50 | -sheader /dev/null \ | |
51 | $< | |
52 | ||
53 | include $(MakeInc_rule) | |
54 | include $(MakeInc_dir) |