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