Remove building with NOCRYPTO option
[minix.git] / crypto / external / bsd / openssl / lib / libcrypto / man / Makefile
blob27f166cc1ec0e6ff4cef215a3ea0e87a14859c71
1 # $NetBSD: Makefile,v 1.3 2010/04/12 18:02:46 joerg Exp $
3 # the makefile is not, and should not be visited during normal build process.
4 # try to use latest pod2man, which comes with the latest perl.
6 .include <bsd.own.mk>
7 CRYPTODIST= ${NETBSDSRCDIR}/crypto
8 .include "${NETBSDSRCDIR}/crypto/Makefile.openssl"
10 VERSION!= head -2 ${OPENSSLSRC}/README | tail -1 | awk '{ print $$2; }'
12 make-manpages:
13 for i in ${OPENSSLSRC}/doc/apps/*.pod; do \
14 fn=`basename $$i .pod`; \
15 if [ "$$fn" = "config" ]; then \
16 sec=5; \
17 dst=openssl.cnf.$$sec; \
18 elif [ "$$fn" = "openssl" ]; then \
19 sec=1; \
20 dst=`basename $$i .pod`.$$sec; \
21 else \
22 sec=1; \
23 dst=openssl_`basename $$i .pod`.$$sec; \
24 fi; \
25 (cd `dirname $$i`; \
26 pod2man --section=$$sec --center=OpenSSL --release=${VERSION} \
27 `basename $$i`) | \
28 sed -e 's/[[:space:]]*$$//' | \
29 perl libcrypto.pl >$$dst; \
30 done
31 for i in ${OPENSSLSRC}/doc/crypto/*.pod \
32 ${OPENSSLSRC}/doc/ssl/*.pod; do \
33 fn=`basename $$i .pod`; \
34 if [ "$$fn" = "des_modes" ]; then \
35 sec=7; \
36 (cd `dirname $$i`; \
37 pod2man --section=$$sec --center=OpenSSL --release=${VERSION} \
38 `basename $$i`) | \
39 sed -e '/$$RCSfile/d' -e '/$$Log/d' -e 's/[[:space:]]*$$//' \
40 > `basename $$i .pod`.$$sec; \
41 else \
42 sec=3; \
43 (cd `dirname $$i`; \
44 pod2man --section=$$sec --center=OpenSSL --release=${VERSION} \
45 `basename $$i`) | \
46 sed -e 's/[[:space:]]*$$//' | \
47 perl libcrypto.pl >`basename $$i .pod`.$$sec; \
48 fi \
49 done
50 for i in bio blowfish bn bn_internal buffer des dh ecdsa \
51 dsa engine err \
52 evp hmac lhash md5 mdc2 pem rand rc4 ripemd rsa \
53 sha threads ui ui_compat x509; do \
54 mv $$i.3 openssl_$$i.3; \
55 done
57 clean:
58 -/bin/rm -f *.[0-9]