More changes. Still embryonic.
[u/mdw/catacomb] / Makefile.m4
index 3ad34ec..dca555f 100644 (file)
@@ -1,6 +1,6 @@
 ## -*-makefile-*-
 ##
-## $Id: Makefile.m4,v 1.18 1999/12/10 23:30:01 mdw Exp $
+## $Id: Makefile.m4,v 1.19 1999/12/11 10:58:24 mdw Exp $
 ##
 ## Makefile for Catacomb
 ##
@@ -29,6 +29,9 @@
 ##----- Revision history ----------------------------------------------------
 ##
 ## $Log: Makefile.m4,v $
+## Revision 1.19  1999/12/11 10:58:24  mdw
+## Fix bug in test rig link flags.  Add Karatsuba squaring.
+##
 ## Revision 1.18  1999/12/10 23:30:01  mdw
 ## Lots of new files.
 ##
@@ -178,7 +181,7 @@ libcatacomb_la_SOURCES = \
        rand.c noise.c \
        key.c \
        lcrand.c fibrand.c \
-       mpx.c mpx-kmul.c mpscan.c mparena.c \
+       mpx.c mpx-kmul.c mpx-ksqr.c mpscan.c mparena.c \
        mp-misc.c mp-mem.c mp-const.c mp-io.c mp-arith.c mp-test.c \
        mp-gcd.c mp-jacobi.c \
        mpint.c \
@@ -241,7 +244,7 @@ define(`CTESTRIG',
 $1.to: $1.c
        $(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $(srcdir)/$1.c -o $1.to
 $1.t: $1.to $1.o libcatacomb.la
-       $(CC) $(LDFLAGS) $1.to .libs/libcatacomb.a $(LIBS) -o $1.t')
+       $(CC) $(CFLAGS) $(LDFLAGS) $1.to .libs/libcatacomb.a $(LIBS) -o $1.t')
 
 CTESTRIG(rc4)
 adorn(`nl`'CTESTRIG(', `ciphers', `)')
@@ -251,6 +254,7 @@ adorn(`nl`'CTESTRIG(', join(`hashes', `-', `hash_modes'), `)')
 CTESTRIG(lcrand)
 CTESTRIG(mpx)
 CTESTRIG(mpx-kmul)
+CTESTRIG(mpx-ksqr)
 CTESTRIG(mp-arith)
 CTESTRIG(mp-gcd)
 CTESTRIG(mp-jacobi)