xref: /xnu-8792.61.2/osfmk/machine/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
9PRIVATE_DATAFILES = \
10	cpu_capabilities.h
11
12KERNELFILES = \
13	atomic.h	\
14	config.h		\
15	cpu_capabilities.h	\
16	cpu_number.h	\
17	lock.h	\
18	locks.h	\
19	machine_cpuid.h		\
20	machine_remote_time.h \
21	machine_routines.h	\
22	machine_kpc.h		\
23	machine_perfmon.h   \
24	memory_types.h		\
25	monotonic.h \
26	pal_routines.h		\
27	pal_hibernate.h		\
28	simple_lock.h		\
29	smp.h                   \
30	trap.h
31
32EXPORT_FILES = \
33	machine_remote_time.h
34
35# These are covered by ../../bsd/machine/machine_private.modulemap.
36INSTALL_MI_LCL_LIST = ${PRIVATE_DATAFILES}
37
38INSTALL_SF_MI_LCL_LIST = ${PRIVATE_DATAFILES}
39
40INSTALL_KF_MD_LCL_LIST = ${EXPORT_FILES}
41
42INSTALL_MI_DIR = machine
43
44EXPORT_MI_LIST = ${KERNELFILES}
45
46EXPORT_MI_DIR = machine
47
48include $(MakeInc_rule)
49include $(MakeInc_dir)
50