From 83d0c72cbb99424c9f1e4a44c1449380bda845ea Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Thu, 20 Sep 2012 22:13:50 +0200 Subject: add test/trie program The test/trie program allows to create better packed tries to reduce memory consumption of the hyphenation even further. Usage: trie > /lib/dillo/hyphenation/.pat.trie e.g: ./trie hyph-de-1996.pat > /usr/local/lib/dillo/hyphenation/de.pat.trie If the .pat.trie is found, dillo will use this precompressed trie instead of the .pat file. --- test/Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'test/Makefile.am') diff --git a/test/Makefile.am b/test/Makefile.am index 15ab227b..dbf2a25f 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -23,6 +23,7 @@ noinst_PROGRAMS = \ shapes \ cookies \ liang \ + trie \ notsosimplevector dw_anchors_test_SOURCES = dw_anchors_test.cc @@ -171,6 +172,15 @@ liang_LDADD = \ $(top_builddir)/lout/liblout.a \ @LIBFLTK_LIBS@ +trie_SOURCES = trie.cc + +trie_LDADD = \ + $(top_builddir)/dw/libDw-widgets.a \ + $(top_builddir)/dw/libDw-fltk.a \ + $(top_builddir)/dw/libDw-core.a \ + $(top_builddir)/lout/liblout.a \ + @LIBFLTK_LIBS@ + notsosimplevector_SOURCES = notsosimplevector.cc notsosimplevector_LDADD = $(top_builddir)/lout/liblout.a -- cgit v1.2.3