1# Automatically generated by Autodist 1.4 from Makefile.ad.  Do not edit.
2# To make changes edit the ./lib/silccrypt/Makefile.ad file in the source tree.
3
4# Source: ./lib/silccrypt/Makefile.ad
5# Generated: Tue May 13 09:18:25 EEST 2014 by priikone
6# Distribution: Toolkit
7# License: distdir/TOOLKIT
8
9#
10#  Makefile.ad
11#
12#  Author: Pekka Riikonen <priikone@silcnet.org>
13#
14#  Copyright (C) 2000 - 2007 Pekka Riikonen
15#
16#  The contents of this file are subject to one of the Licenses specified
17#  in the COPYING file;  You may not use this file except in compliance
18#  with the License.
19#
20#  The software distributed under the License is distributed on an "AS IS"
21#  basis, in the hope that it will be useful, but WITHOUT WARRANTY OF ANY
22#  KIND, either expressed or implied.  See the COPYING file for more
23#  information.
24#
25
26AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
27
28noinst_LTLIBRARIES = libsilccrypt.la
29
30if SILC_AES_ASM
31if SILC_I486
32SILC_AES_S = aes_x86.asm aes.c
33endif
34if SILC_X86_64
35SILC_AES_S = aes_x86_64.asm aes.c
36endif
37else
38SILC_AES_S = aes.c
39endif
40
41libsilccrypt_la_SOURCES =	none.c	md5.c	$(SILC_AES_S)	rsa.c	sha1.c	sha256.c	twofish.c	blowfish.c	silccipher.c	silchash.c	silchmac.c	silcrng.c	silcpkcs.c	silcpkcs1.c	silcpk.c
42
43CFLAGS = @SILC_CRYPTO_CFLAGS@
44
45include_HEADERS =	silccipher.h	silchash.h	silchmac.h	silcpkcs.h	silcrng.h	silcpkcs1.h	silcpk.h
46
47SILC_EXTRA_DIST = tests
48
49SUFFIXES = .asm
50
51.asm.lo:
52	$(LIBTOOL) --tag=CC --mode=compile @SILC_ASSEMBLER@ $<
53
54EXTRA_DIST = *.h *.asm $(SILC_EXTRA_DIST)
55
56include $(top_srcdir)/Makefile.defines.in
57
58# Workaround a bug in GCC 2.x which causes memory exhaustion
59# when compiling sha1 with optimizations on UltraSPARC.
60#
61@FIX_SHA1@sha1.lo:
62@FIX_SHA1@	$(LTCOMPILE) -O0 -c -o $@ `test -f 'sha1.c' || echo '$(srcdir)/'`sha1.c
63@FIX_SHA1@
64
65