3 .include "../clang.pre.mk"
5 .PATH: ${CLANG_SRCS}/lib/Headers
7 INCSGROUPS= INCS CUDA OMP PPC
8 INCSDIR= ${LIBDIR}/clang/9.0.0/include
9 CUDADIR= ${INCSDIR}/cuda_wrappers
10 OMPDIR= ${INCSDIR}/openmp_wrappers
11 PPCDIR= ${INCSDIR}/ppc_wrappers
16 INCS+= __clang_cuda_builtin_vars.h
17 INCS+= __clang_cuda_cmath.h
18 INCS+= __clang_cuda_complex_builtins.h
19 INCS+= __clang_cuda_device_functions.h
20 INCS+= __clang_cuda_intrinsics.h
21 INCS+= __clang_cuda_libdevice_declares.h
22 INCS+= __clang_cuda_math_forward_declares.h
23 INCS+= __clang_cuda_runtime_wrapper.h
24 INCS+= __stddef_max_align_t.h
25 INCS+= __wmmintrin_aes.h
26 INCS+= __wmmintrin_pclmul.h
34 INCS+= avx512bf16intrin.h
35 INCS+= avx512bitalgintrin.h
36 INCS+= avx512bwintrin.h
37 INCS+= avx512cdintrin.h
38 INCS+= avx512dqintrin.h
39 INCS+= avx512erintrin.h
40 INCS+= avx512fintrin.h
41 INCS+= avx512ifmaintrin.h
42 INCS+= avx512ifmavlintrin.h
43 INCS+= avx512pfintrin.h
44 INCS+= avx512vbmi2intrin.h
45 INCS+= avx512vbmiintrin.h
46 INCS+= avx512vbmivlintrin.h
47 INCS+= avx512vlbf16intrin.h
48 INCS+= avx512vlbitalgintrin.h
49 INCS+= avx512vlbwintrin.h
50 INCS+= avx512vlcdintrin.h
51 INCS+= avx512vldqintrin.h
52 INCS+= avx512vlintrin.h
53 INCS+= avx512vlvbmi2intrin.h
54 INCS+= avx512vlvnniintrin.h
55 INCS+= avx512vlvp2intersectintrin.h
56 INCS+= avx512vnniintrin.h
57 INCS+= avx512vp2intersectintrin.h
58 INCS+= avx512vpopcntdqintrin.h
59 INCS+= avx512vpopcntdqvlintrin.h
64 INCS+= cldemoteintrin.h
65 INCS+= clflushoptintrin.h
80 INCS+= invpcidintrin.h
86 INCS+= module.modulemap
91 INCS+= opencl-c-base.h
93 INCS+= pconfigintrin.h
98 INCS+= ptwriteintrin.h
110 INCS+= vpclmulqdqintrin.h
111 INCS+= waitpkgintrin.h
112 INCS+= wbnoinvdintrin.h
117 INCS+= xsavecintrin.h
119 INCS+= xsaveoptintrin.h
120 INCS+= xsavesintrin.h
124 # Headers which possibly conflict with our own versions:
125 .if defined(INSTALL_CONFLICTING_CLANG_HEADERS)
143 CUDA+= cuda_wrappers/algorithm
144 CUDA+= cuda_wrappers/complex
145 CUDA+= cuda_wrappers/new
147 OMP+= openmp_wrappers/__clang_openmp_math.h
148 OMP+= openmp_wrappers/__clang_openmp_math_declares.h
149 OMP+= openmp_wrappers/cmath
150 OMP+= openmp_wrappers/math.h
152 PPC+= ppc_wrappers/emmintrin.h
153 PPC+= ppc_wrappers/mm_malloc.h
154 PPC+= ppc_wrappers/mmintrin.h
155 PPC+= ppc_wrappers/xmmintrin.h
157 arm_fp16.h: ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td
158 ${CLANG_TBLGEN} -gen-arm-fp16 \
159 -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
160 -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_fp16.td
162 arm_neon.h: ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
163 ${CLANG_TBLGEN} -gen-arm-neon \
164 -I ${CLANG_SRCS}/include/clang/Basic -d ${.TARGET:C/$/.d/} \
165 -o ${.TARGET} ${CLANG_SRCS}/include/clang/Basic/arm_neon.td
167 CLEANFILES= ${GENINCS} ${GENINCS:C/$/.d/}
169 .include <bsd.prog.mk>