1154af4361
signatures. This library has no pre-requisites other than -lz and -lbz2. This is libnetpgpverify, a standalone library to verify PGP signatures. It uses its own internal MPI/BIGNUM functions, which are a vastly cut-down version of libtommath. For this reason, utilities and other libraries can embed PGP signature verification, using a BSD-licensed library.
24 lines
598 B
Text
24 lines
598 B
Text
# $NetBSD: Makefile.bsd,v 1.1.1.1 2013/02/23 21:04:26 agc Exp $
|
|
|
|
LIB=netpgpverify
|
|
SRCS=libverify.c b64.c pgpsum.c
|
|
SRCS+=digest.c tiger.c
|
|
SRCS+=bignum.c misc.c
|
|
CPPFLAGS+=-I${EXTDIST}/src/libbn
|
|
CPPFLAGS+=-I${EXTDIST}/src/libdigest
|
|
CPPFLAGS+=-I${EXTDIST}/src/librsa
|
|
MAN=libnetpgpverify.3
|
|
WARNS=5
|
|
|
|
EXTDIST=${.CURDIR}
|
|
.PATH: ${EXTDIST}/src/libverify ${EXTDIST}/src/libdigest ${EXTDIST}/src/libbn ${EXTDIST}/src/librsa
|
|
|
|
INCS=verify.h
|
|
INCSDIR=${PREFIX}/include/netpgp
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "ia64"
|
|
COPTS.bignum.c+= ${${ACTIVE_CC} == "gcc" :? -O1 :}
|
|
.endif
|
|
|