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 = \
42 # Tell libtool to compile silccrypt as shared since silcsim will need it.
43 LTFLAGS = --libtool-enable-shared
50 #ifdef SILC_DIST_TOOLKIT
75 SILC_EXTRA_DIST = tests
76 #endif SILC_DIST_TOOLKIT
78 EXTRA_DIST = *.h $(SILC_EXTRA_DIST)
80 include $(top_srcdir)/Makefile.defines.in
82 # Workaround a bug in GCC 2.x which causes memory exhaustion
83 # when compiling sha1 with optimizations on UltraSPARC.
86 @FIX_SHA1@ $(LTCOMPILE) -O0 -c -o $@ `test -f 'sha1.c' || echo '$(srcdir)/'`sha1.c