]> git.saurik.com Git - apple/xnu.git/blame - osfmk/arm64/Makefile
xnu-7195.101.1.tar.gz
[apple/xnu.git] / osfmk / arm64 / Makefile
CommitLineData
5ba3f43e
A
1export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
5
6include $(MakeInc_cmd)
7include $(MakeInc_def)
8
f427ee49
A
9ifeq ($(PLATFORM),MacOSX)
10
11
12ARM_HEADER_FILES = \
13 machine_cpuid.h \
14 machine_machdep.h \
15
16# Headers installed into Kernel.framework/Headers (public and internal SDKs).
17INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES)
18
19# Headers installed into Kernel.framework/PrivateHeaders (internal SDK only).
20INSTALL_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
31INSTALL_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
36EXPORT_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>
49EXPORT_MD_DIR = arm64
50
c3c9b80d
A
51INSTALL_MD_DIR = arm64
52
f427ee49
A
53else # $(PLATFORM),MacOSX
54
d9a64523 55
5ba3f43e
A
56ARM_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
63INSTALL_MD_DIR = arm64
64
65INSTALL_MD_LCL_LIST =
66
67INSTALL_MD_LIST =
68
69INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES)
70
0a7de745 71INSTALL_KF_MD_LCL_LIST = machine_kpc.h machine_remote_time.h monotonic.h pgtrace.h $(ARM_HEADER_FILES)
5ba3f43e 72
f427ee49 73EXPORT_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
75EXPORT_MD_DIR = arm64
76
f427ee49
A
77endif # $(PLATFORM),MacOSX
78
5ba3f43e
A
79include $(MakeInc_rule)
80include $(MakeInc_dir)