## -*-makefile-*-
##
-## $Id: Makefile.m4,v 1.3 1999/10/24 10:04:26 mdw Exp $
+## $Id: Makefile.m4,v 1.4 1999/10/24 10:20:36 mdw Exp $
##
## Makefile for Catacomb
##
##----- Revision history ----------------------------------------------------
##
## $Log: Makefile.m4,v $
-## Revision 1.3 1999/10/24 10:04:26 mdw
-## Install headers in the right directory.
+## Revision 1.4 1999/10/24 10:20:36 mdw
+## Modify for standalone distribution. The library's getting far too large
+## to be sensibly embedded in other programs.
+##
+## Minor reformatting.
##
+## Revision 1.4 1999/10/24 10:20:36 mdw
## Modify for standalone distribution. The library's getting far too large
## to be sensibly embedded in other programs.
##
getdate.c \
addsuffix(join(`ciphers', `-', `cipher_modes'), `.c') \
addsuffix(join(`ciphers', `-', `cipher_modes'), `.h') \
-INCLUDES = -I$(srcdir)/..
addsuffix(join(`hashes', `-', `hash_modes'), `.c') \
addsuffix(join(`hashes', `-', `hash_modes'), `.h')
lib_LIBRARIES = libcatacomb.a
dh-prime.c \
addsuffix(join(`ciphers', `-', `cipher_modes'), `.c') \
noinst_PROGRAMS = des-mktab
-LDADD = libcatacomb.a ../mLib/libmLib.a
+
## --- Utility programs ---
noinst_PROGRAMS = des-mktab mptypes
LDADD = libcatacomb.a
addsuffix(join(`hashes', `-', `hash_modes'), `.t') \
addsuffix(`ciphers', `.t') addsuffix(`hashes', `.t')
$(COMPILE) -DTEST_RIG -DSRCDIR=\"$(srcdir)\" \
- $(srcdir)/$1.c libcatacomb.a ../mLib/libmLib.a -o $1.t')
+ $(srcdir)/$1.c libcatacomb.a $(LIBS) -o $1.t')
`$1.t: $1.c libcatacomb.a
$(COMPILE) -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $(srcdir)/$1.c libcatacomb.a $(LIBS) -o $1.t')