1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
## Process this file with automake to produce Makefile.in
# Copyright (C) 2002-2022 Simon Josefsson
#
# This file is part of Shishi.
#
# Shishi is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# Shishi is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Shishi; if not, see http://www.gnu.org/licenses or write
# to the Free Software Foundation, Inc., 51 Franklin Street, Fifth
# Floor, Boston, MA 02110-1301, USA.
SUBDIRS = gl
AM_CFLAGS = $(WARN_CFLAGS) $(WERROR_CFLAGS) $(CFLAG_VISIBILITY)
AM_CPPFLAGS = $(LIBTASN1_CFLAGS) -I$(srcdir)/gl -I$(builddir)/gl
AM_CPPFLAGS += -DLOCALEDIR=\"$(localedir)\" \
-DSYSTEMCFGFILE=\"$(CONFDIR)/shishi.conf\" \
-DSKELCFGFILE=\"$(SKELDIR)/shishi.skel\" \
-DHOSTKEYSFILE=\"$(KEYDIR)/shishi.keys\"
BUILT_SOURCES = kerberos5.c
MAINTAINERCLEANFILES = kerberos5.c
include_HEADERS = shishi.h shishi-version.h
lib_LTLIBRARIES = libshishi.la
libshishi_la_SOURCES = libshishi.map \
shishi.h internal.h \
init.c cfg.c cfg.h realm.c principal.c error.c krberror.c \
gztime.c diskio.c diskio.h authorize.c pki.c \
authenticator.c \
kdc.c kdcreq.c kdcrep.c enckdcreppart.c as.c tgs.c \
ap.c apreq.c aprep.c encapreppart.c \
safe.c priv.c \
ticket.c encticketpart.c tkt.c tkts.c tktccache.c \
ccache.c ccache.h \
netio.c \
key.c keys.c keytab.c hostkeys.c \
crypto.c crypto.h crypto-ctx.c \
asn1.c asn1.h kerberos5.c \
version.c password.c \
utils.c utils.h resolv.c \
kerberos5.asn1 \
low-crypto.c low-crypto.h
if NULL
libshishi_la_SOURCES += crypto-null.c
endif
if MD
libshishi_la_SOURCES += crypto-md.c
endif
if DES
libshishi_la_SOURCES += crypto-des.c
endif
if DES3
libshishi_la_SOURCES += crypto-3des.c
endif
if AES
libshishi_la_SOURCES += crypto-aes.c
endif
if ARCFOUR
libshishi_la_SOURCES += crypto-rc4.c
endif
if STARTTLS
libshishi_la_SOURCES += starttls.c starttls.h
endif
libshishi_la_LIBADD = gl/libgnu.la $(LIB_CLOCK_GETTIME) \
$(LTLIBTASN1) $(LTLIBGNUTLS) $(LTLIBGCRYPT) $(LTLIBIDN) \
$(LTLIBINTL) $(LTLIBRESOLV) $(LIBSOCKET)
libshishi_la_LDFLAGS = -no-undefined \
-version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE)
if HAVE_LD_VERSION_SCRIPT
libshishi_la_LDFLAGS += -Wl,--version-script=$(srcdir)/libshishi.map
else
libshishi_la_LDFLAGS += -export-symbols-regex '^shishi.*'
endif
if HAVE_LD_OUTPUT_DEF
libshishi_la_LDFLAGS += -Wl,--output-def,libshishi-$(SOVERSION).def
defexecdir = $(bindir)
defexec_DATA = libshishi-$(SOVERSION).def
DISTCLEANFILES = $(defexec_DATA)
endif
kerberos5.c: $(srcdir)/kerberos5.asn1
$(AM_V_GEN)$(ASN1PARSER) -o $@ -n shishi_asn1_tab $(srcdir)/kerberos5.asn1
|