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