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