]> git.saurik.com Git - apple/xnu.git/blame_incremental - Makefile
xnu-1504.15.3.tar.gz
[apple/xnu.git] / Makefile
... / ...
CommitLineData
1ifndef VERSDIR
2export VERSDIR=$(shell /bin/pwd)
3endif
4ifndef SRCROOT
5export SRCROOT=$(shell /bin/pwd)
6endif
7ifndef OBJROOT
8export OBJROOT=$(SRCROOT)/BUILD/obj/
9endif
10ifndef DSTROOT
11export DSTROOT=$(SRCROOT)/BUILD/dst/
12endif
13ifndef SYMROOT
14export SYMROOT=$(SRCROOT)/BUILD/sym/
15endif
16
17export MakeInc_cmd=${VERSDIR}/makedefs/MakeInc.cmd
18export MakeInc_def=${VERSDIR}/makedefs/MakeInc.def
19export MakeInc_rule=${VERSDIR}/makedefs/MakeInc.rule
20export MakeInc_dir=${VERSDIR}/makedefs/MakeInc.dir
21
22
23include $(MakeInc_cmd)
24include $(MakeInc_def)
25
26ALL_SUBDIRS = \
27 iokit \
28 osfmk \
29 bsd \
30 pexpert \
31 libkern \
32 libsa \
33 security
34
35CONFIG_SUBDIRS_PPC = config
36
37CONFIG_SUBDIRS_I386 = config
38
39CONFIG_SUBDIRS_X86_64 = config
40
41CONFIG_SUBDIRS_ARM = config
42
43INSTINC_SUBDIRS = $(ALL_SUBDIRS) EXTERNAL_HEADERS
44
45INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
46
47INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
48
49INSTINC_SUBDIRS_X86_64 = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
50
51INSTINC_SUBDIRS_ARM = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
52
53EXPINC_SUBDIRS = $(ALL_SUBDIRS)
54
55EXPINC_SUBDIRS_PPC = $(EXPINC_SUBDIRS)
56
57EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS)
58
59EXPINC_SUBDIRS_X86_64 = $(EXPINC_SUBDIRS)
60
61EXPINC_SUBDIRS_ARM = $(EXPINC_SUBDIRS)
62
63COMP_SUBDIRS_PPC = $(ALL_SUBDIRS)
64
65COMP_SUBDIRS_I386 = $(ALL_SUBDIRS)
66
67COMP_SUBDIRS_X86_64 = $(ALL_SUBDIRS)
68
69COMP_SUBDIRS_ARM = $(ALL_SUBDIRS)
70
71INST_SUBDIRS = \
72 libkern \
73 libsa \
74 iokit \
75 osfmk \
76 bsd \
77 config \
78 security
79
80INSTALL_FILE_LIST= \
81 mach_kernel
82
83INSTALL_FILE_DIR= \
84 /
85
86INSTMAN_SUBDIRS = \
87 bsd
88
89include $(MakeInc_rule)
90include $(MakeInc_dir)