1# $NetBSD: Makefile.in,v 1.8 2014/03/09 00:15:45 agc Exp $ 2 3PROG=netpgpverify 4 5OBJS= b64.o bignum.o bufgap.o digest.o 6OBJS+= libverify.o main.o misc.o 7OBJS+= pgpsum.o rsa.o 8 9OBJS+= bzlib.o zlib.o 10 11OBJS+= sha1.o sha2.o md5c.o rmd160.o tiger.o 12 13PREFIX=@PREFIX@ 14MANDIR=@MANDIR@ 15 16all: ${PROG} 17 18${PROG}: ${OBJS} 19 ${CC} ${OBJS} -o ${PROG} 20 21install: 22 install -c -s ${PROG} ${DESTDIR}${PREFIX}/bin 23 install -c netpgpverify.1 ${DESTDIR}${MANDIR}/man1 24 25tst: 26 ./${PROG} -k pubring.gpg NetBSD-6.0_RC1_hashes.asc 27 ./${PROG} -k pubring.gpg NetBSD-6.0_RC1_hashes.gpg 28 ./${PROG} -v 29 ./${PROG} -S testkey.pub data.gpg 30 ./${PROG} -S testkey.pub data.sig 31 32clean: 33 rm -rf *.core ${OBJS} ${PROG} 34cleandist: 35 rm -rf *.core ${OBJS} ${PROG} Makefile 36