## -*-makefile-*-
##
-## $Id: Makefile.m4,v 1.18 1999/12/10 23:30:01 mdw Exp $
+## $Id: Makefile.m4,v 1.21 1999/12/13 15:47:58 mdw Exp $
##
## Makefile for Catacomb
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.m4,v $
+## Revision 1.21 1999/12/13 15:47:58 mdw
+## Fix a couple of minor bugs in the distribution set.
+##
+## 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.
##
lib_LTLIBRARIES = libcatacomb.la
-libcatacomb_la_LDFLAGS = -version-info 0:5:0
+libcatacomb_la_LDFLAGS = -version-info 1:0:0
## Middle number is the patchlevel. Final number is the minor version. The
## difference between the first and last numbers is major version.
pkginclude_HEADERS = \
paranoia.h \
blkc.h hash.h \
- gcipher.h ghash.h gmac.h grand.c \
+ gcipher.h ghash.h gmac.h grand.h \
ghash-def.h \
rc4.h \
rand.h noise.h \
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 \
## --- Other handy definitions ---
-EXTRA_DIST = Makefile.m4 genmodes $(man_MANS)
+EXTRA_DIST = \
+ Makefile.m4 genmodes $(man_MANS) \
+ README.cipher README.hash README.random README.mp
dist-hook:
@ln getdate.c $(distdir) || ln $(srcdir)/getdate.c $(distdir) || true
$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', `)')
CTESTRIG(lcrand)
CTESTRIG(mpx)
CTESTRIG(mpx-kmul)
+CTESTRIG(mpx-ksqr)
CTESTRIG(mp-arith)
CTESTRIG(mp-gcd)
CTESTRIG(mp-jacobi)