Make static-compilation.sh the compile.sh script - pee - Pee a password manager;Pee - because you have to...
(HTM) git clone git://vernunftzentrum.de/pee.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 499d93e6d0b18bab4a07665685a85c430fff29ec
(DIR) parent e04ed05a2fc0185d12e3d5aa6347f188e8e6c17e
(HTM) Author: Christian Kellermann <ckeen@pestilenz.org>
Date: Tue, 19 Apr 2016 16:06:33 +0200
Make static-compilation.sh the compile.sh script
Diffstat:
compile.sh | 31 +++++++++++++++++++++++++++++++
static-compilation.sh | 31 -------------------------------
2 files changed, 31 insertions(+), 31 deletions(-)
---
(DIR) diff --git a/compile.sh b/compile.sh
@@ -0,0 +1,31 @@
+#!/bin/sh
+set -e
+
+chicken-install -r blob-utils >/dev/null || echo Fetching blob-utils has failed.
+chicken-install -r check-errors >/dev/null || echo Fetching check-errors has failed.
+chicken-install -r foreigners >/dev/null || echo Fetching foreigners has failed.
+chicken-install -r getopt-long >/dev/null || echo Fetching getopt-long has failed.
+chicken-install -r matchable >/dev/null || echo Fetching matchable has failed.
+chicken-install -r string-utils >/dev/null || echo Fetching string-utils has failed.
+chicken-install -r stty >/dev/null || echo Fetching stty has failed.
+chicken-install -r tweetnacl >/dev/null || echo Fetching tweetnacl has failed.
+
+cd matchable
+csc -unit matchable -emit-import-library matchable -c matchable.scm -o matchable.o
+mv matchable.o ..; cd ..
+csc -unit blob-hexadecimal -uses type-checks -uses to-hex -emit-import-library blob-hexadecimal -c blob-utils/blob-hexadecimal.scm -o blob-hexadecimal.o
+csc -unit crypto-helper -uses blob-hexadecimal -emit-import-library crypto-helper -c crypto-helper.scm -c blake2s-ref.c -o crypto-helper.o -C --std=c99
+csc -unit foreigners -uses matchable -emit-import-library foreigners -c foreigners/foreigners.scm -o foreigners.o
+csc -unit getopt-long -uses srfi-13 -uses srfi-14 -uses data-structures -uses matchable -Jc getopt-long/getopt-long.scm -o getopt-long.o
+csc -unit to-hex -emit-import-library to-hex -c string-utils/to-hex.scm -o to-hex.o
+csc -unit tweetnacl -emit-import-library tweetnacl -c tweetnacl/tweetnacl.scm -c tweetnacl/tweetnacl.impl.c -C -I./tweetnacl -o tweetnacl.o
+csc -unit type-checks -uses type-errors -J -c ./check-errors/type-checks.scm -o type-checks.o
+csc -unit type-errors -J -c ./check-errors/type-errors.scm -o type-errors.o
+csc -uses matchable -uses foreigners -c stty/stty.scm -emit-import-library stty -unit stty -o stty.o
+csc -uses srfi-1,srfi-4,srfi-13,srfi-14,utils,stty,crypto-helper,tweetnacl,getopt-long,matchable -c pee.scm -o pee.o
+csc -static *o ./tweetnacl/tweetnacl.impl.o -o pee
+
+strip ./pee
+
+rm -r matchable blob-utils check-errors foreigners getopt-long string-utils stty tweetnacl
+rm *.o *.import.*
(DIR) diff --git a/static-compilation.sh b/static-compilation.sh
@@ -1,31 +0,0 @@
-#!/bin/sh
-set -e
-
-chicken-install -r blob-utils >/dev/null || echo Fetching blob-utils has failed.
-chicken-install -r check-errors >/dev/null || echo Fetching check-errors has failed.
-chicken-install -r foreigners >/dev/null || echo Fetching foreigners has failed.
-chicken-install -r getopt-long >/dev/null || echo Fetching getopt-long has failed.
-chicken-install -r matchable >/dev/null || echo Fetching matchable has failed.
-chicken-install -r string-utils >/dev/null || echo Fetching string-utils has failed.
-chicken-install -r stty >/dev/null || echo Fetching stty has failed.
-chicken-install -r tweetnacl >/dev/null || echo Fetching tweetnacl has failed.
-
-cd matchable
-csc -unit matchable -emit-import-library matchable -c matchable.scm -o matchable.o
-mv matchable.o ..; cd ..
-csc -unit blob-hexadecimal -uses type-checks -uses to-hex -emit-import-library blob-hexadecimal -c blob-utils/blob-hexadecimal.scm -o blob-hexadecimal.o
-csc -unit crypto-helper -uses blob-hexadecimal -emit-import-library crypto-helper -c crypto-helper.scm -c blake2s-ref.c -o crypto-helper.o -C --std=c99
-csc -unit foreigners -uses matchable -emit-import-library foreigners -c foreigners/foreigners.scm -o foreigners.o
-csc -unit getopt-long -uses srfi-13 -uses srfi-14 -uses data-structures -uses matchable -Jc getopt-long/getopt-long.scm -o getopt-long.o
-csc -unit to-hex -emit-import-library to-hex -c string-utils/to-hex.scm -o to-hex.o
-csc -unit tweetnacl -emit-import-library tweetnacl -c tweetnacl/tweetnacl.scm -c tweetnacl/tweetnacl.impl.c -C -I./tweetnacl -o tweetnacl.o
-csc -unit type-checks -uses type-errors -J -c ./check-errors/type-checks.scm -o type-checks.o
-csc -unit type-errors -J -c ./check-errors/type-errors.scm -o type-errors.o
-csc -uses matchable -uses foreigners -c stty/stty.scm -emit-import-library stty -unit stty -o stty.o
-csc -uses srfi-1,srfi-4,srfi-13,srfi-14,utils,stty,crypto-helper,tweetnacl,getopt-long,matchable -c pee.scm -o pee.o
-csc -static *o ./tweetnacl/tweetnacl.impl.o -o pee
-
-strip ./pee
-
-rm -r matchable blob-utils check-errors foreigners getopt-long string-utils stty tweetnacl
-rm *.o *.import.*