]> git.saurik.com Git - apple/xnu.git/blame - Makefile
xnu-1228.tar.gz
[apple/xnu.git] / Makefile
CommitLineData
1c79356b
A
1ifndef VERSDIR
2export VERSDIR=$(shell /bin/pwd)
3endif
9bccf70c
A
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
1c79356b
A
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 \
2d21ac55
A
32 libsa \
33 security
1c79356b 34
55e303ae
A
35CONFIG_SUBDIRS = config
36
91447636 37INSTINC_SUBDIRS = $(ALL_SUBDIRS) EXTERNAL_HEADERS
1c79356b 38
91447636 39INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
1c79356b 40
91447636 41INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
1c79356b 42
2d21ac55
A
43INSTINC_SUBDIRS_ARM = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
44
1c79356b
A
45EXPINC_SUBDIRS = $(ALL_SUBDIRS)
46
47EXPINC_SUBDIRS_PPC = $(EXPINC_SUBDIRS)
48
49EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS)
50
2d21ac55
A
51EXPINC_SUBDIRS_ARM = $(EXPINC_SUBDIRS)
52
1c79356b
A
53COMP_SUBDIRS = $(ALL_SUBDIRS)
54
55e303ae 55
1c79356b
A
56INST_SUBDIRS = \
57 libkern \
58 libsa \
59 iokit \
60 osfmk \
d7e50217 61 bsd \
2d21ac55
A
62 config \
63 security
1c79356b
A
64
65INSTALL_FILE_LIST= \
66 mach_kernel
67
68INSTALL_FILE_DIR= \
69 /
70
9bccf70c
A
71INSTMAN_SUBDIRS = \
72 bsd
73
1c79356b
A
74include $(MakeInc_rule)
75include $(MakeInc_dir)