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 DistributionsDATAFILES = 10*4f1223e8SApple OSS Distributions 11*4f1223e8SApple OSS DistributionsPRIVATE_DATAFILES = \ 12*4f1223e8SApple OSS Distributions vm_compressor_info.h 13*4f1223e8SApple OSS Distributions 14*4f1223e8SApple OSS DistributionsKERNELFILES = \ 15*4f1223e8SApple OSS Distributions memory_types.h \ 16*4f1223e8SApple OSS Distributions pmap.h \ 17*4f1223e8SApple OSS Distributions lz4.h \ 18*4f1223e8SApple OSS Distributions lz4_constants.h \ 19*4f1223e8SApple OSS Distributions lz4_assembly_select.h \ 20*4f1223e8SApple OSS Distributions vm_fault.h \ 21*4f1223e8SApple OSS Distributions vm_kern.h \ 22*4f1223e8SApple OSS Distributions vm_map.h \ 23*4f1223e8SApple OSS Distributions vm_memtag.h \ 24*4f1223e8SApple OSS Distributions vm_options.h \ 25*4f1223e8SApple OSS Distributions vm_pageout.h \ 26*4f1223e8SApple OSS Distributions vm_protos.h \ 27*4f1223e8SApple OSS Distributions vm_shared_region.h \ 28*4f1223e8SApple OSS Distributions vm_dyld_pager.h \ 29*4f1223e8SApple OSS Distributions vm_compressor_algorithms.h \ 30*4f1223e8SApple OSS Distributions WKdm_new.h 31*4f1223e8SApple OSS Distributions 32*4f1223e8SApple OSS DistributionsPRIVATE_KERNELFILES = \ 33*4f1223e8SApple OSS Distributions pmap_cs.h 34*4f1223e8SApple OSS Distributions 35*4f1223e8SApple OSS DistributionsXNU_ONLY_EXPORTS = \ 36*4f1223e8SApple OSS Distributions memory_object_xnu.h \ 37*4f1223e8SApple OSS Distributions vm_compressor_algorithms_xnu.h \ 38*4f1223e8SApple OSS Distributions vm_compressor_backing_store_xnu.h \ 39*4f1223e8SApple OSS Distributions vm_compressor_xnu.h \ 40*4f1223e8SApple OSS Distributions vm_fault_xnu.h \ 41*4f1223e8SApple OSS Distributions vm_kern_xnu.h \ 42*4f1223e8SApple OSS Distributions vm_map_xnu.h \ 43*4f1223e8SApple OSS Distributions vm_memory_entry.h \ 44*4f1223e8SApple OSS Distributions vm_memory_entry_xnu.h \ 45*4f1223e8SApple OSS Distributions vm_object_xnu.h \ 46*4f1223e8SApple OSS Distributions vm_page.h \ 47*4f1223e8SApple OSS Distributions vm_pageout_xnu.h \ 48*4f1223e8SApple OSS Distributions vm_purgeable_xnu.h \ 49*4f1223e8SApple OSS Distributions vm_reclaim_xnu.h \ 50*4f1223e8SApple OSS Distributions vm_shared_region_xnu.h 51*4f1223e8SApple OSS Distributions 52*4f1223e8SApple OSS Distributions# Internal headers for the sake of bsd/vm/* and bsd/kern/kern_mman.c files only 53*4f1223e8SApple OSS DistributionsXNU_ONLY_EXPORTS += \ 54*4f1223e8SApple OSS Distributions vm_compressor_backing_store_internal.h \ 55*4f1223e8SApple OSS Distributions vm_dyld_pager_internal.h \ 56*4f1223e8SApple OSS Distributions vm_map_internal.h \ 57*4f1223e8SApple OSS Distributions vm_protos_internal.h \ 58*4f1223e8SApple OSS Distributions vm_sanitize_internal.h \ 59*4f1223e8SApple OSS Distributions vm_sanitize_telemetry.h \ 60*4f1223e8SApple OSS Distributions vm_shared_region_internal.h 61*4f1223e8SApple OSS Distributions 62*4f1223e8SApple OSS Distributions# Internal files exported with specific subsystems 63*4f1223e8SApple OSS Distributions# who needs access to some VM internals. 64*4f1223e8SApple OSS Distributions# 65*4f1223e8SApple OSS Distributions# These headers must be included from C/C++ translation units, 66*4f1223e8SApple OSS Distributions# never from other headers, and only by the named subsystems. 67*4f1223e8SApple OSS DistributionsXNU_ONLY_EXPORTS += \ 68*4f1223e8SApple OSS Distributions vm_iokit.h \ 69*4f1223e8SApple OSS Distributions vm_ubc.h \ 70*4f1223e8SApple OSS Distributions vm_upl.h 71*4f1223e8SApple OSS Distributions 72*4f1223e8SApple OSS Distributions# /usr/include 73*4f1223e8SApple OSS DistributionsINSTALL_MI_LIST = ${DATAFILES} 74*4f1223e8SApple OSS Distributions 75*4f1223e8SApple OSS Distributions# /System/Library/Frameworks/System.framework/PrivateHeaders 76*4f1223e8SApple OSS DistributionsINSTALL_SF_MI_LCL_LIST = ${DATAFILES} ${PRIVATE_DATAFILES} 77*4f1223e8SApple OSS Distributions 78*4f1223e8SApple OSS Distributions# /System/Library/Frameworks/Kernel.framework/Headers 79*4f1223e8SApple OSS DistributionsINSTALL_KF_MI_LIST = ${KERNELFILES} 80*4f1223e8SApple OSS Distributions 81*4f1223e8SApple OSS Distributions# /System/Library/Frameworks/Kernel.framework/PrivateHeaders 82*4f1223e8SApple OSS DistributionsINSTALL_KF_MI_LCL_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES} 83*4f1223e8SApple OSS Distributions 84*4f1223e8SApple OSS DistributionsINSTALL_MI_DIR = vm 85*4f1223e8SApple OSS Distributions 86*4f1223e8SApple OSS Distributions# Exported to rest of XNU for compilation 87*4f1223e8SApple OSS DistributionsEXPORT_MI_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES} ${XNU_ONLY_EXPORTS} ${PRIVATE_DATAFILES} 88*4f1223e8SApple OSS Distributions 89*4f1223e8SApple OSS DistributionsEXPORT_MI_DIR = vm 90*4f1223e8SApple OSS Distributions 91*4f1223e8SApple OSS Distributionsinclude $(MakeInc_rule) 92*4f1223e8SApple OSS Distributionsinclude $(MakeInc_dir) 93