4 # Author: Pekka Riikonen <priikone@silcnet.org>
6 # Copyright (C) 2000 - 2005 Pekka Riikonen
8 # This program is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; version 2 of the License.
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
18 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
20 noinst_LTLIBRARIES = libsilccrypt.la
22 libsilccrypt_la_SOURCES = \
40 # Tell libtool to compile silccrypt as shared since silcsim will need it.
41 LTFLAGS = --libtool-enable-shared
48 #ifdef SILC_DIST_TOOLKIT
69 SILC_EXTRA_DIST = tests
70 #endif SILC_DIST_TOOLKIT
72 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
74 include $(top_srcdir)/Makefile.defines.in
76 # Workaround a bug in GCC 2.x which causes memory exhaustion
77 # when compiling sha1 with optimizations on UltraSPARC.
80 @FIX_SHA1@ $(LTCOMPILE) -O0 -c -o $@ `test -f 'sha1.c' || echo '$(srcdir)/'`sha1.c