]>
Commit | Line | Data |
---|---|---|
5ba3f43e A |
1 | export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd |
2 | export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def | |
3 | export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule | |
4 | export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir | |
5 | ||
6 | include $(MakeInc_cmd) | |
7 | include $(MakeInc_def) | |
8 | ||
f427ee49 A |
9 | ifeq ($(PLATFORM),MacOSX) |
10 | ||
11 | ||
12 | ARM_HEADER_FILES = \ | |
13 | machine_cpuid.h \ | |
14 | machine_machdep.h \ | |
15 | ||
16 | # Headers installed into Kernel.framework/Headers (public and internal SDKs). | |
17 | INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES) | |
18 | ||
19 | # Headers installed into Kernel.framework/PrivateHeaders (internal SDK only). | |
20 | INSTALL_KF_MD_LCL_LIST = \ | |
21 | lowglobals.h \ | |
22 | machine_kpc.h \ | |
23 | machine_remote_time.h \ | |
24 | monotonic.h \ | |
25 | pgtrace.h \ | |
26 | proc_reg.h \ | |
27 | tlb.h \ | |
28 | $(ARM_HEADER_FILES) | |
29 | ||
30 | # TODO: Is there a reason that machine_machdep.h is not in this list? If not, these lists can be consolidated. | |
31 | # Headers used to compile xnu | |
32 | EXPORT_MD_LIST = \ | |
33 | lowglobals.h \ | |
34 | machine_cpuid.h \ | |
35 | machine_kpc.h \ | |
36 | machine_remote_time.h \ | |
37 | monotonic.h \ | |
38 | pgtrace.h \ | |
39 | proc_reg.h \ | |
40 | asm.h \ | |
41 | tlb.h \ | |
42 | pal_hibernate.h | |
43 | ||
44 | # These headers will be available with #include <arm64/header_file.h> | |
45 | EXPORT_MD_DIR = arm64 | |
46 | ||
47 | else # $(PLATFORM),MacOSX | |
48 | ||
d9a64523 | 49 | |
5ba3f43e A |
50 | ARM_HEADER_FILES = \ |
51 | lowglobals.h \ | |
52 | machine_cpuid.h \ | |
53 | machine_machdep.h \ | |
cb323159 A |
54 | proc_reg.h \ |
55 | tlb.h \ | |
5ba3f43e A |
56 | |
57 | INSTALL_MD_DIR = arm64 | |
58 | ||
59 | INSTALL_MD_LCL_LIST = | |
60 | ||
61 | INSTALL_MD_LIST = | |
62 | ||
63 | INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES) | |
64 | ||
0a7de745 | 65 | INSTALL_KF_MD_LCL_LIST = machine_kpc.h machine_remote_time.h monotonic.h pgtrace.h $(ARM_HEADER_FILES) |
5ba3f43e | 66 | |
f427ee49 | 67 | EXPORT_MD_LIST = machine_cpuid.h machine_kpc.h machine_remote_time.h monotonic.h proc_reg.h pgtrace.h asm.h tlb.h pal_hibernate.h |
5ba3f43e A |
68 | |
69 | EXPORT_MD_DIR = arm64 | |
70 | ||
f427ee49 A |
71 | endif # $(PLATFORM),MacOSX |
72 | ||
5ba3f43e A |
73 | include $(MakeInc_rule) |
74 | include $(MakeInc_dir) |