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