1 ## Process this file with automake to produce Makefile.in
2 # Copyright (C) 2002, 2003, 2004, 2005, 2006 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 the Free
18 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
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 \
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
54 shishid_SOURCES += starttls.c resume.c
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