[lld] r233313 - Remove Makefiles.
Rui Ueyama
ruiu at google.com
Thu Mar 26 13:09:48 PDT 2015
Author: ruiu
Date: Thu Mar 26 15:09:47 2015
New Revision: 233313
URL: http://llvm.org/viewvc/llvm-project?rev=233313&view=rev
Log:
Remove Makefiles.
Most developers prefer to not have them, and we agreed to
remove them from LLD.
http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-March/083368.html
Removed:
lld/trunk/Makefile
lld/trunk/docs/Makefile
lld/trunk/include/Makefile
lld/trunk/include/lld/Config/Makefile
lld/trunk/include/lld/Makefile
lld/trunk/lib/Config/Makefile
lld/trunk/lib/Core/Makefile
lld/trunk/lib/Driver/Makefile
lld/trunk/lib/Makefile
lld/trunk/lib/ReaderWriter/ELF/AArch64/Makefile
lld/trunk/lib/ReaderWriter/ELF/ARM/Makefile
lld/trunk/lib/ReaderWriter/ELF/Hexagon/Makefile
lld/trunk/lib/ReaderWriter/ELF/Makefile
lld/trunk/lib/ReaderWriter/ELF/Mips/Makefile
lld/trunk/lib/ReaderWriter/ELF/X86/Makefile
lld/trunk/lib/ReaderWriter/ELF/X86_64/ExampleSubTarget/Makefile
lld/trunk/lib/ReaderWriter/ELF/X86_64/Makefile
lld/trunk/lib/ReaderWriter/MachO/Makefile
lld/trunk/lib/ReaderWriter/Makefile
lld/trunk/lib/ReaderWriter/Native/Makefile
lld/trunk/lib/ReaderWriter/PECOFF/Makefile
lld/trunk/lib/ReaderWriter/YAML/Makefile
lld/trunk/test/Makefile
lld/trunk/tools/Makefile
lld/trunk/tools/linker-script-test/Makefile
lld/trunk/tools/lld/Makefile
lld/trunk/unittests/CoreTests/Makefile
lld/trunk/unittests/DriverTests/Makefile
lld/trunk/unittests/Makefile
Removed: lld/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/Makefile (original)
+++ lld/trunk/Makefile (removed)
@@ -1,86 +0,0 @@
-##===- Makefile --------------------------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-# If LLD_LEVEL is not set, then we are the top-level Makefile. Otherwise, we
-# are being included from a subdirectory makefile.
-
-ifndef LLD_LEVEL
-
-IS_TOP_LEVEL := 1
-LLD_LEVEL := .
-DIRS := include lib tools unittests
-
-PARALLEL_DIRS :=
-
-endif
-
-ifeq ($(MAKECMDGOALS),libs-only)
- DIRS := $(filter-out tools docs, $(DIRS))
- OPTIONAL_DIRS :=
-endif
-ifeq ($(BUILD_LLD_ONLY),YES)
- DIRS := $(filter-out docs unittests, $(DIRS))
- OPTIONAL_DIRS :=
-endif
-
-###
-# Common Makefile code, shared by all lld Makefiles.
-
-# Set LLVM source root level.
-LEVEL := $(LLD_LEVEL)/../..
-
-# Include LLVM common makefile.
-include $(LEVEL)/Makefile.common
-
-ifneq ($(ENABLE_DOCS),1)
- DIRS := $(filter-out docs, $(DIRS))
-endif
-
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/include
-CPP.Flags += -I$(PROJ_OBJ_DIR)/$(LLD_LEVEL)/include
-
-###
-# lld Top Level specific stuff.
-
-ifeq ($(IS_TOP_LEVEL),1)
-
-ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
-$(RecursiveTargets)::
- $(Verb) for dir in test unittests; do \
- if [ -f $(PROJ_SRC_DIR)/$${dir}/Makefile ] && [ ! -f $${dir}/Makefile ]; then \
- $(MKDIR) $${dir}; \
- $(CP) $(PROJ_SRC_DIR)/$${dir}/Makefile $${dir}/Makefile; \
- fi \
- done
-endif
-
-test::
- @ $(MAKE) -C test
-
-report::
- @ $(MAKE) -C test report
-
-clean::
- @ $(MAKE) -C test clean
-
-libs-only: all
-
-tags::
- $(Verb) etags `find . -type f -name '*.h' -or -name '*.cpp' | \
- grep -v /lib/Headers | grep -v /test/`
-
-cscope.files:
- find tools lib include -name '*.cpp' \
- -or -name '*.def' \
- -or -name '*.td' \
- -or -name '*.h' > cscope.files
-
-.PHONY: test report clean cscope.files
-
-endif
Removed: lld/trunk/docs/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/docs/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/docs/Makefile (original)
+++ lld/trunk/docs/Makefile (removed)
@@ -1,155 +0,0 @@
-# Makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-PAPER =
-BUILDDIR = _build
-
-# Internal variables.
-PAPEROPT_a4 = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
-ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-# the i18n builder cannot share the environment and doctrees with the others
-I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-
-.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
-
-all: html
-
-help:
- @echo "Please use \`make <target>' where <target> is one of"
- @echo " html to make standalone HTML files"
- @echo " dirhtml to make HTML files named index.html in directories"
- @echo " singlehtml to make a single large HTML file"
- @echo " pickle to make pickle files"
- @echo " json to make JSON files"
- @echo " htmlhelp to make HTML files and a HTML help project"
- @echo " qthelp to make HTML files and a qthelp project"
- @echo " devhelp to make HTML files and a Devhelp project"
- @echo " epub to make an epub"
- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
- @echo " latexpdf to make LaTeX files and run them through pdflatex"
- @echo " text to make text files"
- @echo " man to make manual pages"
- @echo " texinfo to make Texinfo files"
- @echo " info to make Texinfo files and run them through makeinfo"
- @echo " gettext to make PO message catalogs"
- @echo " changes to make an overview of all changed/added/deprecated items"
- @echo " linkcheck to check all external links for integrity"
- @echo " doctest to run all doctests embedded in the documentation (if enabled)"
-
-clean:
- -rm -rf $(BUILDDIR)/*
-
-html:
- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
- @echo
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
-
-dirhtml:
- $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
- @echo
- @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
-
-singlehtml:
- $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
- @echo
- @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
-
-pickle:
- $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
- @echo
- @echo "Build finished; now you can process the pickle files."
-
-json:
- $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
- @echo
- @echo "Build finished; now you can process the JSON files."
-
-htmlhelp:
- $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
- @echo
- @echo "Build finished; now you can run HTML Help Workshop with the" \
- ".hhp project file in $(BUILDDIR)/htmlhelp."
-
-qthelp:
- $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
- @echo
- @echo "Build finished; now you can run "qcollectiongenerator" with the" \
- ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
- @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/lld.qhcp"
- @echo "To view the help file:"
- @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/lld.qhc"
-
-devhelp:
- $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
- @echo
- @echo "Build finished."
- @echo "To view the help file:"
- @echo "# mkdir -p $$HOME/.local/share/devhelp/lld"
- @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/lld"
- @echo "# devhelp"
-
-epub:
- $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
- @echo
- @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
-
-latex:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
- @echo
- @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
- @echo "Run \`make' in that directory to run these through (pdf)latex" \
- "(use \`make latexpdf' here to do that automatically)."
-
-latexpdf:
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
- @echo "Running LaTeX files through pdflatex..."
- $(MAKE) -C $(BUILDDIR)/latex all-pdf
- @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
-
-text:
- $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
- @echo
- @echo "Build finished. The text files are in $(BUILDDIR)/text."
-
-man:
- $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
- @echo
- @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
-
-texinfo:
- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
- @echo
- @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
- @echo "Run \`make' in that directory to run these through makeinfo" \
- "(use \`make info' here to do that automatically)."
-
-info:
- $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
- @echo "Running Texinfo files through makeinfo..."
- make -C $(BUILDDIR)/texinfo info
- @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
-
-gettext:
- $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
- @echo
- @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
-
-changes:
- $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
- @echo
- @echo "The overview file is in $(BUILDDIR)/changes."
-
-linkcheck:
- $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
- @echo
- @echo "Link check complete; look for any errors in the above output " \
- "or in $(BUILDDIR)/linkcheck/output.txt."
-
-doctest:
- $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
- @echo "Testing of doctests in the sources finished, look at the " \
- "results in $(BUILDDIR)/doctest/output.txt."
Removed: lld/trunk/include/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/include/Makefile (original)
+++ lld/trunk/include/Makefile (removed)
@@ -1,4 +0,0 @@
-LLD_LEVEL := ..
-DIRS := lld
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/include/lld/Config/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Config/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/include/lld/Config/Makefile (original)
+++ lld/trunk/include/lld/Config/Makefile (removed)
@@ -1,32 +0,0 @@
-LLD_LEVEL := ../../..
-
-BUILT_SOURCES = Version.inc
-
-TABLEGEN_INC_FILES_COMMON = 1
-
-include $(LLD_LEVEL)/Makefile
-
-# Compute the lld version from the LLVM version, unless specified explicitly.
-ifndef LLD_VERSION
-LLD_VERSION := $(subst svn,,$(LLVMVersion))
-LLD_VERSION := $(subst rc,,$(LLD_VERSION))
-endif
-
-LLD_VERSION_COMPONENTS := $(subst ., ,$(LLD_VERSION))
-LLD_VERSION_MAJOR := $(word 1,$(LLD_VERSION_COMPONENTS))
-LLD_VERSION_MINOR := $(word 2,$(LLD_VERSION_COMPONENTS))
-
-LLD_REVISION := $(strip \
- $(shell $(LLVM_SRC_ROOT)/utils/GetSourceVersion $(LLVM_SRC_ROOT)/tools/lld))
-
-LLD_REPOSITORY := $(strip \
- $(shell $(LLVM_SRC_ROOT)/utils/GetRepositoryPath $(LLVM_SRC_ROOT)/tools/lld))
-
-$(ObjDir)/Version.inc.tmp : Version.inc.in Makefile $(LLVM_OBJ_ROOT)/Makefile.config $(ObjDir)/.dir
- $(Echo) "Updating LLD version info."
- $(Verb)sed -e "s#@LLD_VERSION@#$(LLD_VERSION)#g" \
- -e "s#@LLD_VERSION_MAJOR@#$(LLD_VERSION_MAJOR)#g" \
- -e "s#@LLD_VERSION_MINOR@#$(LLD_VERSION_MINOR)#g" \
- -e "s#@LLD_REVISION@#$(LLD_REVISION)#g" \
- -e "s#@LLD_REPOSITORY@#$(LLD_REPOSITORY)#g" \
- $< > $@
Removed: lld/trunk/include/lld/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/include/lld/Makefile (original)
+++ lld/trunk/include/lld/Makefile (removed)
@@ -1,44 +0,0 @@
-LLD_LEVEL := ../..
-DIRS := Config
-
-include $(LLD_LEVEL)/Makefile
-
-install-local::
- $(Echo) Installing lld include files
- $(Verb) $(MKDIR) $(DESTDIR)$(PROJ_includedir)
- $(Verb) if test -d "$(PROJ_SRC_DIR)" ; then \
- cd $(PROJ_SRC_DIR)/.. && \
- for hdr in `find lld -type f \
- '(' -name LICENSE.TXT \
- -o -name '*.def' \
- -o -name '*.h' \
- -o -name '*.inc' \
- ')' -print \
- | grep -v CVS | grep -v .svn | grep -v .dir` ; do \
- instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \
- if test \! -d "$$instdir" ; then \
- $(EchoCmd) Making install directory $$instdir ; \
- $(MKDIR) $$instdir ;\
- fi ; \
- $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
- done ; \
- fi
-ifneq ($(PROJ_SRC_ROOT),$(PROJ_OBJ_ROOT))
- $(Verb) if test -d "$(PROJ_OBJ_ROOT)/tools/lld/include/lld" ; then \
- cd $(PROJ_OBJ_ROOT)/tools/lld/include && \
- for hdr in `find lld -type f \
- '(' -name LICENSE.TXT \
- -o -name '*.def' \
- -o -name '*.h' \
- -o -name '*.inc' \
- ')' -print \
- | grep -v CVS | grep -v .tmp | grep -v .dir` ; do \
- instdir=$(DESTDIR)`dirname "$(PROJ_includedir)/$$hdr"` ; \
- if test \! -d "$$instdir" ; then \
- $(EchoCmd) Making install directory $$instdir ; \
- $(MKDIR) $$instdir ;\
- fi ; \
- $(DataInstall) $$hdr $(DESTDIR)$(PROJ_includedir)/$$hdr ; \
- done ; \
- fi
-endif
Removed: lld/trunk/lib/Config/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Config/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/Config/Makefile (original)
+++ lld/trunk/lib/Config/Makefile (removed)
@@ -1,13 +0,0 @@
-##===- lib/Config/Makefile ---------------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../..
-LIBRARYNAME := lldConfig
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/Core/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/Core/Makefile (original)
+++ lld/trunk/lib/Core/Makefile (removed)
@@ -1,13 +0,0 @@
-##===- lld/lib/Core/Makefile ---------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../..
-LIBRARYNAME := lldCore
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/Driver/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/Driver/Makefile (original)
+++ lld/trunk/lib/Driver/Makefile (removed)
@@ -1,38 +0,0 @@
-##===- lld/lib/Driver/Makefile ---------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../..
-LIBRARYNAME := lldDriver
-
-BUILT_SOURCES = CoreOptions.inc UniversalDriverOptions.inc DarwinLdOptions.inc \
- GnuLdOptions.inc WinLinkOptions.inc
-
-TABLEGEN_INC_FILES_COMMON = 1
-
-include $(LLD_LEVEL)/Makefile
-
-$(ObjDir)/CoreOptions.inc.tmp : CoreOptions.td $(LLVM_TBLGEN) $(ObjDir)/.dir
- $(Echo) "Building LLD CoreOptions Option tables with tblgen"
- $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
-
-$(ObjDir)/UniversalDriverOptions.inc.tmp : UniversalDriverOptions.td $(LLVM_TBLGEN) $(ObjDir)/.dir
- $(Echo) "Building LLD Universal Driver Options tables with tblgen"
- $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
-
-$(ObjDir)/DarwinLdOptions.inc.tmp : DarwinLdOptions.td $(LLVM_TBLGEN) $(ObjDir)/.dir
- $(Echo) "Building LLD Darwin ld Option tables with tblgen"
- $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
-
-$(ObjDir)/GnuLdOptions.inc.tmp : GnuLdOptions.td $(LLVM_TBLGEN) $(ObjDir)/.dir
- $(Echo) "Building LLD Gnu ld Option tables with tblgen"
- $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
-
-$(ObjDir)/WinLinkOptions.inc.tmp : WinLinkOptions.td $(LLVM_TBLGEN) $(ObjDir)/.dir
- $(Echo) "Building LLD WinLinkOptions Option tables with tblgen"
- $(Verb) $(LLVMTableGen) -gen-opt-parser-defs -o $(call SYSPATH, $@) $<
Removed: lld/trunk/lib/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/Makefile (original)
+++ lld/trunk/lib/Makefile (removed)
@@ -1,16 +0,0 @@
-##===- lib/Makefile ----------------------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-LLD_LEVEL := ..
-
-# ARCMigrate and Rewrite are always needed because of libclang.
-PARALLEL_DIRS = Config Core Driver ReaderWriter
-
-include $(LLD_LEVEL)/../../Makefile.config
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/ELF/AArch64/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/AArch64/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/AArch64/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/ELF/AArch64/Makefile (removed)
@@ -1,15 +0,0 @@
-##===- lld/lib/ReaderWriter/ELF/AArch64/Makefile ----------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../../..
-LIBRARYNAME := lldAArch64ELFTarget
-USEDLIBS = lldCore.a
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF/AArch64 -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/ELF/ARM/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/ARM/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/ARM/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/ELF/ARM/Makefile (removed)
@@ -1,15 +0,0 @@
-##===------ lld/lib/ReaderWriter/ELF/ARM/Makefile ----------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../../..
-LIBRARYNAME := lldARMELFTarget
-USEDLIBS = lldCore.a
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF/ARM -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/ELF/Hexagon/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Hexagon/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Hexagon/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Hexagon/Makefile (removed)
@@ -1,16 +0,0 @@
-##===- lld/lib/ReaderWriter/ELF/Hexagon/Makefile ----------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../../..
-LIBRARYNAME := lldHexagonELFTarget
-USEDLIBS = lldCore.a
-
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF/Hexagon -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/ELF/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Makefile (removed)
@@ -1,18 +0,0 @@
-##===- lld/lib/ReaderWriter/ELF/Makefile --------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../..
-LIBRARYNAME := lldELF
-
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF
-
-# these link against this lib
-PARALLEL_DIRS := Hexagon X86 X86_64 Mips AArch64 ARM
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/ELF/Mips/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/Makefile (removed)
@@ -1,15 +0,0 @@
-##===- lld/lib/ReaderWriter/ELF/Mips/Makefile ----------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../../..
-LIBRARYNAME := lldMipsELFTarget
-USEDLIBS = lldCore.a
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/ELF/X86/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/X86/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/X86/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/ELF/X86/Makefile (removed)
@@ -1,15 +0,0 @@
-##===- lld/lib/ReaderWriter/ELF/X86/Makefile ----------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../../..
-LIBRARYNAME := lldX86ELFTarget
-USEDLIBS = lldCore.a
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/ELF/X86_64/ExampleSubTarget/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/X86_64/ExampleSubTarget/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/X86_64/ExampleSubTarget/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/ELF/X86_64/ExampleSubTarget/Makefile (removed)
@@ -1,15 +0,0 @@
-##===- lld/lib/ReaderWriter/ELF/X86_64/Makefile ----------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../../../..
-LIBRARYNAME := lldExampleSubTarget
-USEDLIBS = lldX86_64ELFTarget.a
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/ELF/X86_64/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/X86_64/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/X86_64/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/ELF/X86_64/Makefile (removed)
@@ -1,19 +0,0 @@
-##===- lld/lib/ReaderWriter/ELF/X86_64/Makefile ----------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../../..
-LIBRARYNAME := lldX86_64ELFTarget
-USEDLIBS = lldCore.a
-
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLD_LEVEL)/lib/ReaderWriter/ELF/X86_64/
-
-PARALLEL_DIRS := ExampleSubTarget
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/MachO/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/MachO/Makefile (removed)
@@ -1,14 +0,0 @@
-##===- lld/lib/ReaderWriter/MachO/Makefile --------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../..
-LIBRARYNAME := lldMachO
-USEDLIBS = lldCore.a
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/Makefile (removed)
@@ -1,16 +0,0 @@
-##===- lld/lib/ReaderWriter/Makefile ---------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../..
-LIBRARYNAME := lldReaderWriter
-
-# these link against this lib
-PARALLEL_DIRS := ELF MachO Native PECOFF YAML
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/Native/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/Native/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/Native/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/Native/Makefile (removed)
@@ -1,14 +0,0 @@
-##===- lld/lib/ReaderWriter/Native/Makefile --------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../..
-LIBRARYNAME := lldNative
-USEDLIBS = lldCore.a
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/PECOFF/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/PECOFF/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/PECOFF/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/PECOFF/Makefile (removed)
@@ -1,14 +0,0 @@
-##===- lld/lib/ReaderWriter/PECOFF/Makefile --------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../..
-LIBRARYNAME := lldPECOFF
-USEDLIBS = lldCore.a
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/lib/ReaderWriter/YAML/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/YAML/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/lib/ReaderWriter/YAML/Makefile (original)
+++ lld/trunk/lib/ReaderWriter/YAML/Makefile (removed)
@@ -1,14 +0,0 @@
-##===- lld/lib/ReaderWriter/YAML/Makefile --------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ../../..
-LIBRARYNAME := lldYAML
-USEDLIBS = lldCore.a
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/test/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/test/Makefile (original)
+++ lld/trunk/test/Makefile (removed)
@@ -1,71 +0,0 @@
-LLD_LEVEL := ..
-include $(LLD_LEVEL)/Makefile
-
-# Test in all immediate subdirectories if unset.
-ifdef TESTSUITE
-TESTDIRS := $(TESTSUITE:%=$(PROJ_SRC_DIR)/%)
-else
-TESTDIRS ?= $(PROJ_SRC_DIR)
-endif
-
-# 'lit' wants objdir paths, so it will pick up the lit.site.cfg.
-TESTDIRS := $(TESTDIRS:$(PROJ_SRC_DIR)%=$(PROJ_OBJ_DIR)%)
-
-# Allow EXTRA_TESTDIRS to provide additional test directories.
-TESTDIRS += $(EXTRA_TESTDIRS)
-
-ifndef TESTARGS
-ifdef VERBOSE
-TESTARGS = -v
-else
-TESTARGS = -s -v
-endif
-endif
-
-# Make sure any extra test suites can find the main site config.
-LIT_ARGS := --param lld_site_config=$(PROJ_OBJ_DIR)/lit.site.cfg
-
-ifdef VG
- LIT_ARGS += "--vg"
-endif
-
-all:: lit.site.cfg Unit/lit.site.cfg
- @ echo '--- Running lld tests for $(TARGET_TRIPLE) ---'
- @ $(PYTHON) $(LLVM_SRC_ROOT)/utils/lit/lit.py \
- $(LIT_ARGS) $(TESTARGS) $(TESTDIRS)
-
-FORCE:
-
-lit.site.cfg: FORCE
- @echo "Making lld 'lit.site.cfg' file..."
- @$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > lit.tmp
- @$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> lit.tmp
- @$(ECHOPATH) s=@LLVM_TOOLS_DIR@=$(ToolDir)=g >> lit.tmp
- @$(ECHOPATH) s=@LLVM_LIBS_DIR@=$(LibDir)=g >> lit.tmp
- @$(ECHOPATH) s=@LLD_SOURCE_DIR@=$(PROJ_SRC_DIR)/..=g >> lit.tmp
- @$(ECHOPATH) s=@LLD_BINARY_DIR@=$(PROJ_OBJ_DIR)/..=g >> lit.tmp
- @$(ECHOPATH) s=@TARGET_TRIPLE@=$(TARGET_TRIPLE)=g >> lit.tmp
- @sed -f lit.tmp $(PROJ_SRC_DIR)/lit.site.cfg.in > $@
- @-rm -f lit.tmp
-
-Unit/lit.site.cfg: FORCE
- @echo "Making lld 'Unit/lit.site.cfg' file..."
- @$(MKDIR) $(dir $@)
- @$(ECHOPATH) s=@LLVM_SOURCE_DIR@=$(LLVM_SRC_ROOT)=g > unit.tmp
- @$(ECHOPATH) s=@LLVM_BINARY_DIR@=$(LLVM_OBJ_ROOT)=g >> unit.tmp
- @$(ECHOPATH) s=@LLVM_TOOLS_DIR@=$(ToolDir)=g >> unit.tmp
- @$(ECHOPATH) s=@LLVM_LIBS_DIR@=$(LibDir)=g >> unit.tmp
- @$(ECHOPATH) s=@LLD_SOURCE_DIR@=$(PROJ_SRC_DIR)/..=g >> unit.tmp
- @$(ECHOPATH) s=@LLD_BINARY_DIR@=$(PROJ_OBJ_DIR)/..=g >> unit.tmp
- @$(ECHOPATH) s=@TARGET_TRIPLE@=$(TARGET_TRIPLE)=g >> unit.tmp
- @$(ECHOPATH) s=@LLVM_BUILD_MODE@=$(BuildMode)=g >> unit.tmp
- @$(ECHOPATH) s=@ENABLE_SHARED@=$(ENABLE_SHARED)=g >> unit.tmp
- @$(ECHOPATH) s=@SHLIBDIR@=$(SharedLibDir)=g >> unit.tmp
- @$(ECHOPATH) s=@SHLIBPATH_VAR@=$(SHLIBPATH_VAR)=g >> unit.tmp
- @sed -f unit.tmp $(PROJ_SRC_DIR)/Unit/lit.site.cfg.in > $@
- @-rm -f unit.tmp
-
-clean::
- @ find . -name Output | xargs rm -fr
-
-.PHONY: all report clean
Removed: lld/trunk/tools/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/tools/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/tools/Makefile (original)
+++ lld/trunk/tools/Makefile (removed)
@@ -1,17 +0,0 @@
-##===- tools/Makefile --------------------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL := ..
-LEVEL := $(LLD_LEVEL)/../..
-
-include $(LLD_LEVEL)/../../Makefile.config
-
-PARALLEL_DIRS := linker-script-test lld
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/tools/linker-script-test/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/tools/linker-script-test/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/tools/linker-script-test/Makefile (original)
+++ lld/trunk/tools/linker-script-test/Makefile (removed)
@@ -1,24 +0,0 @@
-##===-------------- linker-script-test/Makefile ----------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===--------------------------------------------------------------------===##
-
-LLD_LEVEL := ../..
-
-TOOLNAME = linker-script-test
-
-# No plugins, optimize startup time.
-TOOL_NO_EXPORTS = 1
-
-#include /Makefile.config
-LEVEL := $(LLD_LEVEL)/../..
-include $(LEVEL)/Makefile.config
-
-LINK_COMPONENTS := $(TARGETS_TO_BUILD)
-USEDLIBS = lldReaderWriter.a lldCore.a LLVMSupport.a
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/tools/lld/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/tools/lld/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/tools/lld/Makefile (original)
+++ lld/trunk/tools/lld/Makefile (removed)
@@ -1,30 +0,0 @@
-##===------- lld/Makefile --------------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===--------------------------------------------------------------------===##
-
-LLD_LEVEL := ../..
-
-TOOLNAME = lld
-
-# No plugins, optimize startup time.
-TOOL_NO_EXPORTS = 1
-
-#include /Makefile.config
-LEVEL := $(LLD_LEVEL)/../..
-include $(LEVEL)/Makefile.config
-
-LINK_COMPONENTS := $(TARGETS_TO_BUILD)
-USEDLIBS = lldDriver.a lldConfig.a \
- lldELF.a lldMachO.a lldPECOFF.a lldYAML.a \
- lldReaderWriter.a lldCore.a lldNative.a \
- lldHexagonELFTarget.a lldMipsELFTarget.a \
- lldX86ELFTarget.a lldExampleSubTarget.a lldX86_64ELFTarget.a \
- lldAArch64ELFTarget.a lldARMELFTarget.a \
- LLVMOption.a
-
-include $(LLD_LEVEL)/Makefile
Removed: lld/trunk/unittests/CoreTests/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/unittests/CoreTests/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/unittests/CoreTests/Makefile (original)
+++ lld/trunk/unittests/CoreTests/Makefile (removed)
@@ -1,14 +0,0 @@
-##===- unittests/CoreTests/Makefile ----------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-LLD_LEVEL = ../..
-TESTNAME = CoreTest
-LLVMLIBS = gtest.a LLVMOption.a LLVMSupport.a
-
-include $(LLD_LEVEL)/unittests/Makefile
Removed: lld/trunk/unittests/DriverTests/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/unittests/DriverTests/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/unittests/DriverTests/Makefile (original)
+++ lld/trunk/unittests/DriverTests/Makefile (removed)
@@ -1,20 +0,0 @@
-##===---- unittests/DriverTests/Makefile ----------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===-------------------------------------------------------------------===##
-
-LLD_LEVEL = ../..
-TESTNAME = DriverTests
-USEDLIBS = lldDriver.a lldConfig.a \
- lldELF.a lldMachO.a lldPECOFF.a \
- lldCore.a lldNative.a lldReaderWriter.a \
- lldHexagonELFTarget.a lldMipsELFTarget.a \
- lldX86ELFTarget.a lldExampleSubTarget.a lldX86_64ELFTarget.a \
- lldYAML.a lldAArch64ELFTarget.a lldARMELFTarget.a \
- LLVMObject.a LLVMMCParser.a LLVMMC.a LLVMBitReader.a \
- LLVMCore.a LLVMOption.a LLVMSupport.a
-include $(LLD_LEVEL)/unittests/Makefile
Removed: lld/trunk/unittests/Makefile
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/unittests/Makefile?rev=233312&view=auto
==============================================================================
--- lld/trunk/unittests/Makefile (original)
+++ lld/trunk/unittests/Makefile (removed)
@@ -1,31 +0,0 @@
-##===- unittests/Makefile ----------------------------------*- Makefile -*-===##
-#
-# The LLVM Compiler Infrastructure
-#
-# This file is distributed under the University of Illinois Open Source
-# License. See LICENSE.TXT for details.
-#
-##===----------------------------------------------------------------------===##
-
-# If LLD_LEVEL is not set, then we are the top-level Makefile. Otherwise, we
-# are being included from a subdirectory makefile.
-
-ifndef LLD_LEVEL
-
-IS_UNITTEST_LEVEL := 1
-LLD_LEVEL := ..
-
-PARALLEL_DIRS = CoreTests DriverTests
-
-include $(LLD_LEVEL)/../../Makefile.config
-
-endif # LLD_LEVEL
-
-include $(LLD_LEVEL)/Makefile
-
-ifndef IS_UNITTEST_LEVEL
-
-MAKEFILE_UNITTEST_NO_INCLUDE_COMMON := 1
-include $(LLVM_SRC_ROOT)/unittests/Makefile.unittest
-
-endif # IS_UNITTEST_LEVEL
More information about the llvm-commits
mailing list