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