Merged from silc_1_0_branch.
[silc.git] / lib / silccrypt / Makefile.am
1 #
2 #  Makefile.am
3 #
4 #  Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
5 #
6 #  Copyright (C) 2000 Pekka Riikonen
7 #
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; either version 2 of the License, or
11 #  (at your option) any later version.
12 #
13 #  This program is distributed in the hope that it will be useful,
14 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
15 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 #  GNU General Public License for more details.
17 #
18
19 AUTOMAKE_OPTIONS = 1.0 no-dependencies foreign
20
21 noinst_LTLIBRARIES = libsilccrypt.la
22
23 libsilccrypt_la_SOURCES = \
24         none.c \
25         rc5.c \
26         rc6.c \
27         md5.c \
28         aes.c \
29         rsa.c \
30         sha1.c \
31         twofish.c \
32         blowfish.c \
33         cast.c \
34         silccipher.c \
35         silchash.c \
36         silchmac.c \
37         silcrng.c \
38         silcpkcs.c \
39         pkcs1.c
40
41 if SILC_LIBTOOLFIX
42 # Tell libtool to compile silccrypt as shared since silcsim will need it.
43 LTFLAGS = --libtool-enable-shared
44 else
45 LTFLAGS = 
46 endif
47
48 CFLAGS = $(LTFLAGS)
49
50 if SILC_DIST_TOOLKIT
51 include_HEADERS =       \
52         aes.h           \
53         blowfish.h      \
54         cast.h          \
55         ciphers_def.h   \
56         ciphers.h       \
57         md5.h           \
58         none.h          \
59         pkcs1.h         \
60         rc5.h           \
61         rc6.h           \
62         rsa.h           \
63         sha1.h          \
64         silccipher.h    \
65         silcdh.h        \
66         silchash.h      \
67         silchmac.h      \
68         silcpkcs.h      \
69         silcrng.h       \
70         twofish.h
71 endif
72
73 EXTRA_DIST = *.h tests
74
75 include $(top_srcdir)/Makefile.defines.in