1# $NetBSD: Makefile,v 1.2 2012/07/10 19:38:17 christos Exp $ 2 3.include <bsd.own.mk> 4 5PROG= pgp2ssh 6BINDIR= /usr/bin 7 8SRCS= b64.c hkpc.c main.c 9CPPFLAGS+= -I${.CURDIR}/../dist/include -I${.CURDIR}/../dist/src/hkpclient 10 11LIBNETPGPDIR!= cd ${.CURDIR}/../lib && ${PRINTOBJDIR} 12LDADD+= -L${LIBNETPGPDIR} -lnetpgp 13DPADD+= ${LIBNETPGPDIR}/libnetpgp.a 14 15LIBMJDIR!= cd ${.CURDIR}/../libmj && ${PRINTOBJDIR} 16LDADD+= -L${LIBMJDIR} -lmj 17DPADD+= ${LIBMJDIR}/libmj.a 18 19LDADD+= -lcrypto -lz -lbz2 20DPADD+= ${LIBCRYPTO} ${LIBZ} ${LIBBZ2} 21 22MAN= pgp2ssh.1 23 24.PATH: ${.CURDIR}/../dist/src/pgp2ssh ${.CURDIR}/../dist/src/hkpclient 25 26.include <bsd.prog.mk> 27