diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:08:18 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-11-24 09:08:18 +0000 |
commit | 5ca98fd98791947eba83a1ed3f2c8191ef7afa6c (patch) | |
tree | f5944309621cee4fe0976be6f9ac619b7ebfc4c2 /projects/sample/lib | |
parent | 68bcb7db193e4bc81430063148253d30a791023e (diff) |
Diffstat (limited to 'projects/sample/lib')
-rw-r--r-- | projects/sample/lib/Makefile | 13 | ||||
-rw-r--r-- | projects/sample/lib/sample/Makefile | 16 | ||||
-rw-r--r-- | projects/sample/lib/sample/sample.c | 25 |
3 files changed, 0 insertions, 54 deletions
diff --git a/projects/sample/lib/Makefile b/projects/sample/lib/Makefile deleted file mode 100644 index 959038b7f9b4..000000000000 --- a/projects/sample/lib/Makefile +++ /dev/null @@ -1,13 +0,0 @@ -##===- projects/sample/lib/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/lib/sample/Makefile b/projects/sample/lib/sample/Makefile deleted file mode 100644 index af63399d2aa9..000000000000 --- a/projects/sample/lib/sample/Makefile +++ /dev/null @@ -1,16 +0,0 @@ -##===- projects/sample/lib/sample/Makefile -----------------*- Makefile -*-===## - -# -# Indicate where we are relative to the top of the source tree. -# -LEVEL=../.. - -# -# Give the name of a library. This will build a dynamic version. -# -LIBRARYNAME=sample - -# -# Include Makefile.common so we know what to do. -# -include $(LEVEL)/Makefile.common diff --git a/projects/sample/lib/sample/sample.c b/projects/sample/lib/sample/sample.c deleted file mode 100644 index a5ae28091bc4..000000000000 --- a/projects/sample/lib/sample/sample.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * File: sample.c - * - * Description: - * This is a sample source file for a library. It helps to demonstrate - * how to setup a project that uses the LLVM build system, header files, - * and libraries. - */ - -#include <stdio.h> -#include <stdlib.h> - -/* LLVM Header File -#include "llvm/Support/DataTypes.h" -*/ - -/* Header file global to this project */ -#include "sample.h" - -int -compute_sample (int a) -{ - return a; -} - |