Make tool names end with .exe on windows. This isn't needed to run the

tools, but is required for rules that depend on the executables, e.g.:

a: b $(LLVMAS)
llvm-svn: 13926
This commit is contained in:
Chris Lattner 2004-06-01 19:06:43 +00:00
parent 8a76df0bd7
commit 4f120545a7
2 changed files with 13 additions and 13 deletions

View File

@ -244,10 +244,10 @@ endif
#--------------------------------------------------------------------------
# Utilities used while building the LLVM tree, which live in the utils dir
#
BURG := $(LLVMTOOLCURRENT)/burg
BURG := $(LLVMTOOLCURRENT)/burg$(EXEEXT)
RunBurg := $(BURG) $(BURG_OPTS)
TBLGEN := $(LLVMTOOLCURRENT)/tblgen
LGCCLDPROG := $(LLVMTOOLCURRENT)/gccld
TBLGEN := $(LLVMTOOLCURRENT)/tblgen$(EXEEXT)
LGCCLDPROG := $(LLVMTOOLCURRENT)/gccld$(EXEEXT)
#--------------------------------------------------------------------------
# The LLVM GCC front-end in C and C++ flavors
@ -259,7 +259,7 @@ LLVMGXX := PATH=$(LLVMTOOLCURRENT):$(PATH) $(LLVMGCCDIR)/bin/g++
# Some of the compiled LLVM tools which are used for compilation of runtime
# libraries.
#
LLVMAS := $(LLVMTOOLCURRENT)/llvm-as
LLVMAS := $(LLVMTOOLCURRENT)/llvm-as$(EXEEXT)
###########################################################################

View File

@ -38,16 +38,16 @@ endif
LLVMGCCLIBDIR=$(dir $(shell $(LLVMGCC) -print-file-name=libgcc.a))
# LLVM Tool Definitions (LLVMGCC, LLVMGXX, LLVMAS are provided by Makefile.rules)
LLI = $(LLVMTOOLCURRENT)/lli
LLC = $(LLVMTOOLCURRENT)/llc
LGCCAS = $(LLVMTOOLCURRENT)/gccas
LLI = $(LLVMTOOLCURRENT)/lli$(EXEEXT)
LLC = $(LLVMTOOLCURRENT)/llc$(EXEEXT)
LGCCAS = $(LLVMTOOLCURRENT)/gccas$(EXEEXT)
LGCCLD = $(LGCCLDPROG) -L$(LLVMGCCLIBDIR) -L$(LLVMGCCDIR)/lib
LDIS = $(LLVMTOOLCURRENT)/llvm-dis
LOPT = $(LLVMTOOLCURRENT)/opt
LLINK = $(LLVMTOOLCURRENT)/llvm-link
LPROF = $(LLVMTOOLCURRENT)/llvm-prof
LANALYZE = $(LLVMTOOLCURRENT)/analyze
LBUGPOINT= $(LLVMTOOLCURRENT)/bugpoint
LDIS = $(LLVMTOOLCURRENT)/llvm-dis$(EXEEXT)
LOPT = $(LLVMTOOLCURRENT)/opt$(EXEEXT)
LLINK = $(LLVMTOOLCURRENT)/llvm-link$(EXEEXT)
LPROF = $(LLVMTOOLCURRENT)/llvm-prof$(EXEEXT)
LANALYZE = $(LLVMTOOLCURRENT)/analyze$(EXEEXT)
LBUGPOINT= $(LLVMTOOLCURRENT)/bugpoint$(EXEEXT)
LCCFLAGS += -O2 -Wall
LCXXFLAGS += -O2 -Wall