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.
21 INCLUDES = -I$(top_srcdir)/gl -I$(top_srcdir)/asn1 \
22 @LIBGCRYPT_CFLAGS@ @CRYPTO_CFLAGS@ @LIBIDN_CFLAGS@ @LIBGNUTLS_CFLAGS@
24 DEFS = -DLOCALEDIR=\"$(localedir)\" \
25 -DSYSTEMCFGFILE=\"$(sysconfdir)/shishi.conf\" \
26 -DSKELCFGFILE=\"$(pkgdatadir)/shishi.skel\" \
27 -DHOSTKEYSFILE=\"$(sysconfdir)/shishi.keys\" \
28 -DDMALLOC_FUNC_CHECK \
31 BUILT_SOURCES = shishi-int.h kerberos5.c
32 DISTCLEANFILES = shishi-int.h
33 MAINTAINERCLEANFILES = kerberos5.c
34 nodist_include_HEADERS = shishi-int.h
36 include_HEADERS = shishi.h
37 lib_LTLIBRARIES = libshishi.la
38 libshishi_la_SOURCES = internal.h gettext.h \
39 init.c cfg.c realm.c principal.c error.c krberror.c \
42 kdc.c kdcreq.c kdcrep.c enckdcreppart.c as.c tgs.c \
43 ap.c apreq.c aprep.c encapreppart.c \
45 ticket.c encticketpart.c tkt.c tkts.c \
46 netio.c key.c keys.c hostkeys.c crypto.c crypto.h \
47 asn1.c kerberos5.asn1 kerberos5.c \
48 version.c password.c \
51 libshishi_la_SOURCES += crypto-null.c
54 libshishi_la_SOURCES += crypto-md.c
57 libshishi_la_SOURCES += crypto-des.c
60 libshishi_la_SOURCES += crypto-3des.c
63 libshishi_la_SOURCES += crypto-aes.c
66 libshishi_la_SOURCES += crypto-rc4.c
69 libshishi_la_SOURCES += nettle.c
72 libshishi_la_SOURCES += libgcrypt.c
74 libshishi_la_LIBADD = @LIBGCRYPT_LIBS@ @CRYPTO_LIBS@ @LIBIDN_LIBS@ \
75 @LTLIBINTL@ -L../gl -lfoo @LIBTASN1_LIBS@ @LIBGNUTLS_LIBS@
76 libshishi_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
78 kerberos5.c: $(srcdir)/kerberos5.asn1
79 -@ASN1PARSER@ -o $@ -n shishi_asn1_tab $^
82 indent $(SOURCES) crypto-*.c nettle.c libgcrypt.c shishi.h.in