]> git.saurik.com Git - apple/xnu.git/blame - osfmk/arm64/Makefile
xnu-7195.81.3.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
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
32EXPORT_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>
45EXPORT_MD_DIR = arm64
46
47else # $(PLATFORM),MacOSX
48
d9a64523 49
5ba3f43e
A
50ARM_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
57INSTALL_MD_DIR = arm64
58
59INSTALL_MD_LCL_LIST =
60
61INSTALL_MD_LIST =
62
63INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES)
64
0a7de745 65INSTALL_KF_MD_LCL_LIST = machine_kpc.h machine_remote_time.h monotonic.h pgtrace.h $(ARM_HEADER_FILES)
5ba3f43e 66
f427ee49 67EXPORT_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
69EXPORT_MD_DIR = arm64
70
f427ee49
A
71endif # $(PLATFORM),MacOSX
72
5ba3f43e
A
73include $(MakeInc_rule)
74include $(MakeInc_dir)