aboutsummaryrefslogtreecommitdiff
path: root/utils/hashdir/Makefile.in
blob: 7c779d7a7d5be78d033a46e44e269ae6a5a9d4ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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}