summary refs log tree commit diff
path: root/make/examples/aterm
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2011-02-09 12:48:54 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2011-02-09 12:48:54 +0000
commit3087b3f7513ce713e0b759f63b9a4e9142e46f82 (patch)
treeef9c92ef186a8336dc8d293f37052247a008cd06 /make/examples/aterm
parenteb94581d399b8d0945b883b14c4a892fdab95dfc (diff)
downloadguix-3087b3f7513ce713e0b759f63b9a4e9142e46f82.tar.gz
* Obsolete.
Diffstat (limited to 'make/examples/aterm')
-rw-r--r--make/examples/aterm/aterm/default.nix30
-rw-r--r--make/examples/aterm/default.nix1
-rw-r--r--make/examples/aterm/test/default.nix15
3 files changed, 0 insertions, 46 deletions
diff --git a/make/examples/aterm/aterm/default.nix b/make/examples/aterm/aterm/default.nix
deleted file mode 100644
index 56e830c84a..0000000000
--- a/make/examples/aterm/aterm/default.nix
+++ /dev/null
@@ -1,30 +0,0 @@
-{sharedLib ? true}:
-
-rec {
-
-  inherit (import ../../../lib) compileC makeLibrary;
-
-  sources = [
-    ./afun.c
-    ./aterm.c
-    ./bafio.c
-    ./byteio.c
-    ./gc.c
-    ./hash.c
-    ./list.c
-    ./make.c
-    ./md5c.c
-    ./memory.c
-    ./tafio.c
-    ./version.c
-  ];
-
-  compile = main: compileC {inherit main sharedLib;};
-
-  libATerm = makeLibrary {
-    libraryName = "ATerm";
-    objects = map compile sources;
-    inherit sharedLib;
-  };
-
-}
diff --git a/make/examples/aterm/default.nix b/make/examples/aterm/default.nix
deleted file mode 100644
index edaac40aa4..0000000000
--- a/make/examples/aterm/default.nix
+++ /dev/null
@@ -1 +0,0 @@
-import test/default.nix
\ No newline at end of file
diff --git a/make/examples/aterm/test/default.nix b/make/examples/aterm/test/default.nix
deleted file mode 100644
index e59b86b943..0000000000
--- a/make/examples/aterm/test/default.nix
+++ /dev/null
@@ -1,15 +0,0 @@
-with (import ../../../lib);
-
-let {
-  inherit (import ../aterm {}) libATerm;
-
-  compileTest = main: link {
-    objects = [(compileC {inherit main; localIncludePath = [ ../aterm ];})];
-    libraries = libATerm;
-  };
-
-  body = [
-    (compileTest ./fib.c)
-    (compileTest ./primes.c)
-  ];
-}