Module Name: src
Committed By: agc
Date: Mon Jun 8 06:13:07 UTC 2009
Added Files:
src/crypto/external/bsd/netpgp/netpgp: Makefile
Log Message:
Move to a different directory structure - this is the directory and
Makefile for building the netpgp program.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/crypto/external/bsd/netpgp/netpgp/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/crypto/external/bsd/netpgp/netpgp/Makefile
diff -u /dev/null src/crypto/external/bsd/netpgp/netpgp/Makefile:1.1
--- /dev/null Mon Jun 8 06:13:07 2009
+++ src/crypto/external/bsd/netpgp/netpgp/Makefile Mon Jun 8 06:13:07 2009
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2009/06/08 06:13:07 agc Exp $
+
+.include <bsd.own.mk>
+
+PROG= netpgp
+BINDIR= /usr/bin
+
+CPPFLAGS+= -I${.CURDIR}/../dist/include
+
+LIBNETPGPDIR!= cd ${.CURDIR}/../lib && ${PRINTOBJDIR}
+LDADD+= -L${LIBNETPGPDIR} -lnetpgp
+DPADD+= ${LIBNETPGPDIR}/libnetpgp.a
+
+LDADD+= -lcrypto -lz -lbz2
+DPADD+= ${LIBCRYPTO} ${LIBZ} ${LIBBZ2}
+#LDADD+= -lz -lbz2
+#DPADD+= ${LIBZ} ${LIBBZ2}
+
+MAN= netpgp.1
+
+# although the code is/was WARNS=4 clean, when linking, there is a warning
+# about libidea being a patented algorithm, and WARNS>0 treats warnings as
+# errors. For now, just set WARNS off.
+WARNS= 0
+
+.PATH: ${.CURDIR}/../dist/src/bin
+
+.include <bsd.prog.mk>