clang.build.mk revision 360660
1# $FreeBSD: stable/11/lib/clang/clang.build.mk 360660 2020-05-05 17:10:49Z dim $ 2 3.include <src.opts.mk> 4 5.ifndef CLANG_SRCS 6.error Please define CLANG_SRCS before including this file 7.endif 8 9CFLAGS+= -I${CLANG_SRCS}/include 10 11.if ${MK_CLANG_FULL} != "no" 12CFLAGS+= -DCLANG_ENABLE_ARCMT 13CFLAGS+= -DCLANG_ENABLE_STATIC_ANALYZER 14.endif 15 16.include "llvm.build.mk" 17