melisa 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +53 -4
  3. data/ext/extconf.rb +33 -0
  4. data/ext/marisa-0.2.4/AUTHORS +1 -0
  5. data/ext/marisa-0.2.4/COPYING +32 -0
  6. data/ext/marisa-0.2.4/ChangeLog +0 -0
  7. data/ext/marisa-0.2.4/INSTALL +237 -0
  8. data/ext/marisa-0.2.4/Makefile.am +24 -0
  9. data/ext/marisa-0.2.4/Makefile.in +803 -0
  10. data/ext/marisa-0.2.4/NEWS +0 -0
  11. data/ext/marisa-0.2.4/README +63 -0
  12. data/ext/marisa-0.2.4/aclocal.m4 +976 -0
  13. data/ext/marisa-0.2.4/bindings/Makefile +16 -0
  14. data/ext/{marisa → marisa-0.2.4}/bindings/marisa-swig.cxx +0 -0
  15. data/ext/{marisa → marisa-0.2.4}/bindings/marisa-swig.h +0 -0
  16. data/ext/marisa-0.2.4/bindings/marisa-swig.i +28 -0
  17. data/ext/marisa-0.2.4/bindings/perl/Makefile.PL +7 -0
  18. data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig.cxx +0 -0
  19. data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig.h +0 -0
  20. data/ext/{marisa → marisa-0.2.4}/bindings/perl/marisa-swig_wrap.cxx +0 -0
  21. data/ext/marisa-0.2.4/bindings/perl/marisa.pm +297 -0
  22. data/ext/marisa-0.2.4/bindings/perl/sample.dic +0 -0
  23. data/ext/marisa-0.2.4/bindings/perl/sample.pl +62 -0
  24. data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig.cxx +0 -0
  25. data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig.h +0 -0
  26. data/ext/{marisa → marisa-0.2.4}/bindings/python/marisa-swig_wrap.cxx +0 -0
  27. data/ext/marisa-0.2.4/bindings/python/marisa.py +206 -0
  28. data/ext/marisa-0.2.4/bindings/python/sample.dic +0 -0
  29. data/ext/marisa-0.2.4/bindings/python/sample.py +57 -0
  30. data/ext/marisa-0.2.4/bindings/python/setup.py +9 -0
  31. data/ext/marisa-0.2.4/config.guess +1530 -0
  32. data/ext/marisa-0.2.4/config.sub +1773 -0
  33. data/ext/marisa-0.2.4/configure +17636 -0
  34. data/ext/marisa-0.2.4/configure.ac +172 -0
  35. data/ext/marisa-0.2.4/depcomp +688 -0
  36. data/ext/marisa-0.2.4/docs/readme.en.html +740 -0
  37. data/ext/marisa-0.2.4/docs/readme.ja.html +750 -0
  38. data/ext/marisa-0.2.4/docs/style.css +245 -0
  39. data/ext/marisa-0.2.4/install-sh +520 -0
  40. data/ext/marisa-0.2.4/lib/Makefile.am +57 -0
  41. data/ext/marisa-0.2.4/lib/Makefile.in +701 -0
  42. data/ext/{marisa → marisa-0.2.4}/lib/marisa.h +0 -0
  43. data/ext/{marisa → marisa-0.2.4}/lib/marisa/agent.cc +2 -2
  44. data/ext/{marisa → marisa-0.2.4}/lib/marisa/agent.h +2 -2
  45. data/ext/{marisa → marisa-0.2.4}/lib/marisa/base.h +3 -3
  46. data/ext/{marisa → marisa-0.2.4}/lib/marisa/exception.h +1 -1
  47. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/algorithm.h +1 -1
  48. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/algorithm/sort.h +1 -1
  49. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/intrin.h +1 -1
  50. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io.h +3 -3
  51. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/mapper.cc +1 -1
  52. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/mapper.h +1 -1
  53. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/reader.cc +1 -1
  54. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/reader.h +1 -1
  55. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/writer.cc +1 -1
  56. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/io/writer.h +1 -1
  57. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie.h +2 -2
  58. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/cache.h +1 -1
  59. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/config.h +1 -1
  60. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/entry.h +1 -1
  61. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/header.h +1 -1
  62. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/history.h +1 -1
  63. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/key.h +1 -1
  64. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/louds-trie.cc +5 -5
  65. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/louds-trie.h +7 -7
  66. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/range.h +1 -1
  67. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/state.h +2 -2
  68. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/tail.cc +3 -3
  69. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/trie/tail.h +3 -3
  70. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector.h +3 -3
  71. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/bit-vector.cc +2 -2
  72. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/bit-vector.h +2 -2
  73. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/flat-vector.h +1 -1
  74. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/pop-count.h +1 -1
  75. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/rank-index.h +1 -1
  76. data/ext/{marisa → marisa-0.2.4}/lib/marisa/grimoire/vector/vector.h +1 -1
  77. data/ext/{marisa → marisa-0.2.4}/lib/marisa/iostream.h +0 -0
  78. data/ext/{marisa → marisa-0.2.4}/lib/marisa/key.h +1 -1
  79. data/ext/{marisa → marisa-0.2.4}/lib/marisa/keyset.cc +1 -1
  80. data/ext/{marisa → marisa-0.2.4}/lib/marisa/keyset.h +1 -1
  81. data/ext/{marisa → marisa-0.2.4}/lib/marisa/query.h +1 -1
  82. data/ext/{marisa → marisa-0.2.4}/lib/marisa/scoped-array.h +1 -1
  83. data/ext/{marisa → marisa-0.2.4}/lib/marisa/scoped-ptr.h +1 -1
  84. data/ext/{marisa → marisa-0.2.4}/lib/marisa/stdio.h +0 -0
  85. data/ext/{marisa → marisa-0.2.4}/lib/marisa/trie.cc +4 -4
  86. data/ext/{marisa → marisa-0.2.4}/lib/marisa/trie.h +2 -2
  87. data/ext/marisa-0.2.4/ltmain.sh +9661 -0
  88. data/ext/marisa-0.2.4/m4/libtool.m4 +8001 -0
  89. data/ext/marisa-0.2.4/m4/ltoptions.m4 +384 -0
  90. data/ext/marisa-0.2.4/m4/ltsugar.m4 +123 -0
  91. data/ext/marisa-0.2.4/m4/ltversion.m4 +23 -0
  92. data/ext/marisa-0.2.4/m4/lt~obsolete.m4 +98 -0
  93. data/ext/marisa-0.2.4/marisa.pc.in +11 -0
  94. data/ext/marisa-0.2.4/missing +331 -0
  95. data/ext/marisa-0.2.4/mkmf.log +288 -0
  96. data/ext/marisa-0.2.4/pkg/bin/marisa-benchmark +0 -0
  97. data/ext/marisa-0.2.4/pkg/bin/marisa-build +0 -0
  98. data/ext/marisa-0.2.4/pkg/bin/marisa-common-prefix-search +0 -0
  99. data/ext/marisa-0.2.4/pkg/bin/marisa-dump +0 -0
  100. data/ext/marisa-0.2.4/pkg/bin/marisa-lookup +0 -0
  101. data/ext/marisa-0.2.4/pkg/bin/marisa-predictive-search +0 -0
  102. data/ext/marisa-0.2.4/pkg/bin/marisa-reverse-lookup +0 -0
  103. data/ext/marisa-0.2.4/pkg/include/marisa.h +14 -0
  104. data/ext/marisa-0.2.4/pkg/include/marisa/agent.h +73 -0
  105. data/ext/marisa-0.2.4/pkg/include/marisa/base.h +193 -0
  106. data/ext/marisa-0.2.4/pkg/include/marisa/exception.h +82 -0
  107. data/ext/marisa-0.2.4/pkg/include/marisa/iostream.h +18 -0
  108. data/ext/marisa-0.2.4/pkg/include/marisa/key.h +85 -0
  109. data/ext/marisa-0.2.4/pkg/include/marisa/keyset.h +80 -0
  110. data/ext/marisa-0.2.4/pkg/include/marisa/query.h +71 -0
  111. data/ext/marisa-0.2.4/pkg/include/marisa/scoped-array.h +48 -0
  112. data/ext/marisa-0.2.4/pkg/include/marisa/scoped-ptr.h +52 -0
  113. data/ext/marisa-0.2.4/pkg/include/marisa/stdio.h +15 -0
  114. data/ext/marisa-0.2.4/pkg/include/marisa/trie.h +64 -0
  115. data/ext/marisa-0.2.4/pkg/lib/libmarisa.0.dylib +0 -0
  116. data/ext/marisa-0.2.4/pkg/lib/libmarisa.a +0 -0
  117. data/ext/marisa-0.2.4/pkg/lib/libmarisa.dylib +0 -0
  118. data/ext/marisa-0.2.4/pkg/lib/libmarisa.la +41 -0
  119. data/ext/marisa-0.2.4/pkg/lib/pkgconfig/marisa.pc +11 -0
  120. data/ext/marisa-0.2.4/tests/Makefile.am +27 -0
  121. data/ext/marisa-0.2.4/tests/Makefile.in +624 -0
  122. data/ext/{marisa → marisa-0.2.4}/tests/base-test.cc +0 -0
  123. data/ext/{marisa → marisa-0.2.4}/tests/io-test.cc +0 -0
  124. data/ext/{marisa → marisa-0.2.4}/tests/marisa-assert.h +0 -0
  125. data/ext/{marisa → marisa-0.2.4}/tests/marisa-test.cc +0 -0
  126. data/ext/{marisa → marisa-0.2.4}/tests/trie-test.cc +0 -0
  127. data/ext/{marisa → marisa-0.2.4}/tests/vector-test.cc +0 -0
  128. data/ext/marisa-0.2.4/tools/Makefile.am +39 -0
  129. data/ext/marisa-0.2.4/tools/Makefile.in +616 -0
  130. data/ext/{marisa → marisa-0.2.4}/tools/cmdopt.cc +0 -0
  131. data/ext/{marisa → marisa-0.2.4}/tools/cmdopt.h +0 -0
  132. data/ext/{marisa → marisa-0.2.4}/tools/marisa-benchmark.cc +0 -0
  133. data/ext/{marisa → marisa-0.2.4}/tools/marisa-build.cc +0 -0
  134. data/ext/{marisa → marisa-0.2.4}/tools/marisa-common-prefix-search.cc +0 -0
  135. data/ext/{marisa → marisa-0.2.4}/tools/marisa-dump.cc +0 -0
  136. data/ext/{marisa → marisa-0.2.4}/tools/marisa-lookup.cc +0 -0
  137. data/ext/{marisa → marisa-0.2.4}/tools/marisa-predictive-search.cc +0 -0
  138. data/ext/{marisa → marisa-0.2.4}/tools/marisa-reverse-lookup.cc +0 -0
  139. data/ext/marisa-0.2.4/vs2008/base-test/base-test.vcproj +200 -0
  140. data/ext/marisa-0.2.4/vs2008/io-test/io-test.vcproj +199 -0
  141. data/ext/marisa-0.2.4/vs2008/libmarisa/libmarisa.vcproj +347 -0
  142. data/ext/marisa-0.2.4/vs2008/marisa-benchmark/marisa-benchmark.vcproj +203 -0
  143. data/ext/marisa-0.2.4/vs2008/marisa-build/marisa-build.vcproj +203 -0
  144. data/ext/marisa-0.2.4/vs2008/marisa-common-prefix-search/marisa-common-prefix-search.vcproj +203 -0
  145. data/ext/marisa-0.2.4/vs2008/marisa-dump/marisa-dump.vcproj +203 -0
  146. data/ext/marisa-0.2.4/vs2008/marisa-lookup/marisa-lookup.vcproj +203 -0
  147. data/ext/marisa-0.2.4/vs2008/marisa-predictive-search/marisa-predictive-search.vcproj +203 -0
  148. data/ext/marisa-0.2.4/vs2008/marisa-reverse-lookup/marisa-reverse-lookup.vcproj +203 -0
  149. data/ext/marisa-0.2.4/vs2008/marisa-test/marisa-test.vcproj +199 -0
  150. data/ext/marisa-0.2.4/vs2008/trie-test/trie-test.vcproj +199 -0
  151. data/ext/marisa-0.2.4/vs2008/vector-test/vector-test.vcproj +199 -0
  152. data/ext/marisa-0.2.4/vs2008/vs2008.sln +123 -0
  153. data/ext/marisa-0.2.4/vs2008/vs2008.suo +0 -0
  154. data/ext/{marisa/bindings/ruby/marisa-swig.cxx → marisa-swig.cxx} +0 -0
  155. data/ext/{marisa/bindings/ruby/marisa-swig.h → marisa-swig.h} +0 -0
  156. data/ext/{marisa/bindings/ruby/marisa-swig_wrap.cxx → marisa-swig_wrap.cxx} +0 -0
  157. data/lib/melisa/bytes_trie.rb +5 -0
  158. data/lib/melisa/trie.rb +2 -0
  159. data/lib/melisa/version.rb +1 -1
  160. data/melisa.gemspec +7 -9
  161. data/spec/bytes_trie_spec.rb +6 -1
  162. data/spec/int_trie_spec.rb +5 -0
  163. data/spec/search_spec.rb +6 -7
  164. data/spec/trie_spec.rb +4 -4
  165. metadata +178 -121
  166. data/ext/marisa/bindings/ruby/extconf.rb +0 -5
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1,39 @@
1
+ AM_CFLAGS = -Wall -Wextra
2
+ AM_CXXFLAGS = -Wall -Weffc++ -Wextra -I${top_srcdir}/lib
3
+ #AM_CXXFLAGS = -Wall -Weffc++ -Wextra -D_DEBUG -I${top_srcdir}/lib
4
+
5
+ noinst_LTLIBRARIES = libcmdopt.la
6
+
7
+ libcmdopt_la_SOURCES = cmdopt.cc
8
+
9
+ noinst_HEADERS = cmdopt.h
10
+
11
+ bin_PROGRAMS = \
12
+ marisa-build \
13
+ marisa-lookup \
14
+ marisa-reverse-lookup \
15
+ marisa-common-prefix-search \
16
+ marisa-predictive-search \
17
+ marisa-dump \
18
+ marisa-benchmark
19
+
20
+ marisa_build_SOURCES = marisa-build.cc
21
+ marisa_build_LDADD = ../lib/libmarisa.la libcmdopt.la
22
+
23
+ marisa_lookup_SOURCES = marisa-lookup.cc
24
+ marisa_lookup_LDADD = ../lib/libmarisa.la libcmdopt.la
25
+
26
+ marisa_reverse_lookup_SOURCES = marisa-reverse-lookup.cc
27
+ marisa_reverse_lookup_LDADD = ../lib/libmarisa.la libcmdopt.la
28
+
29
+ marisa_common_prefix_search_SOURCES = marisa-common-prefix-search.cc
30
+ marisa_common_prefix_search_LDADD = ../lib/libmarisa.la libcmdopt.la
31
+
32
+ marisa_predictive_search_SOURCES = marisa-predictive-search.cc
33
+ marisa_predictive_search_LDADD = ../lib/libmarisa.la libcmdopt.la
34
+
35
+ marisa_dump_SOURCES = marisa-dump.cc
36
+ marisa_dump_LDADD = ../lib/libmarisa.la libcmdopt.la
37
+
38
+ marisa_benchmark_SOURCES = marisa-benchmark.cc
39
+ marisa_benchmark_LDADD = ../lib/libmarisa.la libcmdopt.la
@@ -0,0 +1,616 @@
1
+ # Makefile.in generated by automake 1.11.3 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software
6
+ # Foundation, Inc.
7
+ # This Makefile.in is free software; the Free Software Foundation
8
+ # gives unlimited permission to copy and/or distribute it,
9
+ # with or without modifications, as long as this notice is preserved.
10
+
11
+ # This program is distributed in the hope that it will be useful,
12
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14
+ # PARTICULAR PURPOSE.
15
+
16
+ @SET_MAKE@
17
+
18
+
19
+
20
+ VPATH = @srcdir@
21
+ pkgdatadir = $(datadir)/@PACKAGE@
22
+ pkgincludedir = $(includedir)/@PACKAGE@
23
+ pkglibdir = $(libdir)/@PACKAGE@
24
+ pkglibexecdir = $(libexecdir)/@PACKAGE@
25
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
26
+ install_sh_DATA = $(install_sh) -c -m 644
27
+ install_sh_PROGRAM = $(install_sh) -c
28
+ install_sh_SCRIPT = $(install_sh) -c
29
+ INSTALL_HEADER = $(INSTALL_DATA)
30
+ transform = $(program_transform_name)
31
+ NORMAL_INSTALL = :
32
+ PRE_INSTALL = :
33
+ POST_INSTALL = :
34
+ NORMAL_UNINSTALL = :
35
+ PRE_UNINSTALL = :
36
+ POST_UNINSTALL = :
37
+ build_triplet = @build@
38
+ host_triplet = @host@
39
+ bin_PROGRAMS = marisa-build$(EXEEXT) marisa-lookup$(EXEEXT) \
40
+ marisa-reverse-lookup$(EXEEXT) \
41
+ marisa-common-prefix-search$(EXEEXT) \
42
+ marisa-predictive-search$(EXEEXT) marisa-dump$(EXEEXT) \
43
+ marisa-benchmark$(EXEEXT)
44
+ subdir = tools
45
+ DIST_COMMON = $(noinst_HEADERS) $(srcdir)/Makefile.am \
46
+ $(srcdir)/Makefile.in
47
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
48
+ am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
49
+ $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
50
+ $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
51
+ $(top_srcdir)/configure.ac
52
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
53
+ $(ACLOCAL_M4)
54
+ mkinstalldirs = $(install_sh) -d
55
+ CONFIG_CLEAN_FILES =
56
+ CONFIG_CLEAN_VPATH_FILES =
57
+ LTLIBRARIES = $(noinst_LTLIBRARIES)
58
+ libcmdopt_la_LIBADD =
59
+ am_libcmdopt_la_OBJECTS = cmdopt.lo
60
+ libcmdopt_la_OBJECTS = $(am_libcmdopt_la_OBJECTS)
61
+ am__installdirs = "$(DESTDIR)$(bindir)"
62
+ PROGRAMS = $(bin_PROGRAMS)
63
+ am_marisa_benchmark_OBJECTS = marisa-benchmark.$(OBJEXT)
64
+ marisa_benchmark_OBJECTS = $(am_marisa_benchmark_OBJECTS)
65
+ marisa_benchmark_DEPENDENCIES = ../lib/libmarisa.la libcmdopt.la
66
+ am_marisa_build_OBJECTS = marisa-build.$(OBJEXT)
67
+ marisa_build_OBJECTS = $(am_marisa_build_OBJECTS)
68
+ marisa_build_DEPENDENCIES = ../lib/libmarisa.la libcmdopt.la
69
+ am_marisa_common_prefix_search_OBJECTS = \
70
+ marisa-common-prefix-search.$(OBJEXT)
71
+ marisa_common_prefix_search_OBJECTS = \
72
+ $(am_marisa_common_prefix_search_OBJECTS)
73
+ marisa_common_prefix_search_DEPENDENCIES = ../lib/libmarisa.la \
74
+ libcmdopt.la
75
+ am_marisa_dump_OBJECTS = marisa-dump.$(OBJEXT)
76
+ marisa_dump_OBJECTS = $(am_marisa_dump_OBJECTS)
77
+ marisa_dump_DEPENDENCIES = ../lib/libmarisa.la libcmdopt.la
78
+ am_marisa_lookup_OBJECTS = marisa-lookup.$(OBJEXT)
79
+ marisa_lookup_OBJECTS = $(am_marisa_lookup_OBJECTS)
80
+ marisa_lookup_DEPENDENCIES = ../lib/libmarisa.la libcmdopt.la
81
+ am_marisa_predictive_search_OBJECTS = \
82
+ marisa-predictive-search.$(OBJEXT)
83
+ marisa_predictive_search_OBJECTS = \
84
+ $(am_marisa_predictive_search_OBJECTS)
85
+ marisa_predictive_search_DEPENDENCIES = ../lib/libmarisa.la \
86
+ libcmdopt.la
87
+ am_marisa_reverse_lookup_OBJECTS = marisa-reverse-lookup.$(OBJEXT)
88
+ marisa_reverse_lookup_OBJECTS = $(am_marisa_reverse_lookup_OBJECTS)
89
+ marisa_reverse_lookup_DEPENDENCIES = ../lib/libmarisa.la libcmdopt.la
90
+ DEFAULT_INCLUDES = -I.@am__isrc@
91
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
92
+ am__depfiles_maybe = depfiles
93
+ am__mv = mv -f
94
+ CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
95
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
96
+ LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
97
+ --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
98
+ $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
99
+ CXXLD = $(CXX)
100
+ CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
101
+ --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
102
+ $(LDFLAGS) -o $@
103
+ SOURCES = $(libcmdopt_la_SOURCES) $(marisa_benchmark_SOURCES) \
104
+ $(marisa_build_SOURCES) $(marisa_common_prefix_search_SOURCES) \
105
+ $(marisa_dump_SOURCES) $(marisa_lookup_SOURCES) \
106
+ $(marisa_predictive_search_SOURCES) \
107
+ $(marisa_reverse_lookup_SOURCES)
108
+ DIST_SOURCES = $(libcmdopt_la_SOURCES) $(marisa_benchmark_SOURCES) \
109
+ $(marisa_build_SOURCES) $(marisa_common_prefix_search_SOURCES) \
110
+ $(marisa_dump_SOURCES) $(marisa_lookup_SOURCES) \
111
+ $(marisa_predictive_search_SOURCES) \
112
+ $(marisa_reverse_lookup_SOURCES)
113
+ HEADERS = $(noinst_HEADERS)
114
+ ETAGS = etags
115
+ CTAGS = ctags
116
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
117
+ ACLOCAL = @ACLOCAL@
118
+ AMTAR = @AMTAR@
119
+ AR = @AR@
120
+ AUTOCONF = @AUTOCONF@
121
+ AUTOHEADER = @AUTOHEADER@
122
+ AUTOMAKE = @AUTOMAKE@
123
+ AWK = @AWK@
124
+ CC = @CC@
125
+ CCDEPMODE = @CCDEPMODE@
126
+ CFLAGS = @CFLAGS@
127
+ CPP = @CPP@
128
+ CPPFLAGS = @CPPFLAGS@
129
+ CXX = @CXX@
130
+ CXXCPP = @CXXCPP@
131
+ CXXDEPMODE = @CXXDEPMODE@
132
+ CXXFLAGS = @CXXFLAGS@
133
+ CYGPATH_W = @CYGPATH_W@
134
+ DEFS = @DEFS@
135
+ DEPDIR = @DEPDIR@
136
+ DLLTOOL = @DLLTOOL@
137
+ DSYMUTIL = @DSYMUTIL@
138
+ DUMPBIN = @DUMPBIN@
139
+ ECHO_C = @ECHO_C@
140
+ ECHO_N = @ECHO_N@
141
+ ECHO_T = @ECHO_T@
142
+ EGREP = @EGREP@
143
+ EXEEXT = @EXEEXT@
144
+ FGREP = @FGREP@
145
+ GREP = @GREP@
146
+ INSTALL = @INSTALL@
147
+ INSTALL_DATA = @INSTALL_DATA@
148
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
149
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
150
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
151
+ LD = @LD@
152
+ LDFLAGS = @LDFLAGS@
153
+ LIBOBJS = @LIBOBJS@
154
+ LIBS = @LIBS@
155
+ LIBTOOL = @LIBTOOL@
156
+ LIPO = @LIPO@
157
+ LN_S = @LN_S@
158
+ LTLIBOBJS = @LTLIBOBJS@
159
+ MAKEINFO = @MAKEINFO@
160
+ MANIFEST_TOOL = @MANIFEST_TOOL@
161
+ MKDIR_P = @MKDIR_P@
162
+ NM = @NM@
163
+ NMEDIT = @NMEDIT@
164
+ OBJDUMP = @OBJDUMP@
165
+ OBJEXT = @OBJEXT@
166
+ OTOOL = @OTOOL@
167
+ OTOOL64 = @OTOOL64@
168
+ PACKAGE = @PACKAGE@
169
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
170
+ PACKAGE_NAME = @PACKAGE_NAME@
171
+ PACKAGE_STRING = @PACKAGE_STRING@
172
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
173
+ PACKAGE_URL = @PACKAGE_URL@
174
+ PACKAGE_VERSION = @PACKAGE_VERSION@
175
+ PATH_SEPARATOR = @PATH_SEPARATOR@
176
+ RANLIB = @RANLIB@
177
+ SED = @SED@
178
+ SET_MAKE = @SET_MAKE@
179
+ SHELL = @SHELL@
180
+ STRIP = @STRIP@
181
+ VERSION = @VERSION@
182
+ abs_builddir = @abs_builddir@
183
+ abs_srcdir = @abs_srcdir@
184
+ abs_top_builddir = @abs_top_builddir@
185
+ abs_top_srcdir = @abs_top_srcdir@
186
+ ac_ct_AR = @ac_ct_AR@
187
+ ac_ct_CC = @ac_ct_CC@
188
+ ac_ct_CXX = @ac_ct_CXX@
189
+ ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
190
+ am__include = @am__include@
191
+ am__leading_dot = @am__leading_dot@
192
+ am__quote = @am__quote@
193
+ am__tar = @am__tar@
194
+ am__untar = @am__untar@
195
+ bindir = @bindir@
196
+ build = @build@
197
+ build_alias = @build_alias@
198
+ build_cpu = @build_cpu@
199
+ build_os = @build_os@
200
+ build_vendor = @build_vendor@
201
+ builddir = @builddir@
202
+ datadir = @datadir@
203
+ datarootdir = @datarootdir@
204
+ docdir = @docdir@
205
+ dvidir = @dvidir@
206
+ exec_prefix = @exec_prefix@
207
+ host = @host@
208
+ host_alias = @host_alias@
209
+ host_cpu = @host_cpu@
210
+ host_os = @host_os@
211
+ host_vendor = @host_vendor@
212
+ htmldir = @htmldir@
213
+ includedir = @includedir@
214
+ infodir = @infodir@
215
+ install_sh = @install_sh@
216
+ libdir = @libdir@
217
+ libexecdir = @libexecdir@
218
+ localedir = @localedir@
219
+ localstatedir = @localstatedir@
220
+ mandir = @mandir@
221
+ mkdir_p = @mkdir_p@
222
+ oldincludedir = @oldincludedir@
223
+ pdfdir = @pdfdir@
224
+ prefix = @prefix@
225
+ program_transform_name = @program_transform_name@
226
+ psdir = @psdir@
227
+ sbindir = @sbindir@
228
+ sharedstatedir = @sharedstatedir@
229
+ srcdir = @srcdir@
230
+ sysconfdir = @sysconfdir@
231
+ target_alias = @target_alias@
232
+ top_build_prefix = @top_build_prefix@
233
+ top_builddir = @top_builddir@
234
+ top_srcdir = @top_srcdir@
235
+ AM_CFLAGS = -Wall -Wextra
236
+ AM_CXXFLAGS = -Wall -Weffc++ -Wextra -I${top_srcdir}/lib
237
+ #AM_CXXFLAGS = -Wall -Weffc++ -Wextra -D_DEBUG -I${top_srcdir}/lib
238
+ noinst_LTLIBRARIES = libcmdopt.la
239
+ libcmdopt_la_SOURCES = cmdopt.cc
240
+ noinst_HEADERS = cmdopt.h
241
+ marisa_build_SOURCES = marisa-build.cc
242
+ marisa_build_LDADD = ../lib/libmarisa.la libcmdopt.la
243
+ marisa_lookup_SOURCES = marisa-lookup.cc
244
+ marisa_lookup_LDADD = ../lib/libmarisa.la libcmdopt.la
245
+ marisa_reverse_lookup_SOURCES = marisa-reverse-lookup.cc
246
+ marisa_reverse_lookup_LDADD = ../lib/libmarisa.la libcmdopt.la
247
+ marisa_common_prefix_search_SOURCES = marisa-common-prefix-search.cc
248
+ marisa_common_prefix_search_LDADD = ../lib/libmarisa.la libcmdopt.la
249
+ marisa_predictive_search_SOURCES = marisa-predictive-search.cc
250
+ marisa_predictive_search_LDADD = ../lib/libmarisa.la libcmdopt.la
251
+ marisa_dump_SOURCES = marisa-dump.cc
252
+ marisa_dump_LDADD = ../lib/libmarisa.la libcmdopt.la
253
+ marisa_benchmark_SOURCES = marisa-benchmark.cc
254
+ marisa_benchmark_LDADD = ../lib/libmarisa.la libcmdopt.la
255
+ all: all-am
256
+
257
+ .SUFFIXES:
258
+ .SUFFIXES: .cc .lo .o .obj
259
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
260
+ @for dep in $?; do \
261
+ case '$(am__configure_deps)' in \
262
+ *$$dep*) \
263
+ ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
264
+ && { if test -f $@; then exit 0; else break; fi; }; \
265
+ exit 1;; \
266
+ esac; \
267
+ done; \
268
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tools/Makefile'; \
269
+ $(am__cd) $(top_srcdir) && \
270
+ $(AUTOMAKE) --gnu tools/Makefile
271
+ .PRECIOUS: Makefile
272
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
273
+ @case '$?' in \
274
+ *config.status*) \
275
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
276
+ *) \
277
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
278
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
279
+ esac;
280
+
281
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
282
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
283
+
284
+ $(top_srcdir)/configure: $(am__configure_deps)
285
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
286
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
287
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
288
+ $(am__aclocal_m4_deps):
289
+
290
+ clean-noinstLTLIBRARIES:
291
+ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
292
+ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
293
+ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
294
+ test "$$dir" != "$$p" || dir=.; \
295
+ echo "rm -f \"$${dir}/so_locations\""; \
296
+ rm -f "$${dir}/so_locations"; \
297
+ done
298
+ libcmdopt.la: $(libcmdopt_la_OBJECTS) $(libcmdopt_la_DEPENDENCIES) $(EXTRA_libcmdopt_la_DEPENDENCIES)
299
+ $(CXXLINK) $(libcmdopt_la_OBJECTS) $(libcmdopt_la_LIBADD) $(LIBS)
300
+ install-binPROGRAMS: $(bin_PROGRAMS)
301
+ @$(NORMAL_INSTALL)
302
+ test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
303
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
304
+ for p in $$list; do echo "$$p $$p"; done | \
305
+ sed 's/$(EXEEXT)$$//' | \
306
+ while read p p1; do if test -f $$p || test -f $$p1; \
307
+ then echo "$$p"; echo "$$p"; else :; fi; \
308
+ done | \
309
+ sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
310
+ -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
311
+ sed 'N;N;N;s,\n, ,g' | \
312
+ $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
313
+ { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
314
+ if ($$2 == $$4) files[d] = files[d] " " $$1; \
315
+ else { print "f", $$3 "/" $$4, $$1; } } \
316
+ END { for (d in files) print "f", d, files[d] }' | \
317
+ while read type dir files; do \
318
+ if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
319
+ test -z "$$files" || { \
320
+ echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
321
+ $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
322
+ } \
323
+ ; done
324
+
325
+ uninstall-binPROGRAMS:
326
+ @$(NORMAL_UNINSTALL)
327
+ @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
328
+ files=`for p in $$list; do echo "$$p"; done | \
329
+ sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
330
+ -e 's/$$/$(EXEEXT)/' `; \
331
+ test -n "$$list" || exit 0; \
332
+ echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
333
+ cd "$(DESTDIR)$(bindir)" && rm -f $$files
334
+
335
+ clean-binPROGRAMS:
336
+ @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
337
+ echo " rm -f" $$list; \
338
+ rm -f $$list || exit $$?; \
339
+ test -n "$(EXEEXT)" || exit 0; \
340
+ list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
341
+ echo " rm -f" $$list; \
342
+ rm -f $$list
343
+ marisa-benchmark$(EXEEXT): $(marisa_benchmark_OBJECTS) $(marisa_benchmark_DEPENDENCIES) $(EXTRA_marisa_benchmark_DEPENDENCIES)
344
+ @rm -f marisa-benchmark$(EXEEXT)
345
+ $(CXXLINK) $(marisa_benchmark_OBJECTS) $(marisa_benchmark_LDADD) $(LIBS)
346
+ marisa-build$(EXEEXT): $(marisa_build_OBJECTS) $(marisa_build_DEPENDENCIES) $(EXTRA_marisa_build_DEPENDENCIES)
347
+ @rm -f marisa-build$(EXEEXT)
348
+ $(CXXLINK) $(marisa_build_OBJECTS) $(marisa_build_LDADD) $(LIBS)
349
+ marisa-common-prefix-search$(EXEEXT): $(marisa_common_prefix_search_OBJECTS) $(marisa_common_prefix_search_DEPENDENCIES) $(EXTRA_marisa_common_prefix_search_DEPENDENCIES)
350
+ @rm -f marisa-common-prefix-search$(EXEEXT)
351
+ $(CXXLINK) $(marisa_common_prefix_search_OBJECTS) $(marisa_common_prefix_search_LDADD) $(LIBS)
352
+ marisa-dump$(EXEEXT): $(marisa_dump_OBJECTS) $(marisa_dump_DEPENDENCIES) $(EXTRA_marisa_dump_DEPENDENCIES)
353
+ @rm -f marisa-dump$(EXEEXT)
354
+ $(CXXLINK) $(marisa_dump_OBJECTS) $(marisa_dump_LDADD) $(LIBS)
355
+ marisa-lookup$(EXEEXT): $(marisa_lookup_OBJECTS) $(marisa_lookup_DEPENDENCIES) $(EXTRA_marisa_lookup_DEPENDENCIES)
356
+ @rm -f marisa-lookup$(EXEEXT)
357
+ $(CXXLINK) $(marisa_lookup_OBJECTS) $(marisa_lookup_LDADD) $(LIBS)
358
+ marisa-predictive-search$(EXEEXT): $(marisa_predictive_search_OBJECTS) $(marisa_predictive_search_DEPENDENCIES) $(EXTRA_marisa_predictive_search_DEPENDENCIES)
359
+ @rm -f marisa-predictive-search$(EXEEXT)
360
+ $(CXXLINK) $(marisa_predictive_search_OBJECTS) $(marisa_predictive_search_LDADD) $(LIBS)
361
+ marisa-reverse-lookup$(EXEEXT): $(marisa_reverse_lookup_OBJECTS) $(marisa_reverse_lookup_DEPENDENCIES) $(EXTRA_marisa_reverse_lookup_DEPENDENCIES)
362
+ @rm -f marisa-reverse-lookup$(EXEEXT)
363
+ $(CXXLINK) $(marisa_reverse_lookup_OBJECTS) $(marisa_reverse_lookup_LDADD) $(LIBS)
364
+
365
+ mostlyclean-compile:
366
+ -rm -f *.$(OBJEXT)
367
+
368
+ distclean-compile:
369
+ -rm -f *.tab.c
370
+
371
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cmdopt.Plo@am__quote@
372
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/marisa-benchmark.Po@am__quote@
373
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/marisa-build.Po@am__quote@
374
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/marisa-common-prefix-search.Po@am__quote@
375
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/marisa-dump.Po@am__quote@
376
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/marisa-lookup.Po@am__quote@
377
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/marisa-predictive-search.Po@am__quote@
378
+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/marisa-reverse-lookup.Po@am__quote@
379
+
380
+ .cc.o:
381
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
382
+ @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
383
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
384
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
385
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
386
+
387
+ .cc.obj:
388
+ @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
389
+ @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
390
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
391
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
392
+ @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
393
+
394
+ .cc.lo:
395
+ @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
396
+ @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
397
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
398
+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
399
+ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
400
+
401
+ mostlyclean-libtool:
402
+ -rm -f *.lo
403
+
404
+ clean-libtool:
405
+ -rm -rf .libs _libs
406
+
407
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
408
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
409
+ unique=`for i in $$list; do \
410
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
411
+ done | \
412
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
413
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
414
+ mkid -fID $$unique
415
+ tags: TAGS
416
+
417
+ TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
418
+ $(TAGS_FILES) $(LISP)
419
+ set x; \
420
+ here=`pwd`; \
421
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
422
+ unique=`for i in $$list; do \
423
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
424
+ done | \
425
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
426
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
427
+ shift; \
428
+ if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
429
+ test -n "$$unique" || unique=$$empty_fix; \
430
+ if test $$# -gt 0; then \
431
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
432
+ "$$@" $$unique; \
433
+ else \
434
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
435
+ $$unique; \
436
+ fi; \
437
+ fi
438
+ ctags: CTAGS
439
+ CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
440
+ $(TAGS_FILES) $(LISP)
441
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
442
+ unique=`for i in $$list; do \
443
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
444
+ done | \
445
+ $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
446
+ END { if (nonempty) { for (i in files) print i; }; }'`; \
447
+ test -z "$(CTAGS_ARGS)$$unique" \
448
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
449
+ $$unique
450
+
451
+ GTAGS:
452
+ here=`$(am__cd) $(top_builddir) && pwd` \
453
+ && $(am__cd) $(top_srcdir) \
454
+ && gtags -i $(GTAGS_ARGS) "$$here"
455
+
456
+ distclean-tags:
457
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
458
+
459
+ distdir: $(DISTFILES)
460
+ @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
461
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
462
+ list='$(DISTFILES)'; \
463
+ dist_files=`for file in $$list; do echo $$file; done | \
464
+ sed -e "s|^$$srcdirstrip/||;t" \
465
+ -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
466
+ case $$dist_files in \
467
+ */*) $(MKDIR_P) `echo "$$dist_files" | \
468
+ sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
469
+ sort -u` ;; \
470
+ esac; \
471
+ for file in $$dist_files; do \
472
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
473
+ if test -d $$d/$$file; then \
474
+ dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
475
+ if test -d "$(distdir)/$$file"; then \
476
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
477
+ fi; \
478
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
479
+ cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
480
+ find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
481
+ fi; \
482
+ cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
483
+ else \
484
+ test -f "$(distdir)/$$file" \
485
+ || cp -p $$d/$$file "$(distdir)/$$file" \
486
+ || exit 1; \
487
+ fi; \
488
+ done
489
+ check-am: all-am
490
+ check: check-am
491
+ all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(HEADERS)
492
+ installdirs:
493
+ for dir in "$(DESTDIR)$(bindir)"; do \
494
+ test -z "$$dir" || $(MKDIR_P) "$$dir"; \
495
+ done
496
+ install: install-am
497
+ install-exec: install-exec-am
498
+ install-data: install-data-am
499
+ uninstall: uninstall-am
500
+
501
+ install-am: all-am
502
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
503
+
504
+ installcheck: installcheck-am
505
+ install-strip:
506
+ if test -z '$(STRIP)'; then \
507
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
508
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
509
+ install; \
510
+ else \
511
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
512
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
513
+ "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
514
+ fi
515
+ mostlyclean-generic:
516
+
517
+ clean-generic:
518
+
519
+ distclean-generic:
520
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
521
+ -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
522
+
523
+ maintainer-clean-generic:
524
+ @echo "This command is intended for maintainers to use"
525
+ @echo "it deletes files that may require special tools to rebuild."
526
+ clean: clean-am
527
+
528
+ clean-am: clean-binPROGRAMS clean-generic clean-libtool \
529
+ clean-noinstLTLIBRARIES mostlyclean-am
530
+
531
+ distclean: distclean-am
532
+ -rm -rf ./$(DEPDIR)
533
+ -rm -f Makefile
534
+ distclean-am: clean-am distclean-compile distclean-generic \
535
+ distclean-tags
536
+
537
+ dvi: dvi-am
538
+
539
+ dvi-am:
540
+
541
+ html: html-am
542
+
543
+ html-am:
544
+
545
+ info: info-am
546
+
547
+ info-am:
548
+
549
+ install-data-am:
550
+
551
+ install-dvi: install-dvi-am
552
+
553
+ install-dvi-am:
554
+
555
+ install-exec-am: install-binPROGRAMS
556
+
557
+ install-html: install-html-am
558
+
559
+ install-html-am:
560
+
561
+ install-info: install-info-am
562
+
563
+ install-info-am:
564
+
565
+ install-man:
566
+
567
+ install-pdf: install-pdf-am
568
+
569
+ install-pdf-am:
570
+
571
+ install-ps: install-ps-am
572
+
573
+ install-ps-am:
574
+
575
+ installcheck-am:
576
+
577
+ maintainer-clean: maintainer-clean-am
578
+ -rm -rf ./$(DEPDIR)
579
+ -rm -f Makefile
580
+ maintainer-clean-am: distclean-am maintainer-clean-generic
581
+
582
+ mostlyclean: mostlyclean-am
583
+
584
+ mostlyclean-am: mostlyclean-compile mostlyclean-generic \
585
+ mostlyclean-libtool
586
+
587
+ pdf: pdf-am
588
+
589
+ pdf-am:
590
+
591
+ ps: ps-am
592
+
593
+ ps-am:
594
+
595
+ uninstall-am: uninstall-binPROGRAMS
596
+
597
+ .MAKE: install-am install-strip
598
+
599
+ .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
600
+ clean-generic clean-libtool clean-noinstLTLIBRARIES ctags \
601
+ distclean distclean-compile distclean-generic \
602
+ distclean-libtool distclean-tags distdir dvi dvi-am html \
603
+ html-am info info-am install install-am install-binPROGRAMS \
604
+ install-data install-data-am install-dvi install-dvi-am \
605
+ install-exec install-exec-am install-html install-html-am \
606
+ install-info install-info-am install-man install-pdf \
607
+ install-pdf-am install-ps install-ps-am install-strip \
608
+ installcheck installcheck-am installdirs maintainer-clean \
609
+ maintainer-clean-generic mostlyclean mostlyclean-compile \
610
+ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
611
+ tags uninstall uninstall-am uninstall-binPROGRAMS
612
+
613
+
614
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
615
+ # Otherwise a system limit (for SysV at least) may be exceeded.
616
+ .NOEXPORT: