]>
Commit | Line | Data |
---|---|---|
1c79356b A |
1 | ifndef VERSDIR |
2 | export VERSDIR=$(shell /bin/pwd) | |
3 | endif | |
9bccf70c A |
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 | |
1c79356b A |
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 | ||
55e303ae A |
34 | CONFIG_SUBDIRS = config |
35 | ||
1c79356b A |
36 | INSTINC_SUBDIRS = $(ALL_SUBDIRS) |
37 | ||
38 | INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS) | |
39 | ||
40 | INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS) | |
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 | ||
55e303ae | 50 | |
1c79356b A |
51 | INST_SUBDIRS = \ |
52 | libkern \ | |
53 | libsa \ | |
54 | iokit \ | |
55 | osfmk \ | |
d7e50217 A |
56 | bsd \ |
57 | config | |
1c79356b A |
58 | |
59 | INSTALL_FILE_LIST= \ | |
60 | mach_kernel | |
61 | ||
62 | INSTALL_FILE_DIR= \ | |
63 | / | |
64 | ||
9bccf70c A |
65 | INSTMAN_SUBDIRS = \ |
66 | bsd | |
67 | ||
1c79356b A |
68 | include $(MakeInc_rule) |
69 | include $(MakeInc_dir) |