* pubkey.c (setup_pubkey_table), elgamal.c (sign, verify, test_keys,
[gnupg.git] / cipher / Makefile.am
index 26c625d..85b0a47 100644 (file)
@@ -1,66 +1,59 @@
-## Process this file with automake to produce Makefile.in
+# Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
+#
+# This file is part of GnuPG.
+#
+# GnuPG 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; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# GnuPG 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.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
 
-gnupg_extensions = tiger twofish
+## Process this file with automake to produce Makefile.in
 
-INCLUDES =  -I$(top_srcdir)/include -I$(top_srcdir)/intl -I../intl
+INCLUDES = -I.. -I$(top_srcdir)/include -I$(top_srcdir)/intl
 
 noinst_LIBRARIES = libcipher.a
-if ENABLE_GNUPG_EXTENSIONS
-pkglib_PROGRAMS  = $(gnupg_extensions)
-else
-pkglib_PROGRAMS  =
-endif
-
 
 libcipher_a_SOURCES = cipher.c \
                 pubkey.c       \
                 md.c           \
                 dynload.c      \
-                dynload.h      \
+                bithelp.h      \
                 des.c          \
-                des.h          \
+                twofish.c      \
                 blowfish.c     \
-                blowfish.h     \
                 cast5.c        \
-                cast5.h        \
+                rijndael.c     \
                 elgamal.c      \
                 elgamal.h      \
-                md5.c          \
-                md5.h          \
+                rsa.c rsa.h    \
                 primegen.c     \
                 random.h       \
                 random.c       \
                 rand-internal.h \
-                rand-unix.c    \
-                rand-w32.c     \
-                rand-dummy.c   \
                 rmd.h          \
-                rmd160.c       \
-                sha1.h         \
-                sha1.c         \
                 dsa.h          \
                 dsa.c          \
-                g10c.c         \
-                smallprime.c
-
-EXTRA_tiger_SOURCES = tiger.c
-EXTRA_twofish_SOURCES = twofish.c
-
-
-tiger: $(srcdir)/tiger.c
-       `echo $(COMPILE) -shared  -fPIC -lc -o tiger $(srcdir)/tiger.c | \
-           sed -e 's/-O2/-O1/' `
-
-twofish: $(srcdir)/twofish.c
-       `echo $(COMPILE) -shared  -fPIC -lc -o twofish $(srcdir)/twofish.c | \
-           sed -e 's/-O2/  /' `
-
-
-install-exec-hook:
-       @list='$(pkglib_PROGRAMS)'; for p in $$list; do \
-         if test -f $(pkglibdir)/$$p; then \
-           echo "chmod 644 $(pkglibdir)/$$p"; \
-           chmod 644 $(pkglibdir)/$$p; \
-         fi; \
-       done
-
+                smallprime.c   \
+                algorithms.h   \
+                rndlinux.c     \
+                rndunix.c      \
+                rndegd.c       \
+                rndw32.c       \
+                md5.c          \
+                rmd160.c       \
+                sha1.c         \
+                sha256.c
+
+EXTRA_libcipher_a_SOURCES = idea-stub.c sha512.c
+
+libcipher_a_DEPENDENCIES = @IDEA_O@ @SHA512_O@
+libcipher_a_LIBADD = @IDEA_O@ @SHA512_O@