Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / crypto / external / bsd / netpgp / netpgpkeys / Makefile
blob0905a2679ea88df33a52a3762c98316a251d9839
1 # $NetBSD: Makefile,v 1.2 2009/06/09 00:56:15 agc Exp $
3 .include <bsd.own.mk>
5 PROG= netpgpkeys
6 BINDIR= /usr/bin
8 CPPFLAGS+= -I${.CURDIR}/../dist/include
10 LIBNETPGPDIR!= cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
11 LDADD+= -L${LIBNETPGPDIR} -lnetpgp
12 DPADD+= ${LIBNETPGPDIR}/libnetpgp.a
14 LDADD+= -lcrypto -lz -lbz2
15 DPADD+= ${LIBCRYPTO} ${LIBZ} ${LIBBZ2}
17 MAN= netpgpkeys.1
19 # although the code is/was WARNS=4 clean, when linking, there is a warning
20 # about libidea being a patented algorithm, and WARNS>0 treats warnings as
21 # errors. For now, just set WARNS off.
22 WARNS= 0
24 .PATH: ${.CURDIR}/../dist/src/netpgpkeys
26 .include <bsd.prog.mk>