summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-09-19 19:42:24 +0000
committerChris Lattner <sabre@nondot.org>2002-09-19 19:42:24 +0000
commit9b94701fdfcbdf23b0e3c55c1b9de4344161b150 (patch)
tree1277da5f3f91d0a1f3467358365c1b32aa801ac8 /Makefile.common
parent90c7d67b9d505354f8138d01df82c2fdcff6d5d2 (diff)
downloadllvm-9b94701fdfcbdf23b0e3c55c1b9de4344161b150.tar.gz
llvm-9b94701fdfcbdf23b0e3c55c1b9de4344161b150.tar.bz2
llvm-9b94701fdfcbdf23b0e3c55c1b9de4344161b150.tar.xz
Move the burg option out of Makefile.config into Makefile.common since
it no longer needs to be configured. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common12
1 files changed, 8 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common
index 20e2979b63..41afc1aa1e 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -121,8 +121,12 @@ endif
# Compilation options...
#---------------------------------------------------------
-# Special tools used while building
-RunBurg := $(BURG) $(BURG_OPTS)
+# Special tools used while building the LLVM tree. Burg is built as part of the
+# utils directory.
+#
+BURG := $(LEVEL)/utils/Burg/burg
+RunBurg := $(BURG) $(BURG_OPTS)
+
# Enable this for profiling support with 'gprof'
ifdef ENABLE_PROFILING
@@ -181,8 +185,8 @@ AR = ar cq
Source := $(ExtraSource) $(wildcard *.cpp *.c *.y *.l)
Objs := $(sort $(patsubst Debug/%.o, %.o, $(addsuffix .o,$(basename $(Source)))))
-ObjectsO = $(addprefix $(BUILD_ROOT)/Release/,$(Objs)))
-ObjectsG = $(addprefix $(BUILD_ROOT)/Debug/,$(Objs))
+ObjectsO := $(addprefix $(BUILD_ROOT)/Release/,$(Objs)))
+ObjectsG := $(addprefix $(BUILD_ROOT)/Debug/,$(Objs))
#---------------------------------------------------------