Implementation of the Digital Signature Algorithm.
[u/mdw/catacomb] / Makefile.m4
index 24966e6..c0f3f54 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.m4,v 1.7 1999/11/11 19:01:02 mdw Exp $
+## $Id: Makefile.m4,v 1.9 1999/11/17 18:05:35 mdw Exp $
 ##
 ## Makefile for Catacomb
 ##
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.m4,v $
-## Revision 1.7  1999/11/11 19:01:02  mdw
-## Use `libtool' to generate a shared library.
+## Revision 1.9  1999/11/17 18:05:35  mdw
+## Many new files and test cases for multiprecision arithmetic.
+##
+## Revision 1.9  1999/11/17 18:05:35  mdw
+## Many new files and test cases for multiprecision arithmetic.
+##
+## Revision 1.8  1999/11/13 01:56:07  mdw
+## Include multiprecision maths stuff.
 ##
 ## Revision 1.7  1999/11/11 19:01:02  mdw
 ## Use `libtool' to generate a shared library.
@@ -124,6 +130,7 @@ define(`emit', `$1.h ')
 pkginclude_HEADERS = \
        paranoia.h \
        blkc.h hash.h \
+       rc4.h \
        mpx.h mpw.h mpscan.h mparena.h mp.h mptext.h mpmont.h \
        ptab.h pgen.h rabin.h \
        dsa.h dh.h \
@@ -133,10 +140,17 @@ pkginclude_HEADERS = \
 define(`emit', `$1.c ')
 libcatacomb_la_SOURCES = \
        des-base.c des-base.h des_sp.h bf_ikey.h daftstory.h \
+       rc4.c \
+       rand.c noise.c \
+       key.c \
+       mpx.c mpscan.c mparena.c \
+       mpmont.c \
        ptab.c pgen.c rabin.c \
        dsa-sign.c dsa-verify.c dsa-gen.c \
        dh-prime.c \
        addsuffix(join(`ciphers', `-', `cipher_modes'), `.c') \
+       addsuffix(`ciphers', `.c') addsuffix(`hashes', `.c')
+
 des-base.lo: des_sp.h
 mpx.lo: mptypes.h
 
@@ -168,22 +182,27 @@ dist-hook:
        @mkdir $(distdir)/tests
        @ln $(srcdir)/tests/* $(distdir)/tests || true
        @rm -f $(distdir)/tests/*~
-TESTS = \
-       rc4.t \
-       addsuffix(join(`ciphers', `-', `cipher_modes'), `.t') \
-       addsuffix(join(`hashes', `-', `hash_modes'), `.t') \
-       addsuffix(`ciphers', `.t') addsuffix(`hashes', `.t')
+
 ## --- Testing ---
 
-`$1.t: $1.c libcatacomb.la
+define(`testprogs', `')
+
+define(`CTESTRIG',
 `define(`testprogs', testprogs \
        $1.t)dnl
 $1.t: $1.c libcatacomb.la
+CTESTRIG(mpx-test)
+adorn(`nl`'CTESTRIG(', join(`ciphers', `-', `cipher_modes'), `)')
+adorn(`nl`'CTESTRIG(', join(`hashes', `-', `hash_modes'), `)')
+CTESTRIG(mpx)
+CTESTRIG(mptext)
 
 adorn(`nl`'CTESTRIG(', `ciphers', `)')
 adorn(`nl`'CTESTRIG(', `hashes', `)')
 adorn(`nl`'CTESTRIG(', join(`ciphers', `-', `cipher_modes'), `)')
 adorn(`nl`'CTESTRIG(', join(`hashes', `-', `hash_modes'), `)')
+CTESTRIG(dsa-gen)
+CTESTRIG(dsa-sign)
 CTESTRIG(dsa-verify)
 CLEANFILES = *.t mptypes.h
 TESTS = testprogs