]> git.saurik.com Git - apple/xnu.git/blobdiff - pexpert/pexpert/arm64/Makefile
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / pexpert / pexpert / arm64 / Makefile
index 059b64ee8192a49aece162711e300e258f95f668..6807e0b64ade2668389e7c33143f294decfa97a0 100644 (file)
@@ -6,19 +6,54 @@ export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
 include $(MakeInc_cmd)
 include $(MakeInc_def)
 
 include $(MakeInc_cmd)
 include $(MakeInc_def)
 
+ifeq ($(PLATFORM),MacOSX)
+
+PRIVATE_DATAFILES = boot.h
+
+PRIVATE_KERNELFILES = \
+       AIC.h \
+       apple_arm64_common.h \
+       apple_arm64_regs.h \
+       board_config.h \
+       boot.h \
+       S3c2410x.h \
+       H7.h \
+       H8.h \
+       H9.h \
+       BCM2837.h \
+       spr_locks.h
+
+
+# Headers installed into System.framework/PrivateHeaders (userspace internal SDK only).
+INSTALL_MD_LCL_LIST = ${PRIVATE_DATAFILES}
+
+# The userspace headers can be located in System.framework/PrivateHeaders/pexpert/arm64
+INSTALL_MD_DIR = pexpert/arm64
+
+# Ensure these files don't get auto-included into the public Kernel.framework/Headers.
+INSTALL_KF_MD_LIST = ${EMPTY}
+
+# Headers installed into Kernel.framework/PrivateHeaders (internal SDK only).
+INSTALL_KF_MD_LCL_LIST = ${PRIVATE_KERNELFILES}
+
+# Headers used to compile xnu
+EXPORT_MD_LIST = ${PRIVATE_KERNELFILES}
+
+# These headers will be available with #include <pexpert/arm64/header_file.h>
+EXPORT_MD_DIR = pexpert/arm64
+
+else # $(PLATFORM),MacOSX
+
 DATAFILES = \
        AIC.h \
 DATAFILES = \
        AIC.h \
-       AMCC.h \
-       arm64_common.h \
+       apple_arm64_common.h \
+       apple_arm64_regs.h \
        board_config.h \
        boot.h \
        S3c2410x.h \
        board_config.h \
        boot.h \
        S3c2410x.h \
-       T7000.h \
-       S8000.h \
-       T8010.h \
-       typhoon.h \
-       twister.h \
-       hurricane.h \
+       H7.h \
+       H8.h \
+       H9.h \
        BCM2837.h \
        spr_locks.h
 
        BCM2837.h \
        spr_locks.h
 
@@ -31,5 +66,7 @@ EXPORT_MD_LIST        = ${DATAFILES}
 
 EXPORT_MD_DIR = pexpert/arm64
 
 
 EXPORT_MD_DIR = pexpert/arm64
 
+endif # $(PLATFORM),MacOSX
+
 include $(MakeInc_rule)
 include $(MakeInc_dir)
 include $(MakeInc_rule)
 include $(MakeInc_dir)