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 20LIBADD+= ncursesw 21LIBADD+= pthread 22 23.include <bsd.prog.mk> 24