diff options
author | Chris Bieneman <beanz@apple.com> | 2016-01-26 21:29:08 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2016-01-26 21:29:08 +0000 |
commit | caeade42341b7b7a14b4e6bd13aeccd4a1da452a (patch) | |
tree | 1df6772d2400d85425703f186ff6692211c5103c /examples | |
parent | 380ddb15a7d0ef99f20683a25af7c399b966d207 (diff) |
Remove autoconf support
Summary:
This patch is provided in preparation for removing autoconf on 1/26. The proposal to remove autoconf on 1/26 was discussed on the llvm-dev thread here: http://lists.llvm.org/pipermail/llvm-dev/2016-January/093875.html
"I felt a great disturbance in the [build system], as if millions of [makefiles] suddenly cried out in terror and were suddenly silenced. I fear something [amazing] has happened."
- Obi Wan Kenobi
Reviewers: chandlerc, grosbach, bob.wilson, tstellarAMD, echristo, whitequark
Subscribers: chfast, simoncook, emaste, jholewinski, tberghammer, jfb, danalbert, srhines, arsenm, dschuff, jyknight, dsanders, joker.eph, llvm-commits
Differential Revision: http://reviews.llvm.org/D16471
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258861 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples')
30 files changed, 0 insertions, 519 deletions
diff --git a/examples/BrainF/Makefile b/examples/BrainF/Makefile deleted file mode 100644 index 3e36e076175..00000000000 --- a/examples/BrainF/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/BrainF/Makefile ----------------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../.. -TOOLNAME = BrainF -EXAMPLE_TOOL = 1 - -LINK_COMPONENTS := mcjit bitwriter nativecodegen interpreter - -include $(LEVEL)/Makefile.common diff --git a/examples/ExceptionDemo/Makefile b/examples/ExceptionDemo/Makefile deleted file mode 100644 index 895b61dafcd..00000000000 --- a/examples/ExceptionDemo/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -##===- examples/ExceptionDemo/Makefile --------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===---------------------------------------------------------------------===## -LEVEL = ../.. -TOOLNAME = ExceptionDemo -EXAMPLE_TOOL = 1 -REQUIRES_EH = 1 - -LINK_COMPONENTS := mcjit nativecodegen - -include $(LEVEL)/Makefile.common diff --git a/examples/Fibonacci/Makefile b/examples/Fibonacci/Makefile deleted file mode 100644 index c99110a2211..00000000000 --- a/examples/Fibonacci/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -##===- examples/Fibonacci/Makefile -------------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## - -LEVEL = ../.. -TOOLNAME = Fibonacci -EXAMPLE_TOOL = 1 - -# Link in JIT support -LINK_COMPONENTS := interpreter mcjit nativecodegen - -include $(LEVEL)/Makefile.common diff --git a/examples/HowToUseJIT/Makefile b/examples/HowToUseJIT/Makefile deleted file mode 100644 index 26a25a12bf2..00000000000 --- a/examples/HowToUseJIT/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/HowToUseJIT/Makefile -----------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../.. -TOOLNAME = HowToUseJIT -EXAMPLE_TOOL = 1 - -LINK_COMPONENTS := mcjit interpreter nativecodegen - -include $(LEVEL)/Makefile.common diff --git a/examples/Kaleidoscope/Chapter2/Makefile b/examples/Kaleidoscope/Chapter2/Makefile deleted file mode 100644 index fa27e6e0668..00000000000 --- a/examples/Kaleidoscope/Chapter2/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/Kaleidoscope/Chapter2/Makefile -------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../../.. -TOOLNAME = Kaleidoscope-Ch2 -EXAMPLE_TOOL = 1 - -LLVM_CXXFLAGS := -Wno-unused-private-field - -include $(LEVEL)/Makefile.common diff --git a/examples/Kaleidoscope/Chapter3/Makefile b/examples/Kaleidoscope/Chapter3/Makefile deleted file mode 100644 index 4cc6948d803..00000000000 --- a/examples/Kaleidoscope/Chapter3/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/Kaleidoscope/Chapter3/Makefile -------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../../.. -TOOLNAME = Kaleidoscope-Ch3 -EXAMPLE_TOOL = 1 - -LINK_COMPONENTS := core - -include $(LEVEL)/Makefile.common diff --git a/examples/Kaleidoscope/Chapter4/Makefile b/examples/Kaleidoscope/Chapter4/Makefile deleted file mode 100644 index 6d6a6706fff..00000000000 --- a/examples/Kaleidoscope/Chapter4/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/Kaleidoscope/Chapter4/Makefile -------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../../.. -TOOLNAME = Kaleidoscope-Ch4 -EXAMPLE_TOOL = 1 - -LINK_COMPONENTS := core mcjit native - -include $(LEVEL)/Makefile.common diff --git a/examples/Kaleidoscope/Chapter5/Makefile b/examples/Kaleidoscope/Chapter5/Makefile deleted file mode 100644 index d7809672303..00000000000 --- a/examples/Kaleidoscope/Chapter5/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/Kaleidoscope/Chapter5/Makefile -------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../../.. -TOOLNAME = Kaleidoscope-Ch5 -EXAMPLE_TOOL = 1 - -LINK_COMPONENTS := core mcjit native - -include $(LEVEL)/Makefile.common diff --git a/examples/Kaleidoscope/Chapter6/Makefile b/examples/Kaleidoscope/Chapter6/Makefile deleted file mode 100644 index 8f47ea0d98e..00000000000 --- a/examples/Kaleidoscope/Chapter6/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/Kaleidoscope/Chapter6/Makefile -------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../../.. -TOOLNAME = Kaleidoscope-Ch6 -EXAMPLE_TOOL = 1 - -LINK_COMPONENTS := core mcjit native - -include $(LEVEL)/Makefile.common diff --git a/examples/Kaleidoscope/Chapter7/Makefile b/examples/Kaleidoscope/Chapter7/Makefile deleted file mode 100644 index c672c0a36c6..00000000000 --- a/examples/Kaleidoscope/Chapter7/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/Kaleidoscope/Chapter7/Makefile -------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../../.. -TOOLNAME = Kaleidoscope-Ch7 -EXAMPLE_TOOL = 1 - -LINK_COMPONENTS := core mcjit native - -include $(LEVEL)/Makefile.common diff --git a/examples/Kaleidoscope/Chapter8/Makefile b/examples/Kaleidoscope/Chapter8/Makefile deleted file mode 100644 index 25f048c39b0..00000000000 --- a/examples/Kaleidoscope/Chapter8/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/Kaleidoscope/Chapter7/Makefile -------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../../.. -TOOLNAME = Kaleidoscope-Ch8 -EXAMPLE_TOOL = 1 - -LINK_COMPONENTS := core mcjit native - -include $(LEVEL)/Makefile.common diff --git a/examples/Kaleidoscope/MCJIT/cached/Makefile b/examples/Kaleidoscope/MCJIT/cached/Makefile deleted file mode 100644 index dde39a75d76..00000000000 --- a/examples/Kaleidoscope/MCJIT/cached/Makefile +++ /dev/null @@ -1,11 +0,0 @@ -all: toy-mcjit toy-jit toy-ir-gen - -toy-mcjit : toy.cpp - clang++ toy.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core mcjit native irreader` -o toy-mcjit - -toy-jit : toy-jit.cpp - clang++ toy-jit.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core jit native irreader` -o toy-jit - -# This is a special build for the purpose of converting Kaleidoscope input to an IR file -toy-ir-gen : toy-jit.cpp - clang++ toy-jit.cpp -g -O3 -rdynamic -fno-rtti -DDUMP_FINAL_MODULE `llvm-config --cppflags --ldflags --libs core jit native irreader` -o toy-ir-gen diff --git a/examples/Kaleidoscope/MCJIT/complete/Makefile b/examples/Kaleidoscope/MCJIT/complete/Makefile deleted file mode 100644 index 9e45d17a69f..00000000000 --- a/examples/Kaleidoscope/MCJIT/complete/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -all: toy - -toy : toy.cpp - clang++ toy.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core jit mcjit native irreader` -o toy diff --git a/examples/Kaleidoscope/MCJIT/initial/Makefile b/examples/Kaleidoscope/MCJIT/initial/Makefile deleted file mode 100644 index 2989832d3c7..00000000000 --- a/examples/Kaleidoscope/MCJIT/initial/Makefile +++ /dev/null @@ -1,4 +0,0 @@ -all: toy-mcjit - -toy-mcjit : toy.cpp - clang++ toy.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core mcjit native` -o toy-mcjit diff --git a/examples/Kaleidoscope/MCJIT/lazy/Makefile b/examples/Kaleidoscope/MCJIT/lazy/Makefile deleted file mode 100644 index 21cbc18d6e2..00000000000 --- a/examples/Kaleidoscope/MCJIT/lazy/Makefile +++ /dev/null @@ -1,7 +0,0 @@ -all: toy-mcjit toy-jit - -toy-mcjit : toy.cpp - clang++ toy.cpp -g -O3 -rdynamic -fno-rtti `llvm-config --cppflags --ldflags --libs core mcjit native` -o toy-mcjit - -toy-jit : toy-jit.cpp - clang++ toy-jit.cpp -g -O3 -rdynamic `llvm-config --cppflags --ldflags --libs core jit native` -o toy-jit diff --git a/examples/Kaleidoscope/Makefile b/examples/Kaleidoscope/Makefile deleted file mode 100644 index 8c3b1e31d9b..00000000000 --- a/examples/Kaleidoscope/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/Kaleidoscope/Makefile ----------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL=../.. - -include $(LEVEL)/Makefile.config - -PARALLEL_DIRS:= Chapter2 Chapter3 Chapter4 Chapter5 Chapter6 Chapter7 Chapter8 - -include $(LEVEL)/Makefile.common diff --git a/examples/Kaleidoscope/Orc/fully_lazy/Makefile b/examples/Kaleidoscope/Orc/fully_lazy/Makefile deleted file mode 100644 index 5536314f2a3..00000000000 --- a/examples/Kaleidoscope/Orc/fully_lazy/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -UNAME := $(shell uname -s) - -ifeq ($(UNAME),Darwin) - CXX := xcrun --sdk macosx clang++ -else - CXX := clang++ -endif - -LLVM_CXXFLAGS := $(shell llvm-config --cxxflags) -LLVM_LDFLAGS := $(shell llvm-config --ldflags --system-libs --libs core orcjit native) - -toy: toy.cpp - $(CXX) $(LLVM_CXXFLAGS) -Wall -std=c++11 -g -O0 -rdynamic -fno-rtti -o toy toy.cpp $(LLVM_LDFLAGS) - -.PHONY: clean -clean: - rm -f toy diff --git a/examples/Kaleidoscope/Orc/initial/Makefile b/examples/Kaleidoscope/Orc/initial/Makefile deleted file mode 100644 index 5536314f2a3..00000000000 --- a/examples/Kaleidoscope/Orc/initial/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -UNAME := $(shell uname -s) - -ifeq ($(UNAME),Darwin) - CXX := xcrun --sdk macosx clang++ -else - CXX := clang++ -endif - -LLVM_CXXFLAGS := $(shell llvm-config --cxxflags) -LLVM_LDFLAGS := $(shell llvm-config --ldflags --system-libs --libs core orcjit native) - -toy: toy.cpp - $(CXX) $(LLVM_CXXFLAGS) -Wall -std=c++11 -g -O0 -rdynamic -fno-rtti -o toy toy.cpp $(LLVM_LDFLAGS) - -.PHONY: clean -clean: - rm -f toy diff --git a/examples/Kaleidoscope/Orc/lazy_codegen/Makefile b/examples/Kaleidoscope/Orc/lazy_codegen/Makefile deleted file mode 100644 index 5536314f2a3..00000000000 --- a/examples/Kaleidoscope/Orc/lazy_codegen/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -UNAME := $(shell uname -s) - -ifeq ($(UNAME),Darwin) - CXX := xcrun --sdk macosx clang++ -else - CXX := clang++ -endif - -LLVM_CXXFLAGS := $(shell llvm-config --cxxflags) -LLVM_LDFLAGS := $(shell llvm-config --ldflags --system-libs --libs core orcjit native) - -toy: toy.cpp - $(CXX) $(LLVM_CXXFLAGS) -Wall -std=c++11 -g -O0 -rdynamic -fno-rtti -o toy toy.cpp $(LLVM_LDFLAGS) - -.PHONY: clean -clean: - rm -f toy diff --git a/examples/Kaleidoscope/Orc/lazy_irgen/Makefile b/examples/Kaleidoscope/Orc/lazy_irgen/Makefile deleted file mode 100644 index 5536314f2a3..00000000000 --- a/examples/Kaleidoscope/Orc/lazy_irgen/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -UNAME := $(shell uname -s) - -ifeq ($(UNAME),Darwin) - CXX := xcrun --sdk macosx clang++ -else - CXX := clang++ -endif - -LLVM_CXXFLAGS := $(shell llvm-config --cxxflags) -LLVM_LDFLAGS := $(shell llvm-config --ldflags --system-libs --libs core orcjit native) - -toy: toy.cpp - $(CXX) $(LLVM_CXXFLAGS) -Wall -std=c++11 -g -O0 -rdynamic -fno-rtti -o toy toy.cpp $(LLVM_LDFLAGS) - -.PHONY: clean -clean: - rm -f toy diff --git a/examples/Makefile b/examples/Makefile deleted file mode 100644 index 50a6db76aa2..00000000000 --- a/examples/Makefile +++ /dev/null @@ -1,32 +0,0 @@ -##===- examples/Makefile -----------------------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL=.. - -include $(LEVEL)/Makefile.config - -PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker - -ifeq ($(HAVE_PTHREAD),1) -PARALLEL_DIRS += ParallelJIT -endif - -ifeq ($(LLVM_ON_UNIX),1) - ifeq ($(ARCH),x86) - PARALLEL_DIRS += ExceptionDemo - endif - ifeq ($(ARCH),x86_64) - PARALLEL_DIRS += ExceptionDemo - endif -endif - -ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml) - PARALLEL_DIRS += OCaml-Kaleidoscope -endif - -include $(LEVEL)/Makefile.common diff --git a/examples/ModuleMaker/Makefile b/examples/ModuleMaker/Makefile deleted file mode 100644 index 9454cf514dc..00000000000 --- a/examples/ModuleMaker/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -##===- examples/ModuleMaker/Makefile -----------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL=../.. -TOOLNAME=ModuleMaker -EXAMPLE_TOOL = 1 -LINK_COMPONENTS := bitwriter - -include $(LEVEL)/Makefile.common diff --git a/examples/OCaml-Kaleidoscope/Chapter2/Makefile b/examples/OCaml-Kaleidoscope/Chapter2/Makefile deleted file mode 100644 index 8fc03da0fbd..00000000000 --- a/examples/OCaml-Kaleidoscope/Chapter2/Makefile +++ /dev/null @@ -1,22 +0,0 @@ -##===- examples/OCaml-Kaleidoscope/Chapter2/Makefile -------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -# -# This is the makefile for the Objective Caml kaleidoscope tutorial, chapter 2. -# -##===----------------------------------------------------------------------===## - -LEVEL := ../../.. -TOOLNAME := OCaml-Kaleidoscope-Ch2 -EXAMPLE_TOOL := 1 -UsedComponents := core -UsedOcamLibs := llvm - -OCAMLCFLAGS += -pp camlp4of - -include $(LEVEL)/bindings/ocaml/Makefile.ocaml diff --git a/examples/OCaml-Kaleidoscope/Chapter3/Makefile b/examples/OCaml-Kaleidoscope/Chapter3/Makefile deleted file mode 100644 index fdbcd5191f4..00000000000 --- a/examples/OCaml-Kaleidoscope/Chapter3/Makefile +++ /dev/null @@ -1,24 +0,0 @@ -##===- examples/OCaml-Kaleidoscope/Chapter3/Makefile -------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -# -# This is the makefile for the Objective Caml kaleidoscope tutorial, chapter 3. -# -##===----------------------------------------------------------------------===## - -LEVEL := ../../.. -TOOLNAME := OCaml-Kaleidoscope-Ch3 -EXAMPLE_TOOL := 1 -UsedComponents := core -UsedOcamLibs := llvm llvm_analysis - -OCAMLCFLAGS += -pp camlp4of - -ExcludeSources = $(PROJ_SRC_DIR)/myocamlbuild.ml - -include $(LEVEL)/bindings/ocaml/Makefile.ocaml diff --git a/examples/OCaml-Kaleidoscope/Chapter4/Makefile b/examples/OCaml-Kaleidoscope/Chapter4/Makefile deleted file mode 100644 index d9c3f49bea6..00000000000 --- a/examples/OCaml-Kaleidoscope/Chapter4/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -##===- examples/OCaml-Kaleidoscope/Chapter4/Makefile -------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -# -# This is the makefile for the Objective Caml kaleidoscope tutorial, chapter 4. -# -##===----------------------------------------------------------------------===## - -LEVEL := ../../.. -TOOLNAME := OCaml-Kaleidoscope-Ch4 -EXAMPLE_TOOL := 1 -UsedComponents := core -UsedOcamLibs := llvm llvm_analysis llvm_executionengine llvm_target \ - llvm_scalar_opts - -OCAMLCFLAGS += -pp camlp4of - -ExcludeSources = $(PROJ_SRC_DIR)/myocamlbuild.ml - -include $(LEVEL)/bindings/ocaml/Makefile.ocaml diff --git a/examples/OCaml-Kaleidoscope/Chapter5/Makefile b/examples/OCaml-Kaleidoscope/Chapter5/Makefile deleted file mode 100644 index f31c10d3c2f..00000000000 --- a/examples/OCaml-Kaleidoscope/Chapter5/Makefile +++ /dev/null @@ -1,25 +0,0 @@ -##===- examples/OCaml-Kaleidoscope/Chapter5/Makefile -------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -# -# This is the makefile for the Objective Caml kaleidoscope tutorial, chapter 5. -# -##===----------------------------------------------------------------------===## - -LEVEL := ../../.. -TOOLNAME := OCaml-Kaleidoscope-Ch5 -EXAMPLE_TOOL := 1 -UsedComponents := core -UsedOcamLibs := llvm llvm_analysis llvm_executionengine llvm_target \ - llvm_scalar_opts - -OCAMLCFLAGS += -pp camlp4of - -ExcludeSources = $(PROJ_SRC_DIR)/myocamlbuild.ml - -include $(LEVEL)/bindings/ocaml/Makefile.ocaml diff --git a/examples/OCaml-Kaleidoscope/Chapter6/Makefile b/examples/OCaml-Kaleidoscope/Chapter6/Makefile deleted file mode 100644 index 21f0c53df4b..00000000000 --- a/examples/OCaml-Kaleidoscope/Chapter6/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -##===- examples/OCaml-Kaleidoscope/Chapter6/Makefile -------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -# -# This is the makefile for the Objective Caml kaleidoscope tutorial, chapter 6. -# -##===----------------------------------------------------------------------===## - -LEVEL := ../../.. -TOOLNAME := OCaml-Kaleidoscope-Ch6 -EXAMPLE_TOOL := 1 -UsedComponents := core -UsedOcamLibs := llvm llvm_analysis llvm_executionengine llvm_target \ - llvm_scalar_opts - -OCAMLCFLAGS += -pp camlp4of - -OcamlSources1 = \ - $(PROJ_SRC_DIR)/ast.ml \ - $(PROJ_SRC_DIR)/parser.ml \ - $(PROJ_SRC_DIR)/codegen.ml \ - $(PROJ_SRC_DIR)/lexer.ml \ - $(PROJ_SRC_DIR)/token.ml \ - $(PROJ_SRC_DIR)/toplevel.ml \ - $(PROJ_SRC_DIR)/toy.ml - -ExcludeSources = $(PROJ_SRC_DIR)/myocamlbuild.ml - -include $(LEVEL)/bindings/ocaml/Makefile.ocaml diff --git a/examples/OCaml-Kaleidoscope/Chapter7/Makefile b/examples/OCaml-Kaleidoscope/Chapter7/Makefile deleted file mode 100644 index 99686e17ea8..00000000000 --- a/examples/OCaml-Kaleidoscope/Chapter7/Makefile +++ /dev/null @@ -1,34 +0,0 @@ -##===- examples/OCaml-Kaleidoscope/Chapter7/Makefile -------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -# -# This is the makefile for the Objective Caml kaleidoscope tutorial, chapter 7. -# -##===----------------------------------------------------------------------===## - -LEVEL := ../../.. -TOOLNAME := OCaml-Kaleidoscope-Ch7 -EXAMPLE_TOOL := 1 -UsedComponents := core -UsedOcamLibs := llvm llvm_analysis llvm_executionengine llvm_target \ - llvm_scalar_opts - -OCAMLCFLAGS += -pp camlp4of - -OcamlSources1 = \ - $(PROJ_SRC_DIR)/ast.ml \ - $(PROJ_SRC_DIR)/parser.ml \ - $(PROJ_SRC_DIR)/codegen.ml \ - $(PROJ_SRC_DIR)/lexer.ml \ - $(PROJ_SRC_DIR)/token.ml \ - $(PROJ_SRC_DIR)/toplevel.ml \ - $(PROJ_SRC_DIR)/toy.ml - -ExcludeSources = $(PROJ_SRC_DIR)/myocamlbuild.ml - -include $(LEVEL)/bindings/ocaml/Makefile.ocaml diff --git a/examples/OCaml-Kaleidoscope/Makefile b/examples/OCaml-Kaleidoscope/Makefile deleted file mode 100644 index 5342b94022a..00000000000 --- a/examples/OCaml-Kaleidoscope/Makefile +++ /dev/null @@ -1,15 +0,0 @@ -##===- examples/OCaml-Kaleidoscope/Makefile ----------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL=../.. - -include $(LEVEL)/Makefile.config - -PARALLEL_DIRS:= Chapter2 Chapter3 Chapter4 Chapter5 Chapter6 Chapter7 - -include $(LEVEL)/Makefile.common diff --git a/examples/ParallelJIT/Makefile b/examples/ParallelJIT/Makefile deleted file mode 100644 index 0f2a3575f76..00000000000 --- a/examples/ParallelJIT/Makefile +++ /dev/null @@ -1,17 +0,0 @@ -##===- examples/ParallelJIT/Makefile -----------------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## -LEVEL = ../.. -TOOLNAME = ParallelJIT -EXAMPLE_TOOL = 1 - -LINK_COMPONENTS := mcjit interpreter nativecodegen - -include $(LEVEL)/Makefile.common - -LIBS += -lpthread |