tmake install for extras/kdf - tomb - the crypto undertaker HTML git clone git://parazyd.org/tomb.git DIR Log DIR Files DIR Refs DIR README DIR LICENSE --- DIR commit 710eb5c45897c97eeb7ce9fdbf96e97ed34ed0df DIR parent a500766644ac56b2068b57e54f80df122173f754 HTML Author: Jaromil <jaromil@dyne.org> Date: Tue, 11 Jun 2013 17:34:01 +0000 make install for extras/kdf Diffstat: M extras/kdf/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) --- DIR diff --git a/extras/kdf/Makefile b/extras/kdf/Makefile t@@ -1,4 +1,6 @@ +PREFIX ?= /usr/local + all: gcc -O2 -o tomb-kdb-pbkdf2 pbkdf2.c -lgcrypt gcc -O2 -o tomb-kdb-pbkdf2-getiter benchmark.c -lgcrypt t@@ -6,4 +8,11 @@ all: gcc -O2 -o hexencode hexencode.c clean: - rm -f tomb-kdb-pbkdf2-getiter tomb-kdb-pbkdf2 tomb-kdb-pbkdf2-gensalt hexencode -\ No newline at end of file + rm -f tomb-kdb-pbkdf2 tomb-kdb-pbkdf2-getiter tomb-kdb-pbkdf2-gensalt hexencode + +install: + install -Dm755 tomb-kdb-pbkdf2 ${DESTDIR}${PREFIX}/bin/tomb-kdb-pbkdf2 + install -Dm755 tomb-kdb-pbkdf2-getiter ${DESTDIR}${PREFIX}/bin/tomb-kdb-pbkdf2-getiter + install -Dm755 tomb-kdb-pbkdf2-gensalt ${DESTDIR}${PREFIX}/bin/tomb-kdb-pbkdf2-gensalt + install -Dm755 hexencode ${DESTDIR}${PREFIX}/bin/hexencode + @echo "Tomb-kdb auxiliary binaries installed in ${PREFIX}"