summaryrefslogtreecommitdiffstats
path: root/llvm/bindings/ocaml/backends
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-01-26 21:29:08 +0000
committerChris Bieneman <beanz@apple.com>2016-01-26 21:29:08 +0000
commite49730d4baa8443ad56f59bd8066bf4c1e56ea72 (patch)
tree3b8c29f4c2b5812db6c63a6aa42f0f59cadaa105 /llvm/bindings/ocaml/backends
parente7305cc4b3644e2e82684603f0b37a9ec1798e4c (diff)
downloadbcm5719-llvm-e49730d4baa8443ad56f59bd8066bf4c1e56ea72.tar.gz
bcm5719-llvm-e49730d4baa8443ad56f59bd8066bf4c1e56ea72.zip
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 llvm-svn: 258861
Diffstat (limited to 'llvm/bindings/ocaml/backends')
-rw-r--r--llvm/bindings/ocaml/backends/Makefile61
-rw-r--r--llvm/bindings/ocaml/backends/Makefile.common65
2 files changed, 0 insertions, 126 deletions
diff --git a/llvm/bindings/ocaml/backends/Makefile b/llvm/bindings/ocaml/backends/Makefile
deleted file mode 100644
index ff39212c50b..00000000000
--- a/llvm/bindings/ocaml/backends/Makefile
+++ /dev/null
@@ -1,61 +0,0 @@
-##===- bindings/ocaml/backends/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 master makefile for backend-specific bindings. It works by
-# creating a stub makefile for each configured target, e.g. Makefile.ARM, and
-# invoking it to compile the corresponding library, e.g. Llvm_ARM.
-#
-# This scheme allows to keep changes to Makefile.ocaml minimal.
-#
-##===----------------------------------------------------------------------===##
-
-LEVEL := ../../..
-ExtraMakefiles = $(PROJ_OBJ_DIR)/Makefile.common
-
-include $(LEVEL)/Makefile.config
-include $(LEVEL)/Makefile.common
-
-all-local:: all-backends
-clean-local:: clean-backends
-install-local:: install-backends
-uninstall-local:: uninstall-backends
-
-stubs:
- $(Verb) for i in $(TARGETS_TO_BUILD); do \
- $(ECHO) "TARGET := $$i" > Makefile.$$i; \
- $(ECHO) "include Makefile.common" >> Makefile.$$i; \
- done
-
-all-backends: stubs
- $(Verb) for i in $(TARGETS_TO_BUILD); do \
- $(MAKE) -f Makefile.$$i all; \
- done
-
-clean-backends: stubs
- $(Verb) for i in $(TARGETS_TO_BUILD); do \
- $(MAKE) -f Makefile.$$i clean; \
- $(RM) -f Makefile.$$i; \
- done
-
-install-backends: stubs
- $(Verb) for i in $(TARGETS_TO_BUILD); do \
- $(MAKE) -f Makefile.$$i install; \
- done
-
-uninstall-backends: stubs
- $(Verb) for i in $(TARGETS_TO_BUILD); do \
- $(MAKE) -f Makefile.$$i uninstall; \
- done
-
-ocamldoc: stubs
- $(Verb) for i in $(TARGETS_TO_BUILD); do \
- $(MAKE) -f Makefile.$$i ocamldoc; \
- done
-
-.PHONY: all-backends clean-backends install-backends uninstall-backends ocamldoc
diff --git a/llvm/bindings/ocaml/backends/Makefile.common b/llvm/bindings/ocaml/backends/Makefile.common
deleted file mode 100644
index be65dd0f861..00000000000
--- a/llvm/bindings/ocaml/backends/Makefile.common
+++ /dev/null
@@ -1,65 +0,0 @@
-##===- bindings/ocaml/backends/Makefile.common -------------*- 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 slave makefile for backend-specific bindings. This makefile should
-# be included after defining TARGET. It will then substitute @TARGET@ for
-# the value of TARGET in various *.in files and build an OCaml library in
-# a regular way.
-#
-##===----------------------------------------------------------------------===##
-
-LEVEL := ../../..
-LIBRARYNAME := llvm_$(TARGET)
-UsedComponents := $(TARGET)
-UsedOcamlInterfaces := llvm
-
-include $(LEVEL)/Makefile.config
-
-SOURCES := $(TARGET)_ocaml.c
-OcamlHeaders1 := $(PROJ_SRC_DIR)/llvm_$(TARGET).mli
-OcamlSources1 := $(PROJ_SRC_DIR)/llvm_$(TARGET).ml
-
-include ../Makefile.ocaml
-
-$(ObjDir)/llvm_$(TARGET).ml: $(PROJ_SRC_DIR)/llvm_backend.ml.in $(ObjDir)/.dir
- $(Verb) $(SED) -e 's/@TARGET@/$(TARGET)/' $< > $@
-
-$(ObjDir)/llvm_$(TARGET).mli: $(PROJ_SRC_DIR)/llvm_backend.mli.in $(ObjDir)/.dir
- $(Verb) $(SED) -e 's/@TARGET@/$(TARGET)/' $< > $@
-
-$(ObjDir)/$(TARGET)_ocaml.o: $(PROJ_SRC_DIR)/backend_ocaml.c $(ObjDir)/.dir
- $(Echo) "Compiling $*.c for $(BuildMode) build" $(PIC_FLAG)
- $(Verb) $(Compile.C) -DTARGET=$(TARGET) $< -o $@
-
-
-##===- OCamlFind Package --------------------------------------------------===##
-
-all-local:: copy-meta
-install-local:: install-meta
-uninstall-local:: uninstall-meta
-
-DestMETA := $(PROJ_libocamldir)/META.llvm_$(TARGET)
-
-# Easy way of generating META in the objdir
-copy-meta: $(OcamlDir)/META.llvm_$(TARGET)
-
-$(OcamlDir)/META.llvm_$(TARGET): META.llvm_backend.in
- $(Verb) $(SED) -e 's/@TARGET@/$(TARGET)/' \
- -e 's/@PACKAGE_VERSION@/$(LLVMVersion)/' $< > $@
-
-install-meta:: $(OcamlDir)/META.llvm_$(TARGET)
- $(Echo) "Install $(BuildMode) $(DestMETA)"
- $(Verb) $(MKDIR) $(PROJ_libocamldir)
- $(Verb) $(DataInstall) $< "$(DestMETA)"
-
-uninstall-meta::
- $(Echo) "Uninstalling $(DestMETA)"
- -$(Verb) $(RM) -f "$(DestMETA)"
-
-.PHONY: copy-meta install-meta uninstall-meta
OpenPOWER on IntegriCloud