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