9e0498b142
The merkletree(1) command performs Merkle tree calculation and verification on the input data. This allows the establishment of the block positions (i.e. relative neighbourhood) of any changed data.
22 lines
442 B
Makefile
22 lines
442 B
Makefile
# $NetBSD: Makefile.in,v 1.1.1.1 2014/03/05 05:19:25 agc Exp $
|
|
|
|
PROG=merkletree
|
|
|
|
OBJS= libmerkle.o main.o
|
|
|
|
PREFIX=@PREFIX@
|
|
MANDIR=@MANDIR@
|
|
|
|
all: ${PROG}
|
|
|
|
${PROG}: ${OBJS}
|
|
${CC} ${OBJS} -L${PREFIX}/lib -Wl,-R${PREFIX}/lib -o ${PROG} -lmultigest
|
|
|
|
install:
|
|
install -c -s ${PROG} ${DESTDIR}${PREFIX}/bin
|
|
install -c merkletree.1 ${DESTDIR}${MANDIR}/man1
|
|
|
|
clean:
|
|
rm -rf *.core ${OBJS} ${PROG}
|
|
cleandist:
|
|
rm -rf *.core ${OBJS} ${PROG} Makefile
|