]> git.saurik.com Git - apple/xnu.git/blob - pexpert/pexpert/arm64/Makefile
6807e0b64ade2668389e7c33143f294decfa97a0
[apple/xnu.git] / pexpert / pexpert / arm64 / Makefile
1 export MakeInc_cmd=${SRCROOT}/makedefs/MakeInc.cmd
2 export MakeInc_def=${SRCROOT}/makedefs/MakeInc.def
3 export MakeInc_rule=${SRCROOT}/makedefs/MakeInc.rule
4 export MakeInc_dir=${SRCROOT}/makedefs/MakeInc.dir
5
6 include $(MakeInc_cmd)
7 include $(MakeInc_def)
8
9 ifeq ($(PLATFORM),MacOSX)
10
11 PRIVATE_DATAFILES = boot.h
12
13 PRIVATE_KERNELFILES = \
14 AIC.h \
15 apple_arm64_common.h \
16 apple_arm64_regs.h \
17 board_config.h \
18 boot.h \
19 S3c2410x.h \
20 H7.h \
21 H8.h \
22 H9.h \
23 BCM2837.h \
24 spr_locks.h
25
26
27 # Headers installed into System.framework/PrivateHeaders (userspace internal SDK only).
28 INSTALL_MD_LCL_LIST = ${PRIVATE_DATAFILES}
29
30 # The userspace headers can be located in System.framework/PrivateHeaders/pexpert/arm64
31 INSTALL_MD_DIR = pexpert/arm64
32
33 # Ensure these files don't get auto-included into the public Kernel.framework/Headers.
34 INSTALL_KF_MD_LIST = ${EMPTY}
35
36 # Headers installed into Kernel.framework/PrivateHeaders (internal SDK only).
37 INSTALL_KF_MD_LCL_LIST = ${PRIVATE_KERNELFILES}
38
39 # Headers used to compile xnu
40 EXPORT_MD_LIST = ${PRIVATE_KERNELFILES}
41
42 # These headers will be available with #include <pexpert/arm64/header_file.h>
43 EXPORT_MD_DIR = pexpert/arm64
44
45 else # $(PLATFORM),MacOSX
46
47 DATAFILES = \
48 AIC.h \
49 apple_arm64_common.h \
50 apple_arm64_regs.h \
51 board_config.h \
52 boot.h \
53 S3c2410x.h \
54 H7.h \
55 H8.h \
56 H9.h \
57 BCM2837.h \
58 spr_locks.h
59
60
61 INSTALL_MD_LIST = ${DATAFILES}
62
63 INSTALL_MD_DIR = pexpert/arm64
64
65 EXPORT_MD_LIST = ${DATAFILES}
66
67 EXPORT_MD_DIR = pexpert/arm64
68
69 endif # $(PLATFORM),MacOSX
70
71 include $(MakeInc_rule)
72 include $(MakeInc_dir)