]>
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 | ARM_HEADER_FILES = \ | |
12 | arch.h \ | |
13 | atomic.h \ | |
14 | cpu_number.h \ | |
15 | cpu_capabilities.h \ | |
16 | cpu_x86_64_capabilities.h \ | |
17 | cpuid.h \ | |
18 | cpuid_internal.h \ | |
19 | io_map_entries.h \ | |
20 | lock.h \ | |
21 | locks.h \ | |
22 | machine_cpuid.h \ | |
23 | machine_routines.h \ | |
24 | memory_types.h \ | |
25 | pal_routines.h \ | |
26 | simple_lock.h \ | |
27 | thread.h \ | |
28 | trap.h | |
29 | ||
30 | INSTALL_MD_DIR = arm | |
31 | ||
32 | # Headers installed into System.framework/PrivateHeaders (internal SDK only). | |
33 | INSTALL_MD_LCL_LIST = arch.h cpu_capabilities.h | |
34 | ||
35 | # Headers installed into /usr/include (public and internal SDKs). | |
36 | INSTALL_MD_LIST = arch.h | |
37 | ||
38 | # Headers installed in the public/internal SDKs for userspace DriverKit drivers. | |
39 | INSTALL_DRIVERKIT_MD_LIST = arch.h | |
40 | ||
41 | # Headers installed into Kernel.framework/Headers (public and internal SDKs). | |
42 | INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES) | |
43 | ||
44 | # Headers installed into Kernel.framework/PrivateHeaders (internal SDK only). | |
45 | INSTALL_KF_MD_LCL_LIST = \ | |
46 | dbgwrap.h \ | |
47 | machine_kpc.h \ | |
48 | monotonic.h \ | |
49 | pmap_public.h \ | |
50 | proc_reg.h \ | |
51 | smp.h \ | |
52 | $(ARM_HEADER_FILES) | |
53 | ||
54 | # TODO: consolidate INSTALL_KF_MD_LCL_LIST and EXPORT_MD_LIST? Only difference is caches_internal.h/machine_cpu.h | |
55 | # Headers used to compile xnu | |
56 | EXPORT_MD_LIST = \ | |
57 | caches_internal.h \ | |
58 | dbgwrap.h \ | |
59 | machine_cpu.h \ | |
60 | machine_kpc.h \ | |
61 | monotonic.h \ | |
62 | pmap_public.h \ | |
63 | proc_reg.h \ | |
64 | smp.h \ | |
65 | ${ARM_HEADER_FILES} | |
66 | ||
67 | # These headers will be available with #include <arm/header_file.h> | |
68 | EXPORT_MD_DIR = arm | |
69 | ||
70 | else # $(PLATFORM),MacOSX | |
71 | ||
5ba3f43e A |
72 | ARM_HEADER_FILES = \ |
73 | arch.h \ | |
74 | atomic.h \ | |
75 | cpu_number.h \ | |
76 | cpu_capabilities.h \ | |
f427ee49 | 77 | cpu_x86_64_capabilities.h \ |
5ba3f43e A |
78 | cpuid.h \ |
79 | cpuid_internal.h \ | |
80 | dbgwrap.h \ | |
81 | io_map_entries.h \ | |
82 | lock.h \ | |
83 | locks.h \ | |
84 | machine_cpu.h \ | |
85 | machine_cpuid.h \ | |
86 | machine_routines.h \ | |
cb323159 | 87 | memory_types.h \ |
5ba3f43e | 88 | pal_routines.h \ |
d9a64523 | 89 | pmap_public.h \ |
5ba3f43e | 90 | proc_reg.h \ |
d9a64523 | 91 | simple_lock.h \ |
5ba3f43e | 92 | smp.h \ |
f427ee49 A |
93 | thread.h \ |
94 | trap.h | |
5ba3f43e A |
95 | |
96 | INSTALL_MD_DIR = arm | |
97 | ||
98 | INSTALL_MD_LCL_LIST = arch.h cpu_capabilities.h | |
99 | ||
100 | INSTALL_MD_LIST = arch.h | |
101 | ||
f427ee49 A |
102 | INSTALL_DRIVERKIT_MD_LIST = arch.h |
103 | ||
5ba3f43e A |
104 | INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES) |
105 | ||
106 | INSTALL_KF_MD_LCL_LIST = machine_kpc.h monotonic.h $(ARM_HEADER_FILES) | |
107 | ||
108 | EXPORT_MD_LIST = \ | |
109 | caches_internal.h \ | |
110 | machine_kpc.h \ | |
111 | monotonic.h \ | |
112 | ${ARM_HEADER_FILES} | |
113 | ||
114 | EXPORT_MD_DIR = arm | |
115 | ||
f427ee49 A |
116 | endif # $(PLATFORM),MacOSX |
117 | ||
5ba3f43e A |
118 | include $(MakeInc_rule) |
119 | include $(MakeInc_dir) |