aboutsummaryrefslogtreecommitdiff
path: root/utils/hashdir/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hashdir/Makefile.in')
-rw-r--r--utils/hashdir/Makefile.in28
1 files changed, 28 insertions, 0 deletions
diff --git a/utils/hashdir/Makefile.in b/utils/hashdir/Makefile.in
new file mode 100644
index 00000000..7c779d7a
--- /dev/null
+++ b/utils/hashdir/Makefile.in
@@ -0,0 +1,28 @@
+# $Id$
+
+OPENSSL_DIR = ../../openssl/openssl
+
+CFLAGS = -g -I${OPENSSL_DIR}/include
+
+# -H -Wl,-t
+
+BIN = hashdir
+OBJ = hashdir.o
+LIB = ${OPENSSL_DIR}/libcrypto.a
+
+all: ${BIN}
+
+clean::
+ rm -f ${BIN} ${OBJ}
+
+${BIN}: ${OBJ} ${LIB} Makefile
+ ${CC} -g -o $@ ${OBJ} ${LIB}
+
+INPUT = ../../rcynic/rcynic-data/authenticated
+OUTPUT = hashed-pem-dir
+
+test: ${BIN}
+ if test -d ${INPUT}; then rm -rf ${OUTPUT} && mkdir ${OUTPUT} && ./hashdir ${INPUT} ${OUTPUT}; else :; fi
+
+clean::
+ rm -rf ${OUTPUT}