]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/clang/headers/Makefile
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / lib / clang / headers / Makefile
1
2 # $FreeBSD$
3
4 .include "../clang.pre.mk"
5
6 .PATH:          ${CLANG_SRCS}/lib/Headers
7
8 INCSGROUPS=     INCS CUDA OMP PPC
9 INCSDIR=        ${LIBDIR}/clang/10.0.1/include
10 CUDADIR=        ${INCSDIR}/cuda_wrappers
11 OMPDIR=         ${INCSDIR}/openmp_wrappers
12 PPCDIR=         ${INCSDIR}/ppc_wrappers
13
14 GENINCS+=       arm_fp16.h
15 GENINCS+=       arm_mve.h
16 GENINCS+=       arm_neon.h
17
18 INCS+=          __clang_cuda_builtin_vars.h
19 INCS+=          __clang_cuda_cmath.h
20 INCS+=          __clang_cuda_complex_builtins.h
21 INCS+=          __clang_cuda_device_functions.h
22 INCS+=          __clang_cuda_intrinsics.h
23 INCS+=          __clang_cuda_libdevice_declares.h
24 INCS+=          __clang_cuda_math_forward_declares.h
25 INCS+=          __clang_cuda_runtime_wrapper.h
26 INCS+=          __stddef_max_align_t.h
27 INCS+=          __wmmintrin_aes.h
28 INCS+=          __wmmintrin_pclmul.h
29 INCS+=          adxintrin.h
30 INCS+=          altivec.h
31 INCS+=          ammintrin.h
32 INCS+=          arm64intr.h
33 INCS+=          arm_acle.h
34 INCS+=          arm_cmse.h
35 INCS+=          armintr.h
36 INCS+=          avx2intrin.h
37 INCS+=          avx512bf16intrin.h
38 INCS+=          avx512bitalgintrin.h
39 INCS+=          avx512bwintrin.h
40 INCS+=          avx512cdintrin.h
41 INCS+=          avx512dqintrin.h
42 INCS+=          avx512erintrin.h
43 INCS+=          avx512fintrin.h
44 INCS+=          avx512ifmaintrin.h
45 INCS+=          avx512ifmavlintrin.h
46 INCS+=          avx512pfintrin.h
47 INCS+=          avx512vbmi2intrin.h
48 INCS+=          avx512vbmiintrin.h
49 INCS+=          avx512vbmivlintrin.h
50 INCS+=          avx512vlbf16intrin.h
51 INCS+=          avx512vlbitalgintrin.h
52 INCS+=          avx512vlbwintrin.h
53 INCS+=          avx512vlcdintrin.h
54 INCS+=          avx512vldqintrin.h
55 INCS+=          avx512vlintrin.h
56 INCS+=          avx512vlvbmi2intrin.h
57 INCS+=          avx512vlvnniintrin.h
58 INCS+=          avx512vlvp2intersectintrin.h
59 INCS+=          avx512vnniintrin.h
60 INCS+=          avx512vp2intersectintrin.h
61 INCS+=          avx512vpopcntdqintrin.h
62 INCS+=          avx512vpopcntdqvlintrin.h
63 INCS+=          avxintrin.h
64 INCS+=          bmi2intrin.h
65 INCS+=          bmiintrin.h
66 INCS+=          cetintrin.h
67 INCS+=          cldemoteintrin.h
68 INCS+=          clflushoptintrin.h
69 INCS+=          clwbintrin.h
70 INCS+=          clzerointrin.h
71 INCS+=          cpuid.h
72 INCS+=          emmintrin.h
73 INCS+=          enqcmdintrin.h
74 INCS+=          f16cintrin.h
75 INCS+=          fma4intrin.h
76 INCS+=          fmaintrin.h
77 INCS+=          fxsrintrin.h
78 INCS+=          gfniintrin.h
79 INCS+=          htmintrin.h
80 INCS+=          htmxlintrin.h
81 INCS+=          ia32intrin.h
82 INCS+=          immintrin.h
83 INCS+=          invpcidintrin.h
84 INCS+=          lwpintrin.h
85 INCS+=          lzcntintrin.h
86 INCS+=          mm3dnow.h
87 INCS+=          mm_malloc.h
88 INCS+=          mmintrin.h
89 INCS+=          module.modulemap
90 INCS+=          movdirintrin.h
91 INCS+=          msa.h
92 INCS+=          mwaitxintrin.h
93 INCS+=          nmmintrin.h
94 INCS+=          opencl-c-base.h
95 INCS+=          opencl-c.h
96 INCS+=          pconfigintrin.h
97 INCS+=          pkuintrin.h
98 INCS+=          pmmintrin.h
99 INCS+=          popcntintrin.h
100 INCS+=          prfchwintrin.h
101 INCS+=          ptwriteintrin.h
102 INCS+=          rdseedintrin.h
103 INCS+=          rtmintrin.h
104 INCS+=          s390intrin.h
105 INCS+=          sgxintrin.h
106 INCS+=          shaintrin.h
107 INCS+=          smmintrin.h
108 INCS+=          tbmintrin.h
109 INCS+=          tmmintrin.h
110 INCS+=          vadefs.h
111 INCS+=          vaesintrin.h
112 INCS+=          vecintrin.h
113 INCS+=          vpclmulqdqintrin.h
114 INCS+=          waitpkgintrin.h
115 INCS+=          wbnoinvdintrin.h
116 INCS+=          wmmintrin.h
117 INCS+=          x86intrin.h
118 INCS+=          xmmintrin.h
119 INCS+=          xopintrin.h
120 INCS+=          xsavecintrin.h
121 INCS+=          xsaveintrin.h
122 INCS+=          xsaveoptintrin.h
123 INCS+=          xsavesintrin.h
124 INCS+=          xtestintrin.h
125 INCS+=          ${GENINCS}
126
127 # Headers which possibly conflict with our own versions:
128 .if defined(INSTALL_CONFLICTING_CLANG_HEADERS)
129 INCS+=          float.h
130 INCS+=          intrin.h
131 INCS+=          inttypes.h
132 INCS+=          iso646.h
133 INCS+=          limits.h
134 INCS+=          stdalign.h
135 INCS+=          stdarg.h
136 INCS+=          stdatomic.h
137 INCS+=          stdbool.h
138 INCS+=          stddef.h
139 INCS+=          stdint.h
140 INCS+=          stdnoreturn.h
141 INCS+=          tgmath.h
142 INCS+=          varargs.h
143 .endif
144
145 CUDA+=          cuda_wrappers/algorithm
146 CUDA+=          cuda_wrappers/complex
147 CUDA+=          cuda_wrappers/new
148
149 OMP+=           openmp_wrappers/__clang_openmp_math.h
150 OMP+=           openmp_wrappers/__clang_openmp_math_declares.h
151 OMP+=           openmp_wrappers/cmath
152 OMP+=           openmp_wrappers/math.h
153
154 PPC+=           ppc_wrappers/emmintrin.h
155 PPC+=           ppc_wrappers/mm_malloc.h
156 PPC+=           ppc_wrappers/mmintrin.h
157 PPC+=           ppc_wrappers/pmmintrin.h
158 PPC+=           ppc_wrappers/smmintrin.h
159 PPC+=           ppc_wrappers/tmmintrin.h
160 PPC+=           ppc_wrappers/xmmintrin.h
161
162 arm_fp16.h: ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td
163         ${CLANG_TBLGEN} -gen-arm-fp16 \
164             -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
165             -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td
166
167 arm_mve.h: ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
168         ${CLANG_TBLGEN} -gen-arm-mve-header \
169             -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
170             -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_mve.td
171
172 arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
173         ${CLANG_TBLGEN} -gen-arm-neon \
174             -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
175             -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
176
177 CLEANFILES=     ${GENINCS} ${GENINCS:C/$/.d/}
178
179 .include <bsd.prog.mk>