1 1.1 agc # $NetBSD: Makefile,v 1.1 2009/04/23 06:31:55 agc Exp $ 2 1.1 agc 3 1.1 agc .include <bsd.own.mk> 4 1.1 agc 5 1.1 agc PROG= netpgp 6 1.1 agc BINDIR= /usr/bin 7 1.1 agc 8 1.1 agc CPPFLAGS+= -I${.CURDIR}/../dist/include 9 1.1 agc 10 1.1 agc LIBNETPGPDIR!= cd ${.CURDIR}/../lib && ${PRINTOBJDIR} 11 1.1 agc LDADD+= -L${LIBNETPGPDIR} -lnetpgp 12 1.1 agc DPADD+= ${LIBNETPGPDIR}/libnetpgp.a 13 1.1 agc 14 1.1 agc MAN= netpgp.1 15 1.1 agc 16 1.1 agc # although the code is/was WARNS=4 clean, when linking, there is a warning 17 1.1 agc # about libidea being a patented algorithm, and WARNS>0 treats warnings as 18 1.1 agc # errors. For now, just set WARNS off. 19 1.1 agc WARNS= 0 20 1.1 agc 21 1.1 agc .PATH: ${.CURDIR}/../dist/src/bin 22 1.1 agc 23 1.1 agc .include <bsd.prog.mk> 24