1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation
4 # Author: Nikos Mavroyanopoulos
6 # This file is part of GNUTLS.
8 # This file is free software; you can redistribute it and/or modify it
9 # under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This file is distributed in the hope that it will be useful, but
14 # WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 # General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this file; if not, write to the Free Software Foundation,
20 # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
22 EXTRA_DIST = TODO README.CVS README.autoconf certtool.cfg \
23 gnutls.ps gnutls.pdf gnutls.html
24 SUBDIRS = examples scripts manpages
29 info_TEXINFOS = gnutls.texi
30 gnutls_TEXINFOS = gnutls.texi signatures.texi fdl.texi lgpl.texi \
31 gpl.texi error_codes.texi gnutls-api.texi \
32 gnutls-extra-api.texi ia-api.texi x509-api.texi pgp-api.texi \
33 my-bib-macros.texi examples/ex-client1.c examples/ex-client2.c \
34 examples/ex-session-info.c examples/ex-verify.c \
35 examples/ex-cert-select.c examples/ex-client-resume.c \
36 examples/ex-client-srp.c examples/ex-client-tlsia.c \
37 examples/ex-rfc2818.c examples/ex-serv1.c \
38 examples/ex-serv-export.c examples/ex-serv-anon.c \
39 examples/ex-serv-pgp.c examples/ex-serv-srp.c \
40 examples/ex-alert.c examples/ex-x509-info.c examples/ex-crq.c \
43 # Images. Make sure there are eps + png + pdf of each.
44 gnutls_TEXINFOS += layers.eps layers.png layers.pdf
45 gnutls_TEXINFOS += pgp1.eps pgp1.png pgp1.pdf
46 gnutls_TEXINFOS += x509-1.eps x509-1.png x509-1.pdf
47 gnutls_TEXINFOS += gnutls-logo.eps gnutls-logo.png gnutls-logo.pdf
50 gnutls_TEXINFOS += internals.texi
52 # Images. Make sure there are eps + png + pdf of each.
53 gnutls_TEXINFOS += internals.eps internals.png internals.pdf
54 gnutls_TEXINFOS += arch/certificate-user-use-case.dia \
55 arch/certificate-user-use-case.eps \
56 arch/certificate-user-use-case.pdf \
57 arch/certificate-user-use-case.png
58 gnutls_TEXINFOS += arch/client-server-use-case.dia \
59 arch/client-server-use-case.eps \
60 arch/client-server-use-case.pdf \
61 arch/client-server-use-case.png
62 gnutls_TEXINFOS += arch/extensions_st.dia arch/extensions_st.eps \
63 arch/extensions_st.pdf arch/extensions_st.png
64 gnutls_TEXINFOS += arch/handshake-sequence.dia \
65 arch/handshake-sequence.eps arch/handshake-sequence.pdf \
66 arch/handshake-sequence.png
67 gnutls_TEXINFOS += arch/handshake-state.dia arch/handshake-state.eps \
68 arch/handshake-state.pdf arch/handshake-state.png
69 gnutls_TEXINFOS += arch/mod_auth_st.dia arch/mod_auth_st.eps \
70 arch/mod_auth_st.pdf arch/mod_auth_st.png
71 gnutls_TEXINFOS += arch/objects.dia arch/objects.eps arch/objects.pdf \
74 AM_MAKEINFOFLAGS = -I $(top_srcdir)/doc
75 TEXI2DVI = texi2dvi $(AM_MAKEINFOFLAGS)
76 AM_MAKEINFOHTMLFLAGS = $(AM_MAKEINFOFLAGS) \
79 ../lib/gnutls-api.texi:
80 cd ../lib && make gnutls-api.texi
82 ../libextra/gnutls-extra-api.texi:
83 cd ../libextra && make gnutls-extra-api.texi
85 ../lib/x509/x509-api.texi:
86 cd ../lib/x509 && make x509-api.texi
88 ../libextra/openpgp/pgp-api.texi:
89 cd ../libextra/openpgp && make pgp-api.texi
91 ../libextra/ia-api.texi:
92 cd ../libextra && make ia-api.texi
94 gnutls-api.texi: ../lib/gnutls-api.texi
95 -$(srcdir)/scripts/sort2.pl < ../lib/gnutls-api.texi > gnutls-api.texi
97 gnutls-extra-api.texi: ../libextra/gnutls-extra-api.texi
98 -$(srcdir)/scripts/sort2.pl < ../libextra/gnutls-extra-api.texi > gnutls-extra-api.texi
100 x509-api.texi: ../lib/x509/x509-api.texi
101 -$(srcdir)/scripts/sort2.pl < ../lib/x509/x509-api.texi > x509-api.texi
103 pgp-api.texi: ../libextra/openpgp/pgp-api.texi
104 -$(srcdir)/scripts/sort2.pl < ../libextra/openpgp/pgp-api.texi > pgp-api.texi
106 ia-api.texi: ../libextra/ia-api.texi
107 -$(srcdir)/scripts/sort2.pl < ../libextra/ia-api.texi > ia-api.texi
109 error_codes.texi: ../lib/gnutls_errors.c ../src/errcodes.c
110 -../src/errcodes > error_codes.texi