summaryrefslogtreecommitdiff
path: root/lib/AsmParser/Makefile
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-08-27 18:50:39 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-08-27 18:50:39 +0000
commit68a24bdba4e19cb09dada5039a46e7ec41e848e8 (patch)
tree6e36d49d91d60f06d995ec5a96330c7ba802daa3 /lib/AsmParser/Makefile
parent88b9c159120703555a30314411af26f425597d90 (diff)
downloadllvm-68a24bdba4e19cb09dada5039a46e7ec41e848e8.tar.gz
llvm-68a24bdba4e19cb09dada5039a46e7ec41e848e8.tar.bz2
llvm-68a24bdba4e19cb09dada5039a46e7ec41e848e8.tar.xz
Implement PR614:
These changes modify the makefiles so that the output of flex and bison are placed in the SRC directory, not the OBJ directory. It is intended that they be checked in as any other LLVM source so that platforms without convenient access to flex/bison can be compiled. From now on, if you change a .y or .l file you *must* also commit the generated .cpp and .h files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23115 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AsmParser/Makefile')
-rw-r--r--lib/AsmParser/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/AsmParser/Makefile b/lib/AsmParser/Makefile
index 1a031a0b3b..c85faf8d0c 100644
--- a/lib/AsmParser/Makefile
+++ b/lib/AsmParser/Makefile
@@ -9,7 +9,6 @@
LEVEL = ../..
LIBRARYNAME := LLVMAsmParser
-BUILT_SOURCES := llvmAsmParser.cpp llvmAsmParser.h Lexer.cpp
include $(LEVEL)/Makefile.common
@@ -17,4 +16,4 @@ include $(LEVEL)/Makefile.common
# Make the object code file for the lexer depend upon the header file generated
# by the Bison parser. This prevents the Lexer from being compiled before the
# header file it needs is built.
-$(OBJDIR)/Lexer.o: llvmAsmParser.h
+$(ObjDir)/Lexer.o: $(PROJ_SRC_DIR)/llvmAsmParser.h