]>
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 | |
b0d623f7 | 8 | export OBJROOT=$(SRCROOT)/BUILD/obj/ |
9bccf70c A |
9 | endif |
10 | ifndef DSTROOT | |
b0d623f7 | 11 | export DSTROOT=$(SRCROOT)/BUILD/dst/ |
9bccf70c A |
12 | endif |
13 | ifndef SYMROOT | |
b0d623f7 | 14 | export SYMROOT=$(SRCROOT)/BUILD/sym/ |
9bccf70c | 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 \ | |
2d21ac55 A |
32 | libsa \ |
33 | security | |
1c79356b | 34 | |
b0d623f7 A |
35 | CONFIG_SUBDIRS_PPC = config |
36 | ||
37 | CONFIG_SUBDIRS_I386 = config | |
38 | ||
39 | CONFIG_SUBDIRS_X86_64 = config | |
40 | ||
41 | CONFIG_SUBDIRS_ARM = config | |
55e303ae | 42 | |
91447636 | 43 | INSTINC_SUBDIRS = $(ALL_SUBDIRS) EXTERNAL_HEADERS |
1c79356b | 44 | |
91447636 | 45 | INSTINC_SUBDIRS_PPC = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS |
1c79356b | 46 | |
91447636 | 47 | INSTINC_SUBDIRS_I386 = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS |
1c79356b | 48 | |
b0d623f7 A |
49 | INSTINC_SUBDIRS_X86_64 = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS |
50 | ||
2d21ac55 A |
51 | INSTINC_SUBDIRS_ARM = $(INSTINC_SUBDIRS) EXTERNAL_HEADERS |
52 | ||
1c79356b A |
53 | EXPINC_SUBDIRS = $(ALL_SUBDIRS) |
54 | ||
55 | EXPINC_SUBDIRS_PPC = $(EXPINC_SUBDIRS) | |
56 | ||
57 | EXPINC_SUBDIRS_I386 = $(EXPINC_SUBDIRS) | |
58 | ||
b0d623f7 A |
59 | EXPINC_SUBDIRS_X86_64 = $(EXPINC_SUBDIRS) |
60 | ||
2d21ac55 A |
61 | EXPINC_SUBDIRS_ARM = $(EXPINC_SUBDIRS) |
62 | ||
b0d623f7 A |
63 | COMP_SUBDIRS_PPC = $(ALL_SUBDIRS) |
64 | ||
65 | COMP_SUBDIRS_I386 = $(ALL_SUBDIRS) | |
66 | ||
67 | COMP_SUBDIRS_X86_64 = $(ALL_SUBDIRS) | |
1c79356b | 68 | |
b0d623f7 | 69 | COMP_SUBDIRS_ARM = $(ALL_SUBDIRS) |
55e303ae | 70 | |
1c79356b A |
71 | INST_SUBDIRS = \ |
72 | libkern \ | |
73 | libsa \ | |
74 | iokit \ | |
75 | osfmk \ | |
d7e50217 | 76 | bsd \ |
2d21ac55 A |
77 | config \ |
78 | security | |
1c79356b A |
79 | |
80 | INSTALL_FILE_LIST= \ | |
81 | mach_kernel | |
82 | ||
83 | INSTALL_FILE_DIR= \ | |
84 | / | |
85 | ||
9bccf70c A |
86 | INSTMAN_SUBDIRS = \ |
87 | bsd | |
88 | ||
1c79356b A |
89 | include $(MakeInc_rule) |
90 | include $(MakeInc_dir) |