@@@ all the mess ever
[mLib] / hash / Makefile.am
index c6c7bb6..564be16 100644 (file)
@@ -51,16 +51,11 @@ $(precomp)/crc32-tab.c:
        @$(mkdir_p) $(precomp)
        @$(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.
@@ -85,11 +80,12 @@ $(precomp)/unihash-global.c:
                -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 --------------------------------------------------