xref: /xnu-11215.61.5/osfmk/i386/Makefile (revision 4f1223e81cd707a65cc109d0b8ad6653699da3c4)
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
9EXPORT_ONLY_FILES =	\
10		    apic.h \
11		    asm.h \
12		    atomic.h \
13		    bit_routines.h \
14		    cpu_number.h \
15		    cpu_capabilities.h	\
16		    cpu_data.h \
17		    cpu_topology.h \
18		    cpuid.h \
19		    eflags.h \
20		    fpu.h \
21		    x86_hypercall.h \
22		    lapic.h \
23		    lock.h \
24		    locks.h \
25		    machine_routines.h \
26		    machine_cpu.h \
27		    memory_types.h \
28		    mtrr.h \
29		    mp.h \
30		    mp_desc.h \
31		    mp_events.h \
32		    pal_native.h \
33		    pal_routines.h \
34		    pal_hibernate.h \
35		    panic_hooks.h \
36		    pmCPU.h \
37		    pmap.h \
38		    proc_reg.h \
39		    rtclock_protos.h \
40		    seg.h \
41		    simple_lock.h \
42		    smp.h \
43	            trap.h \
44		    tsc.h \
45		    tss.h \
46		    ucode.h \
47		    vmx.h
48
49INSTALL_MD_DIR = i386
50
51# These are covered by ../../bsd/machine/machine.modulemap.
52INSTALL_MD_LIST = eflags.h user_ldt.h
53
54# These are covered by ../../bsd/machine/machine_private.modulemap.
55INSTALL_MD_LCL_LIST = cpu_capabilities.h
56
57INSTALL_SF_MD_LCL_LIST = ${INSTALL_MD_LIST} ${INSTALL_MD_LCL_LIST}
58
59INSTALL_KF_MD_LIST = asm.h cpuid.h eflags.h locks.h machine_routines.h proc_reg.h vmx.h trap.h
60
61INSTALL_KF_MD_LCL_LIST = $(filter-out bit_routines.h cpu_data.h pal_i386.h, $(EXPORT_ONLY_FILES))
62
63EXPORT_MD_LIST = ${EXPORT_ONLY_FILES}
64
65EXPORT_MD_DIR = i386
66
67include $(MakeInc_rule)
68include $(MakeInc_dir)
69