mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-21 18:29:45 +00:00
Enable the new C front-end for targets which define LLVMGCCARCH
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6065 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6d10765887
commit
e0d8daadad
@ -1,9 +1,7 @@
|
|||||||
##-----------------------------------------------------------*-Makefile-*-
|
##----------------------------------------------------------*- Makefile -*-===##
|
||||||
## Common rules for generating, linking, and compiling via LLVM. This is
|
## Common rules for generating, linking, and compiling via LLVM. This is
|
||||||
## used to implement a robust testing framework for LLVM
|
## used to implement a robust testing framework for LLVM
|
||||||
##------------------------------------------------------------------------
|
##-------------------------------------------------------------------------===##
|
||||||
|
|
||||||
## NOTE: This is preliminary and will change in the future
|
|
||||||
|
|
||||||
# If the user specified a TEST= option on the command line, we do not want to do
|
# If the user specified a TEST= option on the command line, we do not want to do
|
||||||
# the default testing type. Instead, we change the default target to be the
|
# the default testing type. Instead, we change the default target to be the
|
||||||
@ -40,13 +38,20 @@ endif
|
|||||||
|
|
||||||
# LLVM Tool Definitions...
|
# LLVM Tool Definitions...
|
||||||
#
|
#
|
||||||
|
ifdef LLVMGCCARCH # FIXME: Remove when new CFE is used on sparc as well!
|
||||||
|
LCC = $(LLVMGCCDIR)/bin/gcc
|
||||||
|
LCC1 = $(LLVMGCCDIR)/lib/gcc-lib/$(LLVMGCCARCH)/cc1
|
||||||
|
LGCCLD = $(TOOLS)/gccld -L$(LLVMGCCDIR)/lib/gcc-lib/$(LLVMGCCARCH) -L$(LLVMGCCDIR)/lib
|
||||||
|
else
|
||||||
LCC = $(LLVMGCCDIR)/bin/llvm-gcc
|
LCC = $(LLVMGCCDIR)/bin/llvm-gcc
|
||||||
LCC1 = $(LLVMGCCDIR)/lib/gcc-lib/llvm/3.1/cc1
|
LCC1 = $(LLVMGCCDIR)/lib/gcc-lib/llvm/3.1/cc1
|
||||||
|
LGCCLD = $(TOOLS)/gccld -L$(LLVMGCCDIR)/llvm/lib
|
||||||
|
endif
|
||||||
|
|
||||||
LLI = $(TOOLS)/lli
|
LLI = $(TOOLS)/lli
|
||||||
LLC = $(TOOLS)/llc
|
LLC = $(TOOLS)/llc
|
||||||
LAS = $(TOOLS)/as
|
LAS = $(TOOLS)/as
|
||||||
LGCCAS = $(TOOLS)/gccas
|
LGCCAS = $(TOOLS)/gccas
|
||||||
LGCCLD = $(TOOLS)/gccld -L$(LLVMGCCDIR)/llvm/lib
|
|
||||||
LDIS = $(TOOLS)/dis
|
LDIS = $(TOOLS)/dis
|
||||||
LOPT = $(TOOLS)/opt
|
LOPT = $(TOOLS)/opt
|
||||||
LLINK = $(TOOLS)/link
|
LLINK = $(TOOLS)/link
|
||||||
|
Loading…
Reference in New Issue
Block a user