]>
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 | ||
c3c9b80d A |
30 | # Headers installed into System.framework/PrivateHeaders |
31 | INSTALL_MD_LCL_LIST = \ | |
32 | $(ARM_PRIVATE_HEADERS) | |
33 | ||
f427ee49 A |
34 | # TODO: Is there a reason that machine_machdep.h is not in this list? If not, these lists can be consolidated. |
35 | # Headers used to compile xnu | |
36 | EXPORT_MD_LIST = \ | |
37 | lowglobals.h \ | |
38 | machine_cpuid.h \ | |
39 | machine_kpc.h \ | |
40 | machine_remote_time.h \ | |
41 | monotonic.h \ | |
42 | pgtrace.h \ | |
43 | proc_reg.h \ | |
44 | asm.h \ | |
45 | tlb.h \ | |
46 | pal_hibernate.h | |
47 | ||
48 | # These headers will be available with #include <arm64/header_file.h> | |
49 | EXPORT_MD_DIR = arm64 | |
50 | ||
c3c9b80d A |
51 | INSTALL_MD_DIR = arm64 |
52 | ||
f427ee49 A |
53 | else # $(PLATFORM),MacOSX |
54 | ||
d9a64523 | 55 | |
5ba3f43e A |
56 | ARM_HEADER_FILES = \ |
57 | lowglobals.h \ | |
58 | machine_cpuid.h \ | |
59 | machine_machdep.h \ | |
cb323159 A |
60 | proc_reg.h \ |
61 | tlb.h \ | |
5ba3f43e A |
62 | |
63 | INSTALL_MD_DIR = arm64 | |
64 | ||
65 | INSTALL_MD_LCL_LIST = | |
66 | ||
67 | INSTALL_MD_LIST = | |
68 | ||
69 | INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES) | |
70 | ||
0a7de745 | 71 | INSTALL_KF_MD_LCL_LIST = machine_kpc.h machine_remote_time.h monotonic.h pgtrace.h $(ARM_HEADER_FILES) |
5ba3f43e | 72 | |
f427ee49 | 73 | 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 |
74 | |
75 | EXPORT_MD_DIR = arm64 | |
76 | ||
f427ee49 A |
77 | endif # $(PLATFORM),MacOSX |
78 | ||
5ba3f43e A |
79 | include $(MakeInc_rule) |
80 | include $(MakeInc_dir) |