]> git.saurik.com Git - apple/xnu.git/blob - osfmk/kextd/Makefile
xnu-3247.1.106.tar.gz
[apple/xnu.git] / osfmk / kextd / Makefile
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
7 include $(MakeInc_cmd)
8 include $(MakeInc_def)
9
10 MIG_DEFS = kextd_mach.defs
11
12 PRIVATE_DATAFILES = ${MIG_DEFS}
13
14 KERNELFILES = ${MIG_DEFS}
15
16 INSTALL_MI_LIST =
17 INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES}
18
19 INSTALL_MI_GEN_LIST =
20
21 INSTALL_MI_DIR = kextd
22
23 EXPORT_MI_LIST = ${KERNELFILES}
24
25 EXPORT_MI_GEN_LIST = kextd_mach.h
26
27 EXPORT_MI_DIR = kextd
28
29 #
30 # Build path
31 #
32 INCFLAGS_MAKEFILE= -I..
33
34 MIGKUFLAGS = -DMACH_KERNEL_PRIVATE -DKERNEL_USER=1 -maxonstack 1024
35
36 MIG_KUHDRS = kextd_mach.h
37
38 MIG_KUSRC = kextd_mach.c kextd_mach.h
39
40 COMP_FILES = ${MIG_KUSRC}
41
42 do_build_all:: $(COMP_FILES)
43
44 ${MIG_KUSRC} : kextd_mach.defs
45 @echo MIG $@
46 $(_v)${MIG} ${MIGFLAGS} ${MIGKUFLAGS} \
47 -user kextd_mach.c \
48 -header kextd_mach.h \
49 -server /dev/null \
50 -sheader /dev/null \
51 $<
52
53 include $(MakeInc_rule)
54 include $(MakeInc_dir)