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