aboutsummaryrefslogtreecommitdiffstats
path: root/src/ortho/llvm4-nodebug/Makefile
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-04-04 04:42:47 +0200
committerTristan Gingold <tgingold@free.fr>2017-04-04 04:42:47 +0200
commit6da8a417b9118f3b26eb64a41a87d3a5b82721a3 (patch)
treef4fb9dec012683502f8192aaadf7d31297042cd5 /src/ortho/llvm4-nodebug/Makefile
parent6d391208521442ac872d1682593d4541ab3b754d (diff)
downloadghdl-6da8a417b9118f3b26eb64a41a87d3a5b82721a3.tar.gz
ghdl-6da8a417b9118f3b26eb64a41a87d3a5b82721a3.tar.bz2
ghdl-6da8a417b9118f3b26eb64a41a87d3a5b82721a3.zip
llvm39/llvm4: remove useless renaming.
Diffstat (limited to 'src/ortho/llvm4-nodebug/Makefile')
-rw-r--r--src/ortho/llvm4-nodebug/Makefile10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/ortho/llvm4-nodebug/Makefile b/src/ortho/llvm4-nodebug/Makefile
index 3868566f4..3ba5e798b 100644
--- a/src/ortho/llvm4-nodebug/Makefile
+++ b/src/ortho/llvm4-nodebug/Makefile
@@ -8,7 +8,7 @@ BE=llvm4-nodebug
all: $(ortho_exec)
-$(ortho_exec): $(ortho_srcdir)/llvm4-nodebug/ortho_llvm.ads force llvm-cbindings.o ortho_code_main.adb
+$(ortho_exec): $(ortho_srcdir)/llvm4-nodebug/ortho_llvm.ads force llvm-cbindings.o
$(GNATMAKE) -o $@ -aI$(ortho_srcdir)/llvm4-nodebug -aI$(ortho_srcdir) \
$(GNAT_FLAGS) ortho_code_main -bargs -E \
-largs llvm-cbindings.o --LINK=$(CXX) \
@@ -17,14 +17,6 @@ $(ortho_exec): $(ortho_srcdir)/llvm4-nodebug/ortho_llvm.ads force llvm-cbindings
llvm-cbindings.o: $(ortho_srcdir)/llvm4-nodebug/llvm-cbindings.cpp
$(CXX) -c `$(LLVM_CONFIG) --cxxflags` -o $@ $<
-ortho_code_main.adb:
- echo "with Ortho_Code_Main$(llvm_be_ver);" > ortho_code_main.tmp
- echo "procedure Ortho_Code_Main is" >> ortho_code_main.tmp
- echo "begin" >> ortho_code_main.tmp
- echo " Ortho_Code_Main$(llvm_be_ver);" >> ortho_code_main.tmp
- echo "end Ortho_Code_Main;" >> ortho_code_main.tmp
- mv ortho_code_main.tmp $@
-
clean:
$(RM) -f *.o *.ali ortho_code_main
$(RM) b~*.ad? *~