X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/573eadb534c42c4feace5e493cc135dd5e7b00d9..6f444bda1b7deb31cf7fb2395cb0993c3e3b8c42:/Makefile.am diff --git a/Makefile.am b/Makefile.am index 372acd8..32ef349 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ## -*-Makefile-*- ## -## $Id: Makefile.am,v 1.43 2003/12/14 14:45:30 mdw Exp $ +## $Id: Makefile.am,v 1.45 2003/12/15 20:53:08 mdw Exp $ ## ## Building the distribution ## @@ -29,6 +29,12 @@ ##----- Revision history ---------------------------------------------------- ## ## $Log: Makefile.am,v $ +## Revision 1.45 2003/12/15 20:53:08 mdw +## New program to make fixed tables for universal hashing. +## +## Revision 1.44 2003/12/14 14:56:57 mdw +## Fix distribution. +## ## Revision 1.43 2003/12/14 14:45:30 mdw ## Test universal hashing and fix bugs. ## @@ -147,7 +153,7 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS = man bin_SCRIPTS = mLib-config -bin_PROGRAMS = crc-mktab +bin_PROGRAMS = crc-mktab unihash-mkstatic lib_LTLIBRARIES = libmLib.la pkglibexecdir = $(libexecdir)/$(PACKAGE) @@ -172,10 +178,11 @@ libmLib_la_LDFLAGS = -version-info 2:3:0 libmLib_la_SOURCES = \ alloc.c arena.c exc.c quis.c pquis.c report.c sub.c trace.c \ - traceopt.c track.c unihash.c \ + traceopt.c track.c \ pool.c pool-file.c pool-sub.c \ atom.c assoc.c darray.c dstr.c dputf.c dspool.c hash.c sym.c \ crc32.c crc32-tab.c \ + unihash.c unihash-global.c \ env.c fdflags.c fdpass.c fwatch.c lock.c \ @BRES_SOURCE@.c \ conn.c lbuf.c ident.c pkbuf.c sel.c selbuf.c selpk.c sig.c \ @@ -184,7 +191,7 @@ libmLib_la_SOURCES = \ EXTRA_libmLib_la_SOURCES = bres.c bres-adns.c libmLib_la_LIBADD = @DEPLIBS@ -BUILT_SOURCES = crc32-tab.c +BUILT_SOURCES = crc32-tab.c unihash-global.c crc32-tab.c: crc-mktab ./crc-mktab \ @@ -192,11 +199,21 @@ crc32-tab.c: crc-mktab -c -scrc32_table -icrc32.h -tuint32 -ocrc32-tab.c.new mv crc32-tab.c.new crc32-tab.c -crc_mktab_SOURCES = crc-mktab.c mdwopt.c quis.c pquis.c report.c str.c +unihash-global.c: unihash-mkstatic + ./unihash-mkstatic \ + -c -sunihash_global -iunihash.h -ounihash-global.c.new + mv unihash-global.c.new unihash-global.c + +crc_mktab_SOURCES = \ + crc-mktab.c \ + mdwopt.c quis.c pquis.c report.c str.c +unihash_mkstatic_SOURCES = \ + unihash-mkstatic.c \ + mdwopt.c quis.c pquis.c report.c str.c unihash.c ## --- Test code --- -noinst_PROGRAMS = da.t sym.t assoc.t bits.t unihash.t +noinst_PROGRAMS = da.t sym.t assoc.t bits.t check: \ da.test sym.test assoc.test bits.test base64.test hex.test \