1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003 Simon Josefsson.
4 # This file is part of Shishi.
6 # Shishi is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 2, or (at your option)
11 # Shishi is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with Shishi; see the file COPYING. If not, write to
18 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19 # Boston, MA 02111-1307, USA.
23 shishi_texi_auto_deps = shishi-api-init.texi shishi-api-utility.texi \
24 shishi-api-ticket.texi shishi-api-tkt.texi shishi-api-tkts.texi \
25 shishi-api-as.texi shishi-api-tgs.texi shishi-api-safe.texi \
26 shishi-api-kdc.texi shishi-api-authenticator.texi shishi-api-ap.texi \
27 shishi-api-key.texi shishi-api-keys.texi shishi-api-hostkeys.texi \
28 shishi-api-crypto.texi shishi-api-version.texi \
29 shishi-api-error.texi shishi-api-error-labels.texi
31 generated = shishi.txt shishi.html shishi.ps shishi.pdf $(shishi_texi_auto_deps)
35 MAINTAINERCLEANFILES = $(generated)
37 DISTCLEANFILES = $(man_MANS)
39 EXTRA_DIST = gdoc $(man_MANS) $(generated)
41 info_TEXINFOS = shishi.texi
42 ps_TEXINFOS = shishi.texi
43 pdf_TEXINFOS = shishi.texi
44 shishi_TEXINFOS = gpl.texi fdl.texi $(shishi_texi_auto_deps)
46 shishi-api-init.texi: $(top_srcdir)/lib/init.c $(top_srcdir)/lib/cfg.c
47 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
49 shishi-api-utility.texi: $(top_srcdir)/lib/realm.c $(top_srcdir)/lib/principal.c
50 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
52 shishi-api-ticket.texi: $(top_srcdir)/lib/ticket.c
53 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
55 shishi-api-tkt.texi: $(top_srcdir)/lib/tkt.c
56 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
58 shishi-api-tkts.texi: $(top_srcdir)/lib/tkts.c
59 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
61 shishi-api-safe.texi: $(top_srcdir)/lib/safe.c
62 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
64 shishi-api-as.texi: $(top_srcdir)/lib/as.c
65 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
67 shishi-api-tgs.texi: $(top_srcdir)/lib/tgs.c
68 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
70 shishi-api-kdc.texi: $(top_srcdir)/lib/kdc.c $(top_srcdir)/lib/kdcreq.c $(top_srcdir)/lib/kdcrep.c $(top_srcdir)/lib/enckdcreppart.c
71 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
73 shishi-api-authenticator.texi: $(top_srcdir)/lib/authenticator.c
74 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
76 shishi-api-ap.texi: $(top_srcdir)/lib/ap.c $(top_srcdir)/lib/apreq.c $(top_srcdir)/lib/aprep.c $(top_srcdir)/lib/encapreppart.c
77 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
79 shishi-api-key.texi: $(top_srcdir)/lib/key.c
80 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
82 shishi-api-keys.texi: $(top_srcdir)/lib/keys.c
83 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
85 shishi-api-hostkeys.texi: $(top_srcdir)/lib/hostkeys.c
86 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
88 shishi-api-crypto.texi: $(top_srcdir)/lib/crypto.c
89 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
91 shishi-api-error.texi: $(top_srcdir)/lib/error.c
92 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
94 shishi-api-error-labels.texi: $(top_srcdir)/lib/error.c
95 $(PERL) $(srcdir)/gdoc-error $^ > $@
97 shishi-api-version.texi: $(top_srcdir)/lib/version.c
98 $(PERL) $(srcdir)/gdoc -texinfo $^ > $@
100 shishi.1: $(top_srcdir)/src/shishi.c $(top_builddir)/src/shishi
102 --name="kerberos 5 implementation" \
103 --help-option="--program-name shishi --help" \
104 --output=$@ $(top_builddir)/src/shishi
108 shishi.txt: shishi.texi $(shishi_TEXINFOS)
109 $(MAKEINFO) --no-header $< > $@
111 shishi.html: shishi.texi $(shishi_TEXINFOS)
112 $(MAKEINFO) --html --no-split --number-sections $<