Update gnulib files.
[shishi.git] / src / Makefile.am
blob28e19e2bc70f04bb198b834b8a3d04865cc95858
1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Simon Josefsson.
4 # This file is part of Shishi.
6 # Shishi is free software; you can redistribute it and/or modify it
7 # under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
11 # Shishi is distributed in the hope that it will be useful, but
12 # WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 # General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with Shishi; if not, see http://www.gnu.org/licenses or write
18 # to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
19 # Floor, Boston, MA 02110-1301, USA.
21 AM_CPPFLAGS = -I$(top_srcdir)/gl -I$(top_builddir)/gl \
22         -I$(top_srcdir)/db -I../lib
23 localedir = $(datadir)/locale
24 DEFS = @DEFS@ -DLOCALEDIR=\"$(localedir)\" \
25         -DSYSTEMCFGFILE=\"$(CONFDIR)/shishi.conf\" \
26         -DHOSTKEYSFILE=\"$(KEYDIR)/shishi.keys\"
28 BUILT_SOURCES = shishi_cmd.c shishi_cmd.h shisa_cmd.c shisa_cmd.h       \
29         shishid_cmd.c shishid_cmd.h keytab2shishi_cmd.c                 \
30         keytab2shishi_cmd.h ccache2shishi_cmd.c                         \
31         ccache2shishi_cmd.h
32 MAINTAINERCLEANFILES = $(BUILT_SOURCES)
34 bin_PROGRAMS = shishi shisa ccache2shishi
35 sbin_PROGRAMS = shishid keytab2shishi
37 shishi_SOURCES = shishi.c shishi.ggo shishi_cmd.h shishi_cmd.c
38 shishi_LDADD = ../gl/libgnu.la ../lib/libshishi.la @LTLIBINTL@
39 shishi_cmd.c shishi_cmd.h: shishi.ggo Makefile.am
40         gengetopt --unamed-opts="CLIENT [SERVER]" \
41                 --no-handle-help --no-handle-error \
42                 --input $< --file-name shishi_cmd
44 shisa_SOURCES = shisa.c shisa.ggo shisa_cmd.h shisa_cmd.c
45 shisa_LDADD = ../gl/libgnu.la ../db/libshisa.la ../lib/libshishi.la @LTLIBINTL@
46 shisa_cmd.c shisa_cmd.h: shisa.ggo Makefile.am
47         gengetopt --unamed-opts="REALM [PRINCIPAL]" \
48                 --no-handle-help --no-handle-error \
49                 --input $< --file-name shisa_cmd
51 shishid_SOURCES = shishid.c server.c kdc.h kdc.c \
52         shishid.ggo shishid_cmd.h shishid_cmd.c
53 if STARTTLS
54 shishid_SOURCES += starttls.c resume.c
55 endif
56 shishid_LDADD = ../gl/libgnu.la ../lib/libshishi.la \
57         ../db/libshisa.la @LTLIBGNUTLS@ @LTLIBINTL@
58 shishid_cmd.c shishid_cmd.h: shishid.ggo Makefile.am
59         gengetopt --no-handle-help --no-handle-error \
60                  --input $< --file-name shishid_cmd
62 keytab2shishi_SOURCES = keytab2shishi.c keytab2shishi.ggo       \
63         keytab2shishi_cmd.h keytab2shishi_cmd.c
64 keytab2shishi_LDADD = ../gl/libgnu.la ../lib/libshishi.la @LTLIBINTL@
65 keytab2shishi_cmd.c keytab2shishi_cmd.h: keytab2shishi.ggo Makefile.am
66         gengetopt --unamed-opts="INFILE [OUTFILE]" \
67                 --no-handle-help --no-handle-error \
68                 --input $< --file-name keytab2shishi_cmd
70 ccache2shishi_SOURCES = ccache2shishi.c ccache2shishi.ggo       \
71         ccache2shishi_cmd.h ccache2shishi_cmd.c
72 ccache2shishi_LDADD = ../gl/libgnu.la ../lib/libshishi.la @LTLIBINTL@
73 ccache2shishi_cmd.c ccache2shishi_cmd.h: ccache2shishi.ggo Makefile.am
74         gengetopt --unamed-opts="INFILE [OUTFILE]" \
75                 --no-handle-help --no-handle-error \
76                 --input $< --file-name ccache2shishi_cmd