X-Git-Url: https://git.distorted.org.uk/u/mdw/catacomb/blobdiff_plain/d03ab969116fe715d569304c1c474749b2f64529..8149619dd23abcc5f3176b3bad2cfa4aec37dbd4:/Makefile.m4 diff --git a/Makefile.m4 b/Makefile.m4 index 06e1b7d..ab2225c 100644 --- a/Makefile.m4 +++ b/Makefile.m4 @@ -1,6 +1,6 @@ ## -*-makefile-*- ## -## $Id: Makefile.m4,v 1.1 1999/09/03 08:41:11 mdw Exp $ +## $Id: Makefile.m4,v 1.5 1999/11/11 00:59:17 mdw Exp $ ## ## Makefile for Catacomb ## @@ -29,9 +29,23 @@ ##----- Revision history ---------------------------------------------------- ## ## $Log: Makefile.m4,v $ -## Revision 1.1 1999/09/03 08:41:11 mdw -## Initial import. +## Revision 1.5 1999/11/11 00:59:17 mdw +## Minor reformatting. ## +## Revision 1.6 1999/11/11 17:47:34 mdw +## Updates for new configuration system, and `mptypes' generator. +## +## Revision 1.5 1999/11/11 00:59:17 mdw +## 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. +## +## Revision 1.3 1999/10/24 10:04:26 mdw +## Install headers in the right directory. +## +## Revision 1.2 1999/10/23 12:55:35 mdw ## The `CVS' directory can't be hardlinked. Don't worry about this ## overmuch. ## @@ -85,10 +99,9 @@ BUILT_SOURCES = \ 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') -include_HEADERS = \ +lib_LIBRARIES = libcatacomb.a libcatacomb_la_LDFLAGS = -version-info 0:4:0 ## Middle number is the patchlevel. Final number is the minor version. The ## difference between the first and last numbers is major version. @@ -111,7 +124,7 @@ libcatacomb_la_SOURCES = \ 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 @@ -129,7 +142,7 @@ mptypes_LDADD = man_MANS = key.1 keyring.5 ## --- Other handy definitions --- - @ln $(srcdir)/tests/* $(distdir)/tests + EXTRA_DIST = Makefile.m4 genmodes $(man_MANS) dist-hook: @@ -142,8 +155,9 @@ TESTS = \ addsuffix(join(`ciphers', `-', `cipher_modes'), `.t') \ 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') + $(COMPILE) \ + -DTEST_RIG -DSRCDIR=\"$(srcdir)\" \ + $(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')