]> git.saurik.com Git - apple/xnu.git/blobdiff - libkern/libkern/Makefile
xnu-3247.1.106.tar.gz
[apple/xnu.git] / libkern / libkern / Makefile
index 8b2f0606a7e5230d0511c71b3daf4e0d7bb5c5ec..ee046b925b52855b57b22ab4933ce25d8d29bc72 100644 (file)
@@ -14,61 +14,62 @@ INSTINC_SUBDIRS_X86_64 = \
         i386
 INSTINC_SUBDIRS_X86_64H = \
         i386
+INSTINC_SUBDIRS_ARM = \
+        arm
+INSTINC_SUBDIRS_ARM64 = \
+        arm
 
 EXPINC_SUBDIRS = ${INSTINC_SUBDIRS}
 EXPINC_SUBDIRS_X86_64 = ${INSTINC_SUBDIRS_X86_64}
 EXPINC_SUBDIRS_X86_64H = ${INSTINC_SUBDIRS_X86_64H}
+EXPINC_SUBDIRS_ARM = ${INSTINC_SUBDIRS_ARM}
+EXPINC_SUBDIRS_ARM64 = ${INSTINC_SUBDIRS_ARM64}
 
 DATAFILES = \
-       OSAtomic.h      \
-        OSBase.h       \
-        OSByteOrder.h  \
-        _OSByteOrder.h \
-        OSDebug.h      \
-       OSKextLib.h     \
-        OSMalloc.h     \
-        OSReturn.h     \
-        OSTypes.h      \
-       locks.h         \
-       sysctl.h        \
-       tree.h          \
-       zconf.h         \
+       OSByteOrder.h \
+       _OSByteOrder.h \
+       OSDebug.h \
+       OSKextLib.h \
+       OSReturn.h \
+       OSTypes.h
+
+KERNELFILES = \
+       ${DATAFILES} \
+       OSAtomic.h \
+       OSBase.h \
+       OSMalloc.h \
+       locks.h \
+       sysctl.h \
+       tree.h \
+       zconf.h \
        zlib.h
 
-PRIVATE_DATAFILES =         \
-       OSKextLibPrivate.h  \
+PRIVATE_KERNELFILES = \
+       OSKextLibPrivate.h \
+       OSSerializeBinary.h \
        kext_request_keys.h \
-       mkext.h             \
-       prelink.h               \
-    OSSerializeBinary.h
-
-INSTALL_MI_LIST        =       \
-       OSByteOrder.h   \
-       _OSByteOrder.h  \
-       OSDebug.h       \
-       OSKextLib.h     \
-       OSReturn.h      \
-       OSTypes.h
+       mkext.h \
+       prelink.h
+
+PRIVATE_DATAFILES = \
+       ${PRIVATE_KERNELFILES} \
+       tree.h
+
+INSTALL_MI_LIST        = ${DATAFILES}
 
 INSTALL_MI_DIR = libkern
 
 INSTALL_MI_LCL_LIST =        \
-       ${INSTALL_MI_LIST}   \
        ${PRIVATE_DATAFILES} \
-       tree.h               \
        kext_panic_report.h  \
        OSCrossEndian.h
 
-INSTALL_KF_MI_LIST =       \
-       ${DATAFILES}
+INSTALL_KF_MI_LIST = ${KERNELFILES}
 
-INSTALL_KF_MI_LCL_LIST =   \
-       ${DATAFILES}       \
-       ${PRIVATE_DATAFILES}
+INSTALL_KF_MI_LCL_LIST = ${KERNELFILES} ${PRIVATE_KERNELFILES}
 
-EXPORT_MI_LIST =              \
-       ${DATAFILES}           \
-       ${PRIVATE_DATAFILES}   \
+EXPORT_MI_LIST = \
+       $(sort ${KERNELFILES} ${PRIVATE_DATAFILES}) \
        kernel_mach_header.h   \
        kxld.h                 \
        kxld_types.h           \