Add the include directory of llvm obj dir in the include path + ignore some generated files for svn.
llvm-svn: 217554
diff --git a/vmkit/Makefile.rules b/vmkit/Makefile.rules
index dc366d6..47aac2c 100644
--- a/vmkit/Makefile.rules
+++ b/vmkit/Makefile.rules
@@ -36,7 +36,7 @@
OPT_FLAGS+=-disable-cfi -disable-fp-elim
INCLUDES+=-I$(PROJ_SRC_CWD) -I$(PROJ_SRC_ROOT)/include -I$(PROJ_SRC_ROOT)/lib/vmkit/MMTk -I$(BUILD_DIR) \
- -I$(shell $(LLVM_CONFIG) --includedir) -I$(shell $(LLVM_CONFIG) --src-root)
+ -I$(shell $(LLVM_CONFIG) --includedir) -I$(shell $(LLVM_CONFIG) --obj-root)/include -I$(shell $(LLVM_CONFIG) --src-root)
WARN_CFLAGS= -Wall -Wno-long-long -Wno-variadic-macros -Wno-unused-private-field -Wno-unused-variable
COMMON_CFLAGS+= $(INCLUDES) -ansi -pedantic $(WARN_CFLAGS) -fPIC \