## -*-Makefile-*-
##
-## $Id: Makefile.am,v 1.44 2003/12/14 14:56:57 mdw Exp $
+## $Id: Makefile.am,v 1.45 2003/12/15 20:53:08 mdw Exp $
##
## Building the distribution
##
##----- 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.
##
SUBDIRS = man
bin_SCRIPTS = mLib-config
-bin_PROGRAMS = crc-mktab
+bin_PROGRAMS = crc-mktab unihash-mkstatic
lib_LTLIBRARIES = libmLib.la
pkglibexecdir = $(libexecdir)/$(PACKAGE)
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 \
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 \
-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 ---