X-Git-Url: https://git.distorted.org.uk/~mdw/mLib/blobdiff_plain/b012588c966395ea4098fab833c577c4f0851416..882a39c1c269818ed00b1b600180c1d22e8ee0d2:/hash/Makefile.am diff --git a/hash/Makefile.am b/hash/Makefile.am index f20c251..564be16 100644 --- a/hash/Makefile.am +++ b/hash/Makefile.am @@ -49,18 +49,13 @@ PRECOMPS += $(precomp)/crc32-tab.c if !CROSS_COMPILING $(precomp)/crc32-tab.c: @$(mkdir_p) $(precomp) - @$(MAKE) crc-mktab$e + @$(MAKE) crc-mktab$(EXEEXT) $(AM_V_GEN)./crc-mktab -o $@.new \ - -p0x04c11db7 -b32 -B8 -r -c \ + -p0x04c11db7 -b32 -B8 -r -cC \ -scrc32_table -icrc32.h -tuint32 && \ mv $@.new $@ endif -check_PROGRAMS += t/crc32.t -t_crc32_t_SOURCES = t/crc32-test.c -t_crc32_t_CPPFLAGS = $(TEST_CPPFLAGS) -t_crc32_t_LDFLAGS = -static - EXTRA_DIST += t/crc32.tests ## Universal hashing. @@ -80,16 +75,17 @@ PRECOMPS += $(precomp)/unihash-global.c if !CROSS_COMPILING $(precomp)/unihash-global.c: @$(mkdir_p) $(precomp) - @$(MAKE) unihash-mkstatic$e + @$(MAKE) unihash-mkstatic$(EXEEXT) $(AM_V_GEN)./unihash-mkstatic -c -sunihash_global -iunihash.h \ -o$@.new && mv $@.new $@ endif -check_PROGRAMS += t/unihash.t -t_unihash_t_SOURCES = t/unihash-test.c -t_unihash_t_CPPFLAGS = $(TEST_CPPFLAGS) -t_unihash_t_LDFLAGS = -static - EXTRA_DIST += t/unihash-testgen.py +## Test program. +check_PROGRAMS += t/hash.t +t_hash_t_SOURCES = t/hash-test.c +t_hash_t_CPPFLAGS = $(TEST_CPPFLAGS) +t_hash_t_LDFLAGS = -static + ###----- That's all, folks --------------------------------------------------