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 6 7include $(MakeInc_cmd) 8include $(MakeInc_def) 9 10INSTINC_SUBDIRS = \ 11 machine \ 12 c++ \ 13 crypto 14INSTINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS} \ 15 i386 16INSTINC_SUBDIRS_X86_64 = ${INSTINC_SUBDIRS} \ 17 i386 18INSTINC_SUBDIRS_ARM = ${INSTINC_SUBDIRS} \ 19 arm 20INSTINC_SUBDIRS_ARM64 = ${INSTINC_SUBDIRS} \ 21 arm 22 23 24EXPINC_SUBDIRS = ${INSTINC_SUBDIRS} 25EXPINC_SUBDIRS_I386 = ${INSTINC_SUBDIRS_I386} 26EXPINC_SUBDIRS_ARM = ${INSTINC_SUBDIRS_ARM} 27EXPINC_SUBDIRS_ARM64 = ${INSTINC_SUBDIRS_ARM} 28EXPINC_SUBDIRS_X86_64 = ${INSTINC_SUBDIRS_X86_64} 29 30DATAFILES = \ 31 OSAtomic.h \ 32 OSBase.h \ 33 OSByteOrder.h \ 34 _OSByteOrder.h \ 35 OSDebug.h \ 36 OSKextLib.h \ 37 OSMalloc.h \ 38 OSReturn.h \ 39 OSTypes.h \ 40 locks.h \ 41 sysctl.h \ 42 tree.h \ 43 zconf.h \ 44 zlib.h 45 46PRIVATE_DATAFILES = \ 47 OSKextLibPrivate.h \ 48 kext_request_keys.h \ 49 mkext.h \ 50 prelink.h \ 51 WKdm.h 52 53INSTALL_MI_LIST = \ 54 OSByteOrder.h \ 55 _OSByteOrder.h \ 56 OSDebug.h \ 57 OSKextLib.h \ 58 OSReturn.h \ 59 OSTypes.h 60 61INSTALL_MI_DIR = libkern 62 63INSTALL_MI_LCL_LIST = \ 64 ${INSTALL_MI_LIST} \ 65 ${PRIVATE_DATAFILES} \ 66 tree.h \ 67 kext_panic_report.h \ 68 OSCrossEndian.h 69 70 71 72INSTALL_KF_MI_LIST = \ 73 ${DATAFILES} 74 75INSTALL_KF_MI_LCL_LIST = \ 76 ${DATAFILES} \ 77 ${PRIVATE_DATAFILES} 78 79EXPORT_MI_LIST = \ 80 ${DATAFILES} \ 81 ${PRIVATE_DATAFILES} \ 82 kernel_mach_header.h \ 83 kxld.h \ 84 kxld_types.h \ 85 stack_protector.h 86 87EXPORT_MI_GEN_LIST = version.h 88 89EXPORT_MI_DIR = libkern 90 91version.h: version.h.template $(SRCROOT)/config/MasterVersion 92 @echo "Generating libkern/$@ from $<"; 93 $(_v)install $(DATA_INSTALL_FLAGS) $< $@ 94 $(_v)$(NEWVERS) $@ > /dev/null; 95 96include $(MakeInc_rule) 97include $(MakeInc_dir) 98