1# $FreeBSD$ 2 3.include "${SRCTOP}/lib/clang/clang.pre.mk" 4 5CFLAGS+= -I${OBJTOP}/lib/clang/libclang 6CFLAGS+= -I${OBJTOP}/lib/clang/libllvm 7 8.include "${SRCTOP}/lib/clang/clang.build.mk" 9 10LIBDEPS+= clang 11LIBDEPS+= llvm 12 13.for lib in ${LIBDEPS} 14DPADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a 15LDADD+= ${OBJTOP}/lib/clang/lib${lib}/lib${lib}.a 16.endfor 17 18PACKAGE= clang 19 20.if ${.MAKE.OS} == "FreeBSD" || !defined(BOOTSTRAPPING) 21LIBADD+= execinfo 22LIBADD+= ncursesw 23.endif 24LIBADD+= pthread 25 26.include <bsd.prog.mk> 27