xref: /xnu-11215.81.4/osfmk/arm64/Makefile (revision d4514f0bc1d3f944c22d92e68b646ac3fb40d452)
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
9
10EXPINC_SUBDIRS_ARM64 += \
11	sptm
12
13ARM_HEADER_FILES = \
14	machine_cpuid.h		\
15	machine_machdep.h	\
16
17# Headers installed into Kernel.framework/Headers (public and internal SDKs).
18INSTALL_KF_MD_LIST = $(ARM_HEADER_FILES)
19
20# Headers installed into Kernel.framework/PrivateHeaders (internal SDK only).
21INSTALL_KF_MD_LCL_LIST = \
22	hv_hvc.h \
23	lowglobals.h \
24	machine_kpc.h \
25	machine_remote_time.h \
26	monotonic.h \
27	proc_reg.h \
28	tlb.h \
29	$(ARM_HEADER_FILES)
30
31# Headers installed into System.framework/PrivateHeaders
32INSTALL_SF_MD_LCL_LIST = \
33	$(ARM_PRIVATE_HEADERS)
34
35# TODO: Is there a reason that machine_machdep.h is not in this list? If not, these lists can be consolidated.
36# Headers used to compile xnu
37EXPORT_MD_LIST = \
38	cpc_arm64.h \
39	hv_hvc.h \
40	lowglobals.h \
41	machine_cpuid.h \
42	machine_kpc.h \
43	machine_remote_time.h \
44	monotonic.h \
45	proc_reg.h \
46	asm.h \
47	tlb.h \
48	pal_hibernate.h
49
50# These headers will be available with #include <arm64/header_file.h>
51EXPORT_MD_DIR = arm64
52
53INSTALL_MD_DIR = arm64
54
55include $(MakeInc_rule)
56include $(MakeInc_dir)
57