diff options
Diffstat (limited to 'make/examples/aterm')
-rw-r--r-- | make/examples/aterm/aterm/default.nix | 30 | ||||
-rw-r--r-- | make/examples/aterm/default.nix | 1 | ||||
-rw-r--r-- | make/examples/aterm/test/default.nix | 15 |
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) - ]; -} |