From 9802a6cbdc2ddcb445fc8620fd756654de6d85b4 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Wed, 12 Mar 2014 22:40:22 +0000 Subject: Remove projects/sample. As an example that was not actually being used, it suffered from a slow bitrot. The two main issues with it were that it had no cmake support and included a copy of the autoconf directory. The reality is that autoconf is not easily composable. The lack of composabilty is why we have clang options in llvm's configure. Suggesting that users include a copy of autoconf/ in their projects seems a bad idea. We are also in the process of switching to cmake, so pushing autoconf to new project is probably not what we want. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203728 91177308-0d34-0410-b5e6-96231b3b80d8 --- projects/sample/tools/Makefile | 13 ------------- projects/sample/tools/sample/Makefile | 23 ----------------------- projects/sample/tools/sample/main.c | 12 ------------ 3 files changed, 48 deletions(-) delete mode 100644 projects/sample/tools/Makefile delete mode 100644 projects/sample/tools/sample/Makefile delete mode 100644 projects/sample/tools/sample/main.c (limited to 'projects/sample/tools') diff --git a/projects/sample/tools/Makefile b/projects/sample/tools/Makefile deleted file mode 100644 index 00ff52b42c..0000000000 --- a/projects/sample/tools/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -##===- projects/sample/tools/Makefile ----------------------*- Makefile -*-===## - -# -# Relative path to the top of the source tree. -# -LEVEL=.. - -# -# List all of the subdirectories that we will compile. -# -DIRS=sample - -include $(LEVEL)/Makefile.common diff --git a/projects/sample/tools/sample/Makefile b/projects/sample/tools/sample/Makefile deleted file mode 100644 index 324030c567..0000000000 --- a/projects/sample/tools/sample/Makefile +++ /dev/null @@ -1,23 +0,0 @@ -##===- projects/sample/tools/sample/Makefile ---------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of the tool. -# -TOOLNAME=Sample - -# -# List libraries that we'll need -# We use LIBS because sample is a dynamic library. -# -USEDLIBS = sample.a - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common - diff --git a/projects/sample/tools/sample/main.c b/projects/sample/tools/sample/main.c deleted file mode 100644 index ec0c3df605..0000000000 --- a/projects/sample/tools/sample/main.c +++ /dev/null @@ -1,12 +0,0 @@ -#include "sample.h" -#include -#include -#include - -int -main (int argc, char ** argv) -{ - printf ("%d\n", compute_sample (5)); - exit (0); -} - -- cgit v1.2.3