]> git.saurik.com Git - apple/xnu.git/blob - Makefile
xnu-344.12.2.tar.gz
[apple/xnu.git] / Makefile
1 ifndef VERSDIR
2 export VERSDIR=$(shell /bin/pwd)
3 endif
4 ifndef SRCROOT
5 export SRCROOT=$(shell /bin/pwd)
6 endif
7 ifndef OBJROOT
8 export OBJROOT=$(SRCROOT)/BUILD/obj
9 endif
10 ifndef DSTROOT
11 export DSTROOT=$(SRCROOT)/BUILD/dst
12 endif
13 ifndef SYMROOT
14 export SYMROOT=$(SRCROOT)/BUILD/sym
15 endif
16
17 export MakeInc_cmd=${VERSDIR}/makedefs/MakeInc.cmd
18 export MakeInc_def=${VERSDIR}/makedefs/MakeInc.def
19 export MakeInc_rule=${VERSDIR}/makedefs/MakeInc.rule
20 export MakeInc_dir=${VERSDIR}/makedefs/MakeInc.dir
21
22
23 include $(MakeInc_cmd)
24 include $(MakeInc_def)
25
26 ALL_SUBDIRS = \
27 iokit \
28 osfmk \
29 bsd \
30 pexpert \
31 libkern \
32 libsa
33
34 INSTINC_SUBDIRS = $(ALL_SUBDIRS)
35
36 INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS)
37
38 INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS)
39
40 EXPINC_SUBDIRS = $(ALL_SUBDIRS)
41
42 EXPINC_SUBDIRS_PPC = $(EXPINC_SUBDIRS)
43
44 EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS)
45
46 COMP_SUBDIRS = $(ALL_SUBDIRS)
47
48 INST_SUBDIRS = \
49 libkern \
50 libsa \
51 iokit \
52 osfmk \
53 bsd
54
55 INSTALL_FILE_LIST= \
56 mach_kernel
57
58 INSTALL_FILE_DIR= \
59 /
60
61 INSTMAN_SUBDIRS = \
62 bsd
63
64 include $(MakeInc_rule)
65 include $(MakeInc_dir)