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= netpgpkeys 6SRCS= netpgpkeys.c 7BINDIR= /usr/bin 8 9LIBNETPGPDIR!= cd ${.CURDIR}/../../lib/netpgp && ${PRINTOBJDIR} 10LDADD+= -L${LIBNETPGPDIR} -lnetpgp 11DPADD+= ${LIBNETPGPDIR}/libnetpgp.a 12 13LIBNETPGPVERIFYDIR!= cd ${.CURDIR}/../../lib/verify && ${PRINTOBJDIR} 14LDADD+= -L${LIBNETPGPVERIFYDIR} -lnetpgpverify 15DPADD+= ${LIBNETPGPVERIFYDIR}/libnetpgpverify.a 16 17LIBNETCIPHERDIR!= cd ${.CURDIR}/../../lib/cipher && ${PRINTOBJDIR} 18LDADD+= -L${LIBNETCIPHERDIR} -lnetpgpcipher 19DPADD+= ${LIBNETCIPHERDIR}/libnetpgpcipher.a 20 21LIBNETRSADIR!= cd ${.CURDIR}/../../lib/rsa && ${PRINTOBJDIR} 22LDADD+= -L${LIBNETRSADIR} -lnetpgprsa 23DPADD+= ${LIBNETRSADIR}/libnetpgprsa.a 24 25LIBNETBNDIR!= cd ${.CURDIR}/../../lib/bn && ${PRINTOBJDIR} 26LDADD+= -L${LIBNETBNDIR} -lnetpgpbn 27DPADD+= ${LIBNETBNDIR}/libnetpgpbn.a 28 29LIBMJDIR!= cd ${.CURDIR}/../../lib/mj && ${PRINTOBJDIR} 30LDADD+= -L${LIBMJDIR} -lmj 31DPADD+= ${LIBMJDIR}/libmj.a 32 33LDADD+= -lz -lbz2 34DPADD+= ${LIBZ} ${LIBBZ2} 35 36MAN= netpgpkeys.1 37 38WARNS= 4 39 40EXTDIST= ${.CURDIR}/../../dist 41.PATH: ${EXTDIST}/src/netpgpkeys 42 43.include <bsd.prog.mk> 44