Makefile revision 1.1.2.1
1# $NetBSD: Makefile,v 1.1.2.1 2012/05/06 17:57:11 agc Exp $ 2 3.include <bsd.own.mk> 4 5PROG= netpgp 6BINDIR= /usr/bin 7 8CPPFLAGS+= -I${EXTDIST}/include 9 10LIBNETPGPDIR!= cd ${.CURDIR}/../../lib/netpgp && ${PRINTOBJDIR} 11LDADD+= -L${LIBNETPGPDIR} -lnetpgp 12DPADD+= ${LIBNETPGPDIR}/libnetpgp.a 13 14LIBNETPGPVERIFYDIR!= cd ${.CURDIR}/../../lib/verify && ${PRINTOBJDIR} 15LDADD+= -L${LIBNETPGPVERIFYDIR} -lnetpgpverify 16DPADD+= ${LIBNETPGPVERIFYDIR}/libnetpgpverify.a 17 18LIBNETCIPHERDIR!= cd ${.CURDIR}/../../lib/cipher && ${PRINTOBJDIR} 19LDADD+= -L${LIBNETCIPHERDIR} -lnetpgpcipher 20DPADD+= ${LIBNETCIPHERDIR}/libnetpgpcipher.a 21 22LIBNETRSADIR!= cd ${.CURDIR}/../../lib/rsa && ${PRINTOBJDIR} 23LDADD+= -L${LIBNETRSADIR} -lnetpgprsa 24DPADD+= ${LIBNETRSADIR}/libnetpgprsa.a 25 26LIBNETBNDIR!= cd ${.CURDIR}/../../lib/bn && ${PRINTOBJDIR} 27LDADD+= -L${LIBNETBNDIR} -lnetpgpbn 28DPADD+= ${LIBNETBNDIR}/libnetpgpbn.a 29 30LIBMJDIR!= cd ${.CURDIR}/../../lib/mj && ${PRINTOBJDIR} 31LDADD+= -L${LIBMJDIR} -lmj 32DPADD+= ${LIBMJDIR}/libmj.a 33 34# XXX 35#LIBNETBNDIR!= cd ${.CURDIR}/../libnetbn && ${PRINTOBJDIR} 36#LDADD+= -L${LIBNETBNDIR} -lnetbn 37#DPADD+= ${LIBNETBNDIR}/libnetbn.a 38#LDADD+= -lnetpgpverify -lnetcipher -lnetbn 39 40LDADD+= -lz -lbz2 41DPADD+= ${LIBZ} ${LIBBZ2} 42 43MAN= netpgp.1 44 45WARNS= 4 46 47EXTDIST= ${.CURDIR}/../../dist 48.PATH: ${EXTDIST}/src/netpgp 49 50.include <bsd.prog.mk> 51