kmalloc: Avoid code duplication.
[dragonfly.git] / llvm_clang / block5 / Makefile.inc
blob0fe7c82abaa060934b488f2851a5d948d297f3a4
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 \
9                 -D__STDC_LIMIT_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
21 CLEANDIRS=      llvm
23 .PATH:          ${TOP_LLVM}/${SRCDIR}
25 .if defined(CLANG_INCLUDES)
26 .PATH:          ${.OBJDIR}/../../block3/clang/Headers
27 .endif
29 .include "${.CURDIR}/../../block1/Makefile.generated"