f4401cd869
alter des.h to be friendly with openssl/des.h (you can include both in the same file) make libkrb to depend on libdes. bump major. massage various portioin of heimdal to be friendly with openssl 0.9.7b.
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2003/07/24 14:16:41 itojun Exp $
|
|
|
|
# the makefile is not, and should not be visited during normal build process.
|
|
# try to use latest pod2man, which comes with the latest perl.
|
|
|
|
# XXX: remove .UC lines
|
|
|
|
.include <bsd.own.mk>
|
|
CRYPTODIST= ${NETBSDSRCDIR}/crypto/dist
|
|
.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
|
|
|
|
VERSION!= grep VERSION ${OPENSSLSRC}/Makefile.ssl | head -1 | sed -e 's/VERSION=//'
|
|
|
|
manpages:
|
|
for i in ${OPENSSLSRC}/doc/apps/*.pod; do \
|
|
fn=`basename $$i .pod`; \
|
|
if [ "$$fn" = "config" ]; then \
|
|
sec=5; \
|
|
dst=openssl.cnf.$$sec; \
|
|
elif [ "$$fn" = "openssl" ]; then \
|
|
sec=1; \
|
|
dst=`basename $$i .pod`.$$sec; \
|
|
else \
|
|
sec=1; \
|
|
dst=openssl_`basename $$i .pod`.$$sec; \
|
|
fi; \
|
|
(cd `dirname $$i`; \
|
|
pod2man --section=$$sec --center=OpenSSL --release=${VERSION} \
|
|
`basename $$i`) | \
|
|
perl libcrypto.pl >$$dst; \
|
|
done
|
|
for i in ${OPENSSLSRC}/doc/crypto/*.pod \
|
|
${OPENSSLSRC}/doc/ssl/*.pod; do \
|
|
fn=`basename $$i .pod`; \
|
|
if [ "$$fn" = "des_modes" ]; then \
|
|
sec=7; \
|
|
(cd `dirname $$i`; \
|
|
pod2man --section=$$sec --center=OpenSSL --release=${VERSION} \
|
|
`basename $$i`) | sed -e '/$$RCSfile/d' -e '/$$Log/d' > `basename $$i .pod`.$$sec; \
|
|
else \
|
|
sec=3; \
|
|
(cd `dirname $$i`; \
|
|
pod2man --section=$$sec --center=OpenSSL --release=${VERSION} \
|
|
`basename $$i`) | \
|
|
perl libcrypto.pl >`basename $$i .pod`.$$sec; \
|
|
fi \
|
|
done
|
|
for i in bio blowfish bn bn_internal buffer des dh dsa engine err \
|
|
evp hmac lhash md5 mdc2 pem rand rc4 ripemd rsa \
|
|
sha threads ui ui_compat; do \
|
|
mv $$i.3 openssl_$$i.3; \
|
|
done
|
|
|
|
clean:
|
|
-/bin/rm -f *.[0-9]
|
|
|