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