-pkginclude_HEADERS += alloc.h arena.h sub.h
-libmLib_la_SOURCES += alloc.c arena.c sub.c
-LIBMANS += alloc.3 arena.3 sub.3
-
-## Pool allocator.
-pkginclude_HEADERS += pool.h
-libmLib_la_SOURCES += pool.c pool-file.c pool-sub.c
-LIBMANS += pool.3
-
-###--------------------------------------------------------------------------
-### Hashing.
-
-## CRC32.
-pkginclude_HEADERS += crc32.h
-libmLib_la_SOURCES += crc32.c crc32-tab.c
-LIBMANS += crc32.3
-
-bin_PROGRAMS += crc-mktab
-crc_mktab_SOURCES = crc-mktab.c $(UTIL_SOURCES)
-crc_mktab_LDADD = libutils.la
-PROGMANS += crc-mktab.1
-
-BUILT_SOURCES += crc32-tab.c
-CLEANFILES += crc32-tab.c
-crc32-tab.c: crc-mktab$(EXEEXT)
- ./crc-mktab -o $@.new \
- -p0x04c11db7 -b32 -B8 -r -c \
- -scrc32_table -icrc32.h -tuint32 && \
- mv $@.new $@
-
-## Universal hashing.
-pkginclude_HEADERS += unihash.h
-libutils_la_SOURCES += unihash.c
-libmLib_la_SOURCES += unihash-global.c
-BUILT_SOURCES += unihash-global.c
-LIBMANS += unihash.3
-
-bin_PROGRAMS += unihash-mkstatic
-unihash_mkstatic_SOURCES = unihash-mkstatic.c
-unihash_mkstatic_LDADD = libutils.la
-PROGMANS += unihash-mkstatic.1
-
-BUILT_SOURCES += unihash-global.c
-CLEANFILES += unihash-global.c
-unihash-global.c: unihash-mkstatic$(EXEEXT)
- ./unihash-mkstatic -c -sunihash_global -iunihash.h -o$@.new && \
- mv $@.new $@
-
-check_PROGRAMS += unihash.t
-unihash_t_SOURCES = unihash.c
-unihash_t_CPPFLAGS = $(TEST_CPPFLAGS)
-unihash_t_LDFLAGS = -static
-
-tests:: unihash.t unihash.in
- ./unihash.t -f unihash.in
-
-EXTRA_DIST += unihash-check.pl
-CLEANFILES += unihash.in
-unihash.in: unihash-check.pl
- perl $(srcdir)/unihash-check.pl >$@.new && mv $@.new $@
-
-###--------------------------------------------------------------------------
-### Data structures.
-
-## Dynamic strings.
-pkginclude_HEADERS += dstr.h dspool.h
-libmLib_la_SOURCES += dstr.c dputf.c dspool.c
-LIBMANS += dstr.3 dspool.3
-
-## Buffers.
-pkginclude_HEADERS += buf.h
-libmLib_la_SOURCES += buf.c buf-dstr.c
-LIBMANS += buf.3
-
-## Dynamic arrays.
-pkginclude_HEADERS += darray.h
-libmLib_la_SOURCES += darray.c
-LIBMANS += darray.3
-
-CLEANFILES += da.out
-tests:: darray.t da.in da.ref
- ./darray.t <da.in >da.out
- cmp da.out da.ref
- @echo "darray OK"
-
-check_PROGRAMS += darray.t
-darray_t_SOURCES = da-test.c
-darray_t_CPPFLAGS = $(TEST_CPPFLAGS)
-darray_t_LDFLAGS = -static
-
-EXTRA_DIST += da-gtest
-CLEANFILES += da.in
-da.in: da-gtest
- perl $(srcdir)/da-gtest 10000 >$@.new && mv $@.new $@
-
-EXTRA_DIST += da-ref
-CLEANFILES += da.ref
-da.ref: da-ref da.in
- perl $(srcdir)/da-ref <da.in >$@.new && mv $@.new $@
-
-## Hash tables.
-pkginclude_HEADERS += hash.h
-libmLib_la_SOURCES += hash.c
-LIBMANS += hash.3
-
-## Symbol tables.
-pkginclude_HEADERS += sym.h
-libmLib_la_SOURCES += sym.c
-LIBMANS += sym.3
-
-CLEANFILES += sym.out
-tests:: sym.t sym.in sym.ref
- ./sym.t <sym.in >sym.out
- cmp sym.out sym.ref
- @echo "sym OK"
-
-check_PROGRAMS += sym.t
-sym_t_SOURCES = sym-test.c
-sym_t_CPPFLAGS = $(TEST_CPPFLAGS)
-sym_t_LDFLAGS = -static
-
-EXTRA_DIST += sym-gtest
-CLEANFILES += sym.in
-sym.in: sym-gtest
- perl $(srcdir)/sym-gtest 10000 >$@.new && mv $@.new $@
-
-EXTRA_DIST += sym-ref
-CLEANFILES += sym.ref
-sym.ref: sym-ref sym.in
- perl $(srcdir)/sym-ref <sym.in >$@.new && mv $@.new $@
-
-## Atoms.
-pkginclude_HEADERS += atom.h
-libmLib_la_SOURCES += atom.c
-LIBMANS += atom.3
-
-## Association tables.
-pkginclude_HEADERS += assoc.h
-libmLib_la_SOURCES += assoc.c
-LIBMANS += assoc.3
-
-CLEANFILES += assoc.out
-tests:: assoc.t sym.in sym.ref
- ./assoc.t <sym.in >assoc.out
- cmp assoc.out sym.ref
- @echo "sym OK"
-
-check_PROGRAMS += assoc.t
-assoc_t_SOURCES = assoc-test.c
-assoc_t_CPPFLAGS = $(TEST_CPPFLAGS)
-assoc_t_LDFLAGS = -static