]>
Commit | Line | Data |
---|---|---|
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 | security | |
34 | ||
35 | CONFIG_SUBDIRS = config | |
36 | ||
37 | INSTINC_SUBDIRS = $(ALL_SUBDIRS) EXTERNAL_HEADERS | |
38 | ||
39 | INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS | |
40 | ||
41 | INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS | |
42 | ||
43 | INSTINC_SUBDIRS_ARM = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS | |
44 | ||
45 | EXPINC_SUBDIRS = $(ALL_SUBDIRS) | |
46 | ||
47 | EXPINC_SUBDIRS_PPC = $(EXPINC_SUBDIRS) | |
48 | ||
49 | EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS) | |
50 | ||
51 | EXPINC_SUBDIRS_ARM = $(EXPINC_SUBDIRS) | |
52 | ||
53 | COMP_SUBDIRS = $(ALL_SUBDIRS) | |
54 | ||
55 | ||
56 | INST_SUBDIRS = \ | |
57 | libkern \ | |
58 | libsa \ | |
59 | iokit \ | |
60 | osfmk \ | |
61 | bsd \ | |
62 | config \ | |
63 | security | |
64 | ||
65 | INSTALL_FILE_LIST= \ | |
66 | mach_kernel | |
67 | ||
68 | INSTALL_FILE_DIR= \ | |
69 | / | |
70 | ||
71 | INSTMAN_SUBDIRS = \ | |
72 | bsd | |
73 | ||
74 | include $(MakeInc_rule) | |
75 | include $(MakeInc_dir) |