Bryan Drewery 0383be9bae META MODE: Fix rebuilding of lib/clang/include after clang-tblgen.host is
staged.

None of usr.bin/clang/clang-tblgen or its dependencies need
lib/clang/include, so there is no cyclic dependency here to worry about.
The issue came about because of workarounds to dependencies on clang
being optional.

Without this, the clang-tblgen called during the build would change
after it was staged for the host.  This would cause lib/clang/include to
rebuild due to changed build commands.

Sponsored by:	EMC / Isilon Storage Division
2015-12-01 05:18:59 +00:00

71 lines
1.2 KiB
Makefile

# $FreeBSD$
.include <bsd.own.mk>
LLVM_SRCS= ${.CURDIR}/../../../contrib/llvm
.include "../clang.build.mk"
.PATH: ${LLVM_SRCS}/tools/clang/lib/Headers
INCSDIR=${LIBDIR}/clang/3.7.0/include
INCS= __stddef_max_align_t.h \
__wmmintrin_aes.h \
__wmmintrin_pclmul.h \
adxintrin.h \
altivec.h \
ammintrin.h \
arm_acle.h \
avx2intrin.h \
avx512bwintrin.h \
avx512cdintrin.h \
avx512dqintrin.h \
avx512erintrin.h \
avx512fintrin.h \
avx512vlbwintrin.h \
avx512vldqintrin.h \
avx512vlintrin.h \
avxintrin.h \
bmi2intrin.h \
bmiintrin.h \
cpuid.h \
cuda_builtin_vars.h \
emmintrin.h \
f16cintrin.h \
fma4intrin.h \
fmaintrin.h \
fxsrintrin.h \
htmintrin.h \
htmxlintrin.h \
ia32intrin.h \
immintrin.h \
lzcntintrin.h \
mm3dnow.h \
mm_malloc.h \
mmintrin.h \
module.modulemap \
nmmintrin.h \
pmmintrin.h \
popcntintrin.h \
prfchwintrin.h \
rdseedintrin.h \
rtmintrin.h \
s390intrin.h \
shaintrin.h \
smmintrin.h \
tbmintrin.h \
tmmintrin.h \
vadefs.h \
vecintrin.h \
wmmintrin.h \
x86intrin.h \
xmmintrin.h \
xopintrin.h \
xtestintrin.h \
${GENINCS}
GENINCS= arm_neon.h
CLEANFILES= ${GENINCS} ${GENINCS:C/\.h$/.d/}
.include <bsd.prog.mk>