Update
[gnupg.git] / cipher / Makefile.am
1 # Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2005,
2 #               2007 Free Software Foundation, Inc.
3 #
4 # This file is part of GnuPG.
5 #
6 # GnuPG is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3 of the License, or
9 # (at your option) any later version.
10
11 # GnuPG is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 # GNU General Public License for more details.
15
16 # You should have received a copy of the GNU General Public License
17 # along with this program; if not, see <http://www.gnu.org/licenses/>.
18 ## Process this file with automake to produce Makefile.in
19
20 AM_CPPFLAGS = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl
21
22 if ! HAVE_DOSISH_SYSTEM
23 AM_CPPFLAGS += -DGNUPG_LIBDIR="\"$(libdir)/@PACKAGE@\""
24 endif
25
26
27 noinst_LIBRARIES = libcipher.a
28
29 libcipher_a_SOURCES = cipher.c  \
30                  pubkey.c       \
31                  md.c           \
32                  dynload.c      \
33                  bithelp.h      \
34                  des.c          \
35                  twofish.c      \
36                  blowfish.c     \
37                  cast5.c        \
38                  rijndael.c     \
39                  camellia.c camellia.h camellia-glue.c \
40                  elgamal.c      \
41                  elgamal.h      \
42                  rsa.c rsa.h    \
43                  primegen.c     \
44                  random.h       \
45                  random.c       \
46                  rand-internal.h \
47                  rmd.h          \
48                  dsa.h          \
49                  dsa.c          \
50                  smallprime.c   \
51                  algorithms.h   \
52                  md5.c          \
53                  rmd160.c       \
54                  sha1.c         \
55                  sha256.c
56
57 if USE_RNDLINUX
58 libcipher_a_SOURCES+=rndlinux.c
59 endif
60
61 if USE_RNDUNIX
62 libcipher_a_SOURCES+=rndunix.c
63 endif
64
65 if USE_RNDEGD
66 libcipher_a_SOURCES+=rndegd.c
67 endif
68
69 if USE_RNDW32
70 libcipher_a_SOURCES+=rndw32.c
71 endif
72
73 if USE_SHA512
74 libcipher_a_SOURCES+=sha512.c
75 endif
76
77 EXTRA_libcipher_a_SOURCES=idea-stub.c
78 libcipher_a_DEPENDENCIES=@IDEA_O@
79 libcipher_a_LIBADD=@IDEA_O@