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