]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/clang/clang.build.mk
sys/{x86,amd64}: remove one of doubled ;s
[FreeBSD/FreeBSD.git] / lib / clang / clang.build.mk
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 .ifndef LLVM_SRCS
6 .error Please define LLVM_SRCS before including this file
7 .endif
8
9 .ifndef CLANG_SRCS
10 .error Please define CLANG_SRCS before including this file
11 .endif
12
13 .ifndef SRCDIR
14 .error Please define SRCDIR before including this file
15 .endif
16
17 CFLAGS+=        -I${CLANG_SRCS}/include
18
19 .if ${MK_CLANG_FULL} != "no"
20 CFLAGS+=        -DCLANG_ENABLE_ARCMT
21 CFLAGS+=        -DCLANG_ENABLE_STATIC_ANALYZER
22 .endif
23
24 .include "llvm.build.mk"