]> git.saurik.com Git - apple/xnu.git/blame - Makefile
xnu-792.13.8.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 \
32 libsa
33
55e303ae
A
34CONFIG_SUBDIRS = config
35
91447636 36INSTINC_SUBDIRS = $(ALL_SUBDIRS) EXTERNAL_HEADERS
1c79356b 37
91447636 38INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
1c79356b 39
91447636 40INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS
1c79356b
A
41
42EXPINC_SUBDIRS = $(ALL_SUBDIRS)
43
44EXPINC_SUBDIRS_PPC = $(EXPINC_SUBDIRS)
45
46EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS)
47
48COMP_SUBDIRS = $(ALL_SUBDIRS)
49
55e303ae 50
1c79356b
A
51INST_SUBDIRS = \
52 libkern \
53 libsa \
54 iokit \
55 osfmk \
d7e50217
A
56 bsd \
57 config
1c79356b
A
58
59INSTALL_FILE_LIST= \
60 mach_kernel
61
62INSTALL_FILE_DIR= \
63 /
64
9bccf70c
A
65INSTMAN_SUBDIRS = \
66 bsd
67
1c79356b
A
68include $(MakeInc_rule)
69include $(MakeInc_dir)