1 TOP_LLVM= ${.CURDIR}/../../../contrib/llvm
2 CFLAGS+= -I${.OBJDIR} \
3 -I${.OBJDIR}/../../block3 \
4 -I${TOP_LLVM}/include \
6 CFLAGS+= -DGTEST_HAS_RTTI=0 \
7 -D__STDC_CONSTANT_MACROS \
8 -D__STDC_FORMAT_MACROS \
11 CXXFLAGS+= -std=c++11 -fno-exceptions -fno-rtti
13 ${SRCS}: llvm/Support/DataTypes.h \
14 llvm/Config/llvm-config.h \
15 llvm/Config/config.h \
16 llvm/Config/Targets.def \
17 llvm/Config/AsmPrinters.def \
18 llvm/Config/AsmParsers.def \
19 llvm/Config/Disassemblers.def
23 .PATH: ${TOP_LLVM}/${SRCDIR}
25 .if defined(CLANG_INCLUDES)
26 .PATH: ${.OBJDIR}/../../block3/clang/Headers
29 .include "${.CURDIR}/../../block1/Makefile.generated"