1 # $NetBSD: Makefile,v 1.13 2014/12/05 04:42:36 agc Exp $
6 SRCS
= b64.c bignum.c bufgap.c digest.c
7 SRCS
+= libverify.c main.c misc.c
12 SRCS
+= md5c.c rmd160.c sha1.c sha2.c tiger.c
14 CPPFLAGS
+=-I
${.CURDIR
} -I
${EXTDIST}/src
/netpgpverify
15 COPTS.libverify.c
+= -Wno-format-nonliteral
25 EXTDIST
=${.CURDIR
}/..
/..
/dist
27 .PATH
: ${EXTDIST}/src
/netpgpverify
29 .
include <bsd.prog.mk
>
32 .
/${PROG} -k
${EXTDIST}/src
/netpgpverify
/pubring.gpg
${EXTDIST}/src
/netpgpverify
/NetBSD-6.0_RC1_hashes.asc
33 .
/${PROG} -k
${EXTDIST}/src
/netpgpverify
/pubring.gpg
${EXTDIST}/src
/netpgpverify
/NetBSD-6.0_RC1_hashes.gpg
35 .
/${PROG} -S
${EXTDIST}/src
/netpgpverify
/sshtest-20140202.pub
${EXTDIST}/src
/netpgpverify
/data.gpg
36 .
/${PROG} -S
${EXTDIST}/src
/netpgpverify
/sshtest-20140202.pub
${EXTDIST}/src
/netpgpverify
/data.sig
37 @echo
"expected failure, to check bad signatures fail to verify"
38 -sed
-e
's|A|B|' ${EXTDIST}/src
/netpgpverify
/data.gpg | .
/${PROG} -S
${EXTDIST}/src
/netpgpverify
/sshtest-20140202.pub