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 CRYPTO_INCLUDES = crypto-null.c crypto-des.c crypto-3des.c crypto-aes.c
23 EXTRA_DIST = kerberos5.asn1 $(CRYPTO_INCLUDES)
25 lib_LTLIBRARIES = libshishi.la
26 libshishi_la_SOURCES = internal.h gettext.h \
27 init.c cfg.c done.c realm.c principal.c error.c krberror.c \
31 kdc.c kdcreq.c kdcrep.c enckdcreppart.c as.c tgs.c \
32 ap.c apreq.c aprep.c encapreppart.c safe.c \
33 ticket.c encticketpart.c tkt.c tkts.c \
34 netio.c hostkeys.c key.c crypto.c pkcs5.h pkcs5.c \
36 version.c password.c \
38 libshishi_la_LIBADD = @LIBGCRYPT_LIBS@ @LIBIDN_LIBS@ \
39 @LTLIBINTL@ -L../gl -lfoo @LIBTASN1_LIBS@
40 libshishi_la_LDFLAGS = -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
42 INCLUDES = -I$(top_srcdir)/gl -I$(top_srcdir)/asn1 \
43 @LIBGCRYPT_CFLAGS@ @LIBIDN_CFLAGS@
45 include_HEADERS = shishi.h
47 DEFS = -DLOCALEDIR=\"$(localedir)\" \
48 -DSYSTEMCFGFILE=\"$(sysconfdir)/shishi.conf\" \
49 -DSKELCFGFILE=\"$(pkgdatadir)/shishi.skel\" \
50 -DHOSTKEYSFILE=\"$(sysconfdir)/shishi.keys\" \
51 -DDMALLOC_FUNC_CHECK \
54 kerberos5.c: $(srcdir)/kerberos5.asn1
55 -@ASN1PARSER@ -o $@ -n shishi_asn1_tab $^
58 indent $(SOURCES) $(CRYPTO_INCLUDES) shishi.h.in