+++ /dev/null
-#
-# Makefile.ad
-#
-# Author: Pekka Riikonen <priikone@silcnet.org>
-#
-# Copyright (C) 2000 - 2007 Pekka Riikonen
-#
-# This program 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; version 2 of the License.
-#
-# This program 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.
-#
-
-AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
-
-noinst_LTLIBRARIES = libsilccrypt.la
-
-if SILC_AES_ASM
-if SILC_I486
-SILC_AES_S = aes_x86.asm aes.c
-endif
-if SILC_X86_64
-SILC_AES_S = aes_x86_64.asm aes.c
-endif
-else
-SILC_AES_S = aes.c
-endif
-
-libsilccrypt_la_SOURCES = \
- none.c \
- md5.c \
- $(SILC_AES_S) \
- rsa.c \
- dsa.c \
- sha1.c \
- sha256.c \
- sha256_x86.S \
- sha512.c \
- twofish.c \
- blowfish.c \
- cast5.c \
- des.c \
- silccrypto.c \
- silccipher.c \
- silchash.c \
- silchmac.c \
- silcrng.c \
- silcpkcs.c \
- silcpkcs1.c \
- silcpk.c
-
-if SILC_LIBTOOLFIX
-# Tell libtool to compile silccrypt as shared since silcsim will need it.
-LTFLAGS = --libtool-enable-shared
-else
-LTFLAGS =
-endif
-
-CFLAGS = $(LTFLAGS) @SILC_CRYPTO_CFLAGS@
-
-#ifdef SILC_DIST_TOOLKIT
-include_HEADERS = \
- silccrypto.h \
- silccipher.h \
- silccipher_i.h \
- silchash.h \
- silchmac.h \
- silcpkcs.h \
- silcpkcs_i.h \
- silcrng.h \
- silcpkcs1.h \
- silcpk.h
-
-SILC_EXTRA_DIST = tests
-#endif SILC_DIST_TOOLKIT
-
-SUFFIXES = .asm
-
-.asm.lo:
- $(LIBTOOL) --tag=CC --mode=compile @SILC_ASSEMBLER@ $<
-
-EXTRA_DIST = *.h *.asm $(SILC_EXTRA_DIST)
-
-include $(top_srcdir)/Makefile.defines.in
-
-# Workaround a bug in GCC 2.x which causes memory exhaustion
-# when compiling sha1 with optimizations on UltraSPARC.
-#
-@FIX_SHA1@sha1.lo:
-@FIX_SHA1@ $(LTCOMPILE) -O0 -c -o $@ `test -f 'sha1.c' || echo '$(srcdir)/'`sha1.c
-@FIX_SHA1@