Changeset View
Changeset View
Standalone View
Standalone View
lib/libve/openpgp/Makefile.inc
- This file was added.
Property | Old Value | New Value |
---|---|---|
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# $FreeBSD$ | |||||
# decode OpenPGP signatures per rfc4880 | |||||
.PATH: ${.PARSEDIR} | |||||
CFLAGS+= -DUSE_BEARSSL | |||||
BRSSL_SRCS+= dearmor.c | |||||
SRCS+= \ | |||||
decode.c \ | |||||
opgp_key.c \ | |||||
opgp_sig.c | |||||
opgp_key.o: ta_asc.h | |||||
# This header records our OpenPGP trust anchors and tests | |||||
ta_asc.h: ${.ALLTARGETS:M[tv]*.asc:O:u} | |||||
.if ${VE_SIGNATURE_LIST:MOPENPGP} != "" | |||||
@( echo '/* Autogenerated - DO NOT EDIT!!! */'; echo; \ | |||||
echo "static char ta_ASC[] ="; \ | |||||
for f in ${.ALLSRC:Mt*.asc}; do \ | |||||
sed -e '/:/d' -e 's,^\(.*\),"\1\\n",' $$f; \ | |||||
done; echo ';'; echo; ) > ${.TARGET} | |||||
.if ${VE_SELF_TESTS} != "no" | |||||
@( echo "static char vc_ASC[] ="; \ | |||||
for f in ${.ALLSRC:Mv*.asc}; do \ | |||||
sed 's,^\(.*\),"\1\\n",' $$f; \ | |||||
done; echo ';'; \ | |||||
) >> ${.TARGET} | |||||
.endif | |||||
.endif |