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.
23 lines
481 B
Text
23 lines
481 B
Text
# $NetBSD: Makefile.lib.in,v 1.1.1.1 2014/03/05 05:19:25 agc Exp $
|
|
|
|
LIB= libmerkletree.a
|
|
|
|
OBJS+= libmerkle.o
|
|
|
|
PREFIX=@PREFIX@
|
|
MANDIR=@MANDIR@
|
|
|
|
all: ${LIB}
|
|
|
|
${LIB}: ${OBJS}
|
|
ar crv ${LIB} ${OBJS}
|
|
|
|
install:
|
|
${BSD_INSTALL_LIB} ${LIB} ${DESTDIR}${PREFIX}/lib
|
|
${BSD_INSTALL_DATA} merkletree.h ${DESTDIR}${PREFIX}/include
|
|
${BSD_INSTALL_DATA} libmerkletree.3 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3
|
|
|
|
clean:
|
|
rm -rf *.core ${OBJS} ${LIB}
|
|
cleandist:
|
|
rm -rf *.core ${OBJS} ${LIB} Makefile
|