Simplify some rules

Move LGCCLDPROG from test/Makefile.tests


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10256 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-11-29 09:50:15 +00:00
parent f6968f3886
commit eefa3d3cfb

View File

@@ -243,9 +243,10 @@ endif
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# Utilities used while building the LLVM tree, which live in the utils dir # Utilities used while building the LLVM tree, which live in the utils dir
# #
BURG := $(LLVMTOOLCURRENT)/burg BURG := $(LLVMTOOLCURRENT)/burg
RunBurg := $(BURG) $(BURG_OPTS) RunBurg := $(BURG) $(BURG_OPTS)
TBLGEN := $(LLVMTOOLCURRENT)/tblgen TBLGEN := $(LLVMTOOLCURRENT)/tblgen
LGCCLDPROG := $(LLVMTOOLCURRENT)/gccld
#-------------------------------------------------------------------------- #--------------------------------------------------------------------------
# The LLVM GCC front-end in C and C++ flavors # The LLVM GCC front-end in C and C++ flavors
@@ -374,11 +375,10 @@ endif
# Libtool Objects # Libtool Objects
# #
Srcs := $(sort $(basename $(Source))) Srcs := $(sort $(basename $(Source)))
Objs := $(addsuffix .lo, $(Srcs)) ObjectsO := $(Srcs:%=$(BUILD_OBJ_DIR)/Release/%.lo)
ObjectsO := $(addprefix $(BUILD_OBJ_DIR)/Release/,$(Objs)) ObjectsP := $(Srcs:%=$(BUILD_OBJ_DIR)/Profile/%.lo)
ObjectsP := $(addprefix $(BUILD_OBJ_DIR)/Profile/,$(Objs)) ObjectsG := $(Srcs:%=$(BUILD_OBJ_DIR)/Debug/%.lo)
ObjectsG := $(addprefix $(BUILD_OBJ_DIR)/Debug/,$(Objs)) ObjectsBC := $(Srcs:%=$(BUILD_OBJ_DIR)/BytecodeObj/%.bc)
ObjectsBC := $(addprefix $(BUILD_OBJ_DIR)/BytecodeObj/,$(addsuffix .bc, $(Srcs)))
# #
# The real objects underlying the libtool objects # The real objects underlying the libtool objects