1# $NetBSD: Makefile,v 1.12 2010/11/29 06:22:20 agc Exp $ 2 3.include <bsd.own.mk> 4 5USE_FORT?= yes 6 7LIB= netpgp 8SRCS+= compress.c create.c crypto.c 9SRCS+= keyring.c misc.c netpgp.c openssl_crypto.c packet-parse.c 10SRCS+= packet-print.c packet-show.c reader.c signature.c 11SRCS+= symmetric.c validate.c writer.c 12SRCS+= ssh2pgp.c bufgap.c 13CPPFLAGS+= -I${.CURDIR} -I${EXTDIST}/include 14MAN= libnetpgp.3 15WARNS=5 16 17EXTDIST=${.CURDIR}/../dist 18 19.PATH: ${EXTDIST}/include ${EXTDIST}/src/lib 20 21INCS+= netpgp.h 22INCSDIR=/usr/include 23 24LIBDPLIBS+= mj ${.CURDIR}/../libmj 25LIBDPLIBS+= crypto ${NETBSDSRCDIR}/crypto/external/bsd/openssl/lib/libcrypto 26LIBDPLIBS+= z ${NETBSDSRCDIR}/lib/libz 27LIBDPLIBS+= bz2 ${NETBSDSRCDIR}/lib/libbz2 28 29.include <bsd.lib.mk> 30