Home | History | Annotate | Line # | Download | only in bin
Makefile revision 1.2
      1 #	$NetBSD: Makefile,v 1.2 2009/05/17 11:38:42 he Exp $
      2 
      3 .include <bsd.own.mk>
      4 
      5 PROG=		netpgp
      6 BINDIR=		/usr/bin
      7 
      8 CPPFLAGS+=	-I${.CURDIR}/../dist/include
      9 
     10 LIBNETPGPDIR!=	cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
     11 LDADD+=		-L${LIBNETPGPDIR} -lnetpgp
     12 DPADD+=		${LIBNETPGPDIR}/libnetpgp.a
     13 
     14 LDADD+=		-lcrypto -lz -lbz2
     15 DPADD+=		${LIBCRYPTO} ${LIBZ} ${LIBBZ2}
     16 
     17 MAN=		netpgp.1
     18 
     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
     23 
     24 .PATH: ${.CURDIR}/../dist/src/bin
     25 
     26 .include <bsd.prog.mk>
     27