xref: /xnu-11215.61.5/osfmk/arm/Makefile (revision 4f1223e81cd707a65cc109d0b8ad6653699da3c4)
1*4f1223e8SApple OSS Distributionsexport MakeInc_cmd=$(SRCROOT)/makedefs/MakeInc.cmd
2*4f1223e8SApple OSS Distributionsexport MakeInc_def=$(SRCROOT)/makedefs/MakeInc.def
3*4f1223e8SApple OSS Distributionsexport MakeInc_rule=$(SRCROOT)/makedefs/MakeInc.rule
4*4f1223e8SApple OSS Distributionsexport MakeInc_dir=$(SRCROOT)/makedefs/MakeInc.dir
5*4f1223e8SApple OSS Distributions
6*4f1223e8SApple OSS Distributionsinclude $(MakeInc_cmd)
7*4f1223e8SApple OSS Distributionsinclude $(MakeInc_def)
8*4f1223e8SApple OSS Distributions
9*4f1223e8SApple OSS DistributionsARM_HEADER_FILES =	\
10*4f1223e8SApple OSS Distributions		arch.h \
11*4f1223e8SApple OSS Distributions		atomic.h \
12*4f1223e8SApple OSS Distributions		cpu_number.h \
13*4f1223e8SApple OSS Distributions		cpu_capabilities.h	\
14*4f1223e8SApple OSS Distributions		cpu_capabilities_public.h	\
15*4f1223e8SApple OSS Distributions		cpu_x86_64_capabilities.h	\
16*4f1223e8SApple OSS Distributions		cpuid.h \
17*4f1223e8SApple OSS Distributions		cpuid_internal.h \
18*4f1223e8SApple OSS Distributions		lock.h \
19*4f1223e8SApple OSS Distributions		locks.h \
20*4f1223e8SApple OSS Distributions		machine_cpuid.h \
21*4f1223e8SApple OSS Distributions		machine_routines.h \
22*4f1223e8SApple OSS Distributions		memory_types.h \
23*4f1223e8SApple OSS Distributions		pal_routines.h \
24*4f1223e8SApple OSS Distributions		simple_lock.h \
25*4f1223e8SApple OSS Distributions		thread.h \
26*4f1223e8SApple OSS Distributions		trap.h
27*4f1223e8SApple OSS Distributions
28*4f1223e8SApple OSS DistributionsINSTALL_MD_DIR = arm
29*4f1223e8SApple OSS Distributions
30*4f1223e8SApple OSS Distributions# Headers installed into System.framework/PrivateHeaders (internal SDK only).
31*4f1223e8SApple OSS DistributionsINSTALL_SF_MD_LCL_LIST = arch.h cpu_capabilities.h
32*4f1223e8SApple OSS Distributions
33*4f1223e8SApple OSS Distributions# Headers installed into /usr/include (public and internal SDKs).
34*4f1223e8SApple OSS Distributions# These are covered by ../../bsd/machine/machine.modulemap.
35*4f1223e8SApple OSS DistributionsINSTALL_MD_LIST = \
36*4f1223e8SApple OSS Distributions		arch.h \
37*4f1223e8SApple OSS Distributions		cpu_capabilities_public.h
38*4f1223e8SApple OSS Distributions
39*4f1223e8SApple OSS Distributions# Headers installed into /usr/local/include (internal SDK only).
40*4f1223e8SApple OSS Distributions# These are covered by ../../bsd/machine/machine_private.modulemap.
41*4f1223e8SApple OSS DistributionsINSTALL_MD_LCL_LIST = cpu_capabilities.h
42*4f1223e8SApple OSS Distributions
43*4f1223e8SApple OSS Distributions# Headers installed in the public/internal SDKs for userspace DriverKit drivers.
44*4f1223e8SApple OSS DistributionsINSTALL_DRIVERKIT_MD_LIST = arch.h
45*4f1223e8SApple OSS Distributions
46*4f1223e8SApple OSS Distributions# Headers installed into Kernel.framework/Headers (public and internal SDKs).
47*4f1223e8SApple OSS DistributionsINSTALL_KF_MD_LIST = $(ARM_HEADER_FILES)
48*4f1223e8SApple OSS Distributions
49*4f1223e8SApple OSS Distributions# Headers installed into Kernel.framework/PrivateHeaders (internal SDK only).
50*4f1223e8SApple OSS DistributionsINSTALL_KF_MD_LCL_LIST = \
51*4f1223e8SApple OSS Distributions		cpu_topology.h \
52*4f1223e8SApple OSS Distributions		dbgwrap.h \
53*4f1223e8SApple OSS Distributions		machine_kpc.h \
54*4f1223e8SApple OSS Distributions		pmap_public.h \
55*4f1223e8SApple OSS Distributions		proc_reg.h \
56*4f1223e8SApple OSS Distributions		smp.h \
57*4f1223e8SApple OSS Distributions		$(ARM_HEADER_FILES)
58*4f1223e8SApple OSS Distributions
59*4f1223e8SApple OSS Distributions# TODO: consolidate INSTALL_KF_MD_LCL_LIST and EXPORT_MD_LIST? Only difference is caches_internal.h/machine_cpu.h
60*4f1223e8SApple OSS Distributions# Headers used to compile xnu
61*4f1223e8SApple OSS DistributionsEXPORT_MD_LIST = \
62*4f1223e8SApple OSS Distributions		caches_internal.h \
63*4f1223e8SApple OSS Distributions		cpu_topology.h \
64*4f1223e8SApple OSS Distributions		dbgwrap.h \
65*4f1223e8SApple OSS Distributions		machine_cpu.h \
66*4f1223e8SApple OSS Distributions		machine_kpc.h \
67*4f1223e8SApple OSS Distributions		pmap_public.h \
68*4f1223e8SApple OSS Distributions		proc_reg.h \
69*4f1223e8SApple OSS Distributions		smp.h \
70*4f1223e8SApple OSS Distributions		$(ARM_HEADER_FILES)
71*4f1223e8SApple OSS Distributions
72*4f1223e8SApple OSS Distributions# These headers will be available with #include <arm/header_file.h>
73*4f1223e8SApple OSS DistributionsEXPORT_MD_DIR = arm
74*4f1223e8SApple OSS Distributions
75*4f1223e8SApple OSS Distributionsinclude $(MakeInc_rule)
76*4f1223e8SApple OSS Distributionsinclude $(MakeInc_dir)
77