OSDN Git Service

Merge latest changes from branch 'master' into merge_36 branch.
[android-x86/external-swiftshader.git] / Makefile
1
2 ifndef SUBZERO_LEVEL
3 # Top-level, not included from a subdir
4 SUBZERO_LEVEL := .
5 DIRS := src
6 PARALLEL_DIRS :=
7 endif
8
9 # Set LLVM source root level.
10 LEVEL := $(SUBZERO_LEVEL)/../..
11
12 # Include LLVM common makefile.
13 include $(LEVEL)/Makefile.common
14
15 CXX.Flags += -std=c++11
16
17 CPP.Defines += -DALLOW_DUMP=1 -DALLOW_LLVM_CL=1 -DALLOW_LLVM_IR=1 \
18         -DALLOW_LLVM_IR_AS_INPUT=1 -DALLOW_DISABLE_IR_GEN=1 \
19         -DALLOW_MINIMAL_BUILD=0
20