Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

make install for extras/kdf

  • Loading branch information...
commit 710eb5c45897c97eeb7ce9fdbf96e97ed34ed0df 1 parent a500766
@jaromil jaromil authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 extras/kdf/Makefile
View
11 extras/kdf/Makefile
@@ -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
@@ -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
+ 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}"
Please sign in to comment.
Something went wrong with that request. Please try again.