Add the dependent libs to the openpgpsdk library itself, rather than making
any program that uses the library specifically add them. Install header files in the appropriate place
This commit is contained in:
parent
f6ab492fbf
commit
4442e07493
4
crypto/external/bsd/openpgpsdk/bin/Makefile
vendored
4
crypto/external/bsd/openpgpsdk/bin/Makefile
vendored
@ -1,7 +1,7 @@
|
||||
# $NetBSD: Makefile,v 1.2 2009/01/20 16:58:09 agc Exp $
|
||||
# $NetBSD: Makefile,v 1.3 2009/01/20 19:48:23 agc Exp $
|
||||
|
||||
PROG=openpgp
|
||||
LDADD+=-lopenpgpsdk -lcrypto -lz -lbz2
|
||||
LDADD+=-lopenpgpsdk
|
||||
CPPFLAGS+=-I${.CURDIR}/../dist/include
|
||||
WARNS=0
|
||||
NOMAN= # defined
|
||||
|
21
crypto/external/bsd/openpgpsdk/lib/Makefile
vendored
21
crypto/external/bsd/openpgpsdk/lib/Makefile
vendored
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.1 2009/01/20 07:12:16 agc Exp $
|
||||
# $NetBSD: Makefile,v 1.2 2009/01/20 19:48:23 agc Exp $
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
@ -18,7 +18,22 @@ CPPFLAGS+= -I${EXTDIST}/include
|
||||
NOMAN= # defined
|
||||
WARNS=1
|
||||
|
||||
EXTDIST= ${NETBSDSRCDIR}/crypto/external/bsd/openpgpsdk/dist
|
||||
.PATH: ${EXTDIST}/src/lib
|
||||
EXTDIST=${NETBSDSRCDIR}/crypto/external/bsd/openpgpsdk/dist
|
||||
|
||||
.PATH: ${EXTDIST}/include/openpgpsdk ${EXTDIST}/src/lib
|
||||
|
||||
INCS+= accumulate.h armour.h callback.h compress.h configure.h
|
||||
INCS+= create.h crypto.h defs.h errors.h
|
||||
INCS+= final.h hash.h keyring.h lists.h memory.h
|
||||
INCS+= packet-parse.h packet-show-cast.h packet-show.h packet.h
|
||||
INCS+= random.h readerwriter.h signature.h std_print.h
|
||||
INCS+= streamwriter.h types.h util.h
|
||||
INCS+= validate.h version.h writer.h writer_armoured.h
|
||||
INCSDIR=/usr/include/openpgpsdk
|
||||
|
||||
LDADD+= -lcrypto -lz -lbz2
|
||||
LIBDPLIBS+= crypto ${NETBSDSRCDIR}/lib/libcrypto
|
||||
LIBDPLIBS+= z ${NETBSDSRCDIR}/lib/libz
|
||||
LIBDPLIBS+= bz2 ${NETBSDSRCDIR}/lib/libbz2
|
||||
|
||||
.include <bsd.lib.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user