tyler-trie 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. data/VERSION.yml +4 -0
  2. data/ext/libdatrie/AUTHORS +1 -0
  3. data/ext/libdatrie/COPYING +510 -0
  4. data/ext/libdatrie/ChangeLog +410 -0
  5. data/ext/libdatrie/INSTALL +236 -0
  6. data/ext/libdatrie/Makefile.am +5 -0
  7. data/ext/libdatrie/Makefile.in +661 -0
  8. data/ext/libdatrie/NEWS +27 -0
  9. data/ext/libdatrie/README +32 -0
  10. data/ext/libdatrie/aclocal.m4 +7431 -0
  11. data/ext/libdatrie/config.guess +1516 -0
  12. data/ext/libdatrie/config.h.in +74 -0
  13. data/ext/libdatrie/config.sub +1626 -0
  14. data/ext/libdatrie/configure +22008 -0
  15. data/ext/libdatrie/configure.ac +71 -0
  16. data/ext/libdatrie/datrie.pc.in +11 -0
  17. data/ext/libdatrie/datrie/Makefile.am +35 -0
  18. data/ext/libdatrie/datrie/Makefile.in +522 -0
  19. data/ext/libdatrie/datrie/alpha-map.c +170 -0
  20. data/ext/libdatrie/datrie/alpha-map.h +36 -0
  21. data/ext/libdatrie/datrie/darray.c +674 -0
  22. data/ext/libdatrie/datrie/darray.h +229 -0
  23. data/ext/libdatrie/datrie/fileutils.c +151 -0
  24. data/ext/libdatrie/datrie/fileutils.h +36 -0
  25. data/ext/libdatrie/datrie/libdatrie.def +31 -0
  26. data/ext/libdatrie/datrie/sb-trie.c +331 -0
  27. data/ext/libdatrie/datrie/sb-trie.h +279 -0
  28. data/ext/libdatrie/datrie/tail.c +344 -0
  29. data/ext/libdatrie/datrie/tail.h +200 -0
  30. data/ext/libdatrie/datrie/trie-private.h +31 -0
  31. data/ext/libdatrie/datrie/trie.c +413 -0
  32. data/ext/libdatrie/datrie/trie.h +270 -0
  33. data/ext/libdatrie/datrie/triedefs.h +63 -0
  34. data/ext/libdatrie/datrie/typedefs.h +113 -0
  35. data/ext/libdatrie/depcomp +530 -0
  36. data/ext/libdatrie/doc/Doxyfile.in +244 -0
  37. data/ext/libdatrie/doc/Makefile.am +29 -0
  38. data/ext/libdatrie/doc/Makefile.in +352 -0
  39. data/ext/libdatrie/install-sh +323 -0
  40. data/ext/libdatrie/ltmain.sh +6938 -0
  41. data/ext/libdatrie/man/Makefile.am +4 -0
  42. data/ext/libdatrie/man/Makefile.in +381 -0
  43. data/ext/libdatrie/man/trietool.1 +107 -0
  44. data/ext/libdatrie/missing +360 -0
  45. data/ext/libdatrie/tools/Makefile.am +7 -0
  46. data/ext/libdatrie/tools/Makefile.in +460 -0
  47. data/ext/libdatrie/tools/trietool.c +308 -0
  48. data/ext/trie/extconf.rb +12 -0
  49. data/ext/trie/trie.c +174 -0
  50. data/lib/trie.rb +1 -0
  51. data/spec/test-trie/README +1 -0
  52. data/spec/trie_spec.rb +79 -0
  53. metadata +139 -0
@@ -0,0 +1,5 @@
1
+ SUBDIRS = datrie tools man doc
2
+
3
+ pkgconfigdir = $(libdir)/pkgconfig
4
+ pkgconfig_DATA = datrie.pc
5
+
@@ -0,0 +1,661 @@
1
+ # Makefile.in generated by automake 1.9.6 from Makefile.am.
2
+ # @configure_input@
3
+
4
+ # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
+ # 2003, 2004, 2005 Free Software Foundation, Inc.
6
+ # This Makefile.in is free software; the Free Software Foundation
7
+ # gives unlimited permission to copy and/or distribute it,
8
+ # with or without modifications, as long as this notice is preserved.
9
+
10
+ # This program is distributed in the hope that it will be useful,
11
+ # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12
+ # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13
+ # PARTICULAR PURPOSE.
14
+
15
+ @SET_MAKE@
16
+
17
+ srcdir = @srcdir@
18
+ top_srcdir = @top_srcdir@
19
+ VPATH = @srcdir@
20
+ pkgdatadir = $(datadir)/@PACKAGE@
21
+ pkglibdir = $(libdir)/@PACKAGE@
22
+ pkgincludedir = $(includedir)/@PACKAGE@
23
+ top_builddir = .
24
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25
+ INSTALL = @INSTALL@
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
+ DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
40
+ $(srcdir)/Makefile.in $(srcdir)/config.h.in \
41
+ $(srcdir)/datrie.pc.in $(top_srcdir)/configure AUTHORS COPYING \
42
+ ChangeLog INSTALL NEWS config.guess config.sub depcomp \
43
+ install-sh ltmain.sh missing
44
+ subdir = .
45
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
46
+ am__aclocal_m4_deps = $(top_srcdir)/configure.ac
47
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48
+ $(ACLOCAL_M4)
49
+ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
50
+ configure.lineno configure.status.lineno
51
+ mkinstalldirs = $(install_sh) -d
52
+ CONFIG_HEADER = config.h
53
+ CONFIG_CLEAN_FILES = datrie.pc
54
+ SOURCES =
55
+ DIST_SOURCES =
56
+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
57
+ html-recursive info-recursive install-data-recursive \
58
+ install-exec-recursive install-info-recursive \
59
+ install-recursive installcheck-recursive installdirs-recursive \
60
+ pdf-recursive ps-recursive uninstall-info-recursive \
61
+ uninstall-recursive
62
+ am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
63
+ am__vpath_adj = case $$p in \
64
+ $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
65
+ *) f=$$p;; \
66
+ esac;
67
+ am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
68
+ am__installdirs = "$(DESTDIR)$(pkgconfigdir)"
69
+ pkgconfigDATA_INSTALL = $(INSTALL_DATA)
70
+ DATA = $(pkgconfig_DATA)
71
+ ETAGS = etags
72
+ CTAGS = ctags
73
+ DIST_SUBDIRS = $(SUBDIRS)
74
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
75
+ distdir = $(PACKAGE)-$(VERSION)
76
+ top_distdir = $(distdir)
77
+ am__remove_distdir = \
78
+ { test ! -d $(distdir) \
79
+ || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
80
+ && rm -fr $(distdir); }; }
81
+ DIST_ARCHIVES = $(distdir).tar.gz
82
+ GZIP_ENV = --best
83
+ distuninstallcheck_listfiles = find . -type f -print
84
+ distcleancheck_listfiles = find . -type f -print
85
+ ACLOCAL = @ACLOCAL@
86
+ AMDEP_FALSE = @AMDEP_FALSE@
87
+ AMDEP_TRUE = @AMDEP_TRUE@
88
+ AMTAR = @AMTAR@
89
+ AR = @AR@
90
+ AS = @AS@
91
+ AUTOCONF = @AUTOCONF@
92
+ AUTOHEADER = @AUTOHEADER@
93
+ AUTOMAKE = @AUTOMAKE@
94
+ AWK = @AWK@
95
+ CC = @CC@
96
+ CCDEPMODE = @CCDEPMODE@
97
+ CFLAGS = @CFLAGS@
98
+ CPP = @CPP@
99
+ CPPFLAGS = @CPPFLAGS@
100
+ CXX = @CXX@
101
+ CXXCPP = @CXXCPP@
102
+ CXXDEPMODE = @CXXDEPMODE@
103
+ CXXFLAGS = @CXXFLAGS@
104
+ CYGPATH_W = @CYGPATH_W@
105
+ DEFS = @DEFS@
106
+ DEPDIR = @DEPDIR@
107
+ DLLTOOL = @DLLTOOL@
108
+ DOXYGEN = @DOXYGEN@
109
+ ECHO = @ECHO@
110
+ ECHO_C = @ECHO_C@
111
+ ECHO_N = @ECHO_N@
112
+ ECHO_T = @ECHO_T@
113
+ EGREP = @EGREP@
114
+ ENABLE_DOXYGEN_DOC_FALSE = @ENABLE_DOXYGEN_DOC_FALSE@
115
+ ENABLE_DOXYGEN_DOC_TRUE = @ENABLE_DOXYGEN_DOC_TRUE@
116
+ EXEEXT = @EXEEXT@
117
+ F77 = @F77@
118
+ FFLAGS = @FFLAGS@
119
+ GREP = @GREP@
120
+ INSTALL_DATA = @INSTALL_DATA@
121
+ INSTALL_PROGRAM = @INSTALL_PROGRAM@
122
+ INSTALL_SCRIPT = @INSTALL_SCRIPT@
123
+ INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
124
+ LDFLAGS = @LDFLAGS@
125
+ LIBOBJS = @LIBOBJS@
126
+ LIBS = @LIBS@
127
+ LIBTOOL = @LIBTOOL@
128
+ LN_S = @LN_S@
129
+ LTLIBOBJS = @LTLIBOBJS@
130
+ LT_AGE = @LT_AGE@
131
+ LT_CURRENT = @LT_CURRENT@
132
+ LT_REVISION = @LT_REVISION@
133
+ MAKEINFO = @MAKEINFO@
134
+ OBJDUMP = @OBJDUMP@
135
+ OBJEXT = @OBJEXT@
136
+ PACKAGE = @PACKAGE@
137
+ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
138
+ PACKAGE_NAME = @PACKAGE_NAME@
139
+ PACKAGE_STRING = @PACKAGE_STRING@
140
+ PACKAGE_TARNAME = @PACKAGE_TARNAME@
141
+ PACKAGE_VERSION = @PACKAGE_VERSION@
142
+ PATH_SEPARATOR = @PATH_SEPARATOR@
143
+ RANLIB = @RANLIB@
144
+ SED = @SED@
145
+ SET_MAKE = @SET_MAKE@
146
+ SHELL = @SHELL@
147
+ STRIP = @STRIP@
148
+ VERSION = @VERSION@
149
+ ac_ct_CC = @ac_ct_CC@
150
+ ac_ct_CXX = @ac_ct_CXX@
151
+ ac_ct_F77 = @ac_ct_F77@
152
+ am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
153
+ am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
154
+ am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
155
+ am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
156
+ am__include = @am__include@
157
+ am__leading_dot = @am__leading_dot@
158
+ am__quote = @am__quote@
159
+ am__tar = @am__tar@
160
+ am__untar = @am__untar@
161
+ bindir = @bindir@
162
+ build = @build@
163
+ build_alias = @build_alias@
164
+ build_cpu = @build_cpu@
165
+ build_os = @build_os@
166
+ build_vendor = @build_vendor@
167
+ datadir = @datadir@
168
+ datarootdir = @datarootdir@
169
+ docdir = @docdir@
170
+ dvidir = @dvidir@
171
+ exec_prefix = @exec_prefix@
172
+ host = @host@
173
+ host_alias = @host_alias@
174
+ host_cpu = @host_cpu@
175
+ host_os = @host_os@
176
+ host_vendor = @host_vendor@
177
+ htmldir = @htmldir@
178
+ htmldocdir = @htmldocdir@
179
+ includedir = @includedir@
180
+ infodir = @infodir@
181
+ install_sh = @install_sh@
182
+ libdir = @libdir@
183
+ libexecdir = @libexecdir@
184
+ localedir = @localedir@
185
+ localstatedir = @localstatedir@
186
+ mandir = @mandir@
187
+ mkdir_p = @mkdir_p@
188
+ oldincludedir = @oldincludedir@
189
+ pdfdir = @pdfdir@
190
+ prefix = @prefix@
191
+ program_transform_name = @program_transform_name@
192
+ psdir = @psdir@
193
+ sbindir = @sbindir@
194
+ sharedstatedir = @sharedstatedir@
195
+ sysconfdir = @sysconfdir@
196
+ target_alias = @target_alias@
197
+ SUBDIRS = datrie tools man doc
198
+ pkgconfigdir = $(libdir)/pkgconfig
199
+ pkgconfig_DATA = datrie.pc
200
+ all: config.h
201
+ $(MAKE) $(AM_MAKEFLAGS) all-recursive
202
+
203
+ .SUFFIXES:
204
+ am--refresh:
205
+ @:
206
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
207
+ @for dep in $?; do \
208
+ case '$(am__configure_deps)' in \
209
+ *$$dep*) \
210
+ echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
211
+ cd $(srcdir) && $(AUTOMAKE) --gnu \
212
+ && exit 0; \
213
+ exit 1;; \
214
+ esac; \
215
+ done; \
216
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
217
+ cd $(top_srcdir) && \
218
+ $(AUTOMAKE) --gnu Makefile
219
+ .PRECIOUS: Makefile
220
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
221
+ @case '$?' in \
222
+ *config.status*) \
223
+ echo ' $(SHELL) ./config.status'; \
224
+ $(SHELL) ./config.status;; \
225
+ *) \
226
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
227
+ cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
228
+ esac;
229
+
230
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
231
+ $(SHELL) ./config.status --recheck
232
+
233
+ $(top_srcdir)/configure: $(am__configure_deps)
234
+ cd $(srcdir) && $(AUTOCONF)
235
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
236
+ cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
237
+
238
+ config.h: stamp-h1
239
+ @if test ! -f $@; then \
240
+ rm -f stamp-h1; \
241
+ $(MAKE) stamp-h1; \
242
+ else :; fi
243
+
244
+ stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
245
+ @rm -f stamp-h1
246
+ cd $(top_builddir) && $(SHELL) ./config.status config.h
247
+ $(srcdir)/config.h.in: $(am__configure_deps)
248
+ cd $(top_srcdir) && $(AUTOHEADER)
249
+ rm -f stamp-h1
250
+ touch $@
251
+
252
+ distclean-hdr:
253
+ -rm -f config.h stamp-h1
254
+ datrie.pc: $(top_builddir)/config.status $(srcdir)/datrie.pc.in
255
+ cd $(top_builddir) && $(SHELL) ./config.status $@
256
+
257
+ mostlyclean-libtool:
258
+ -rm -f *.lo
259
+
260
+ clean-libtool:
261
+ -rm -rf .libs _libs
262
+
263
+ distclean-libtool:
264
+ -rm -f libtool
265
+ uninstall-info-am:
266
+ install-pkgconfigDATA: $(pkgconfig_DATA)
267
+ @$(NORMAL_INSTALL)
268
+ test -z "$(pkgconfigdir)" || $(mkdir_p) "$(DESTDIR)$(pkgconfigdir)"
269
+ @list='$(pkgconfig_DATA)'; for p in $$list; do \
270
+ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
271
+ f=$(am__strip_dir) \
272
+ echo " $(pkgconfigDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
273
+ $(pkgconfigDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgconfigdir)/$$f"; \
274
+ done
275
+
276
+ uninstall-pkgconfigDATA:
277
+ @$(NORMAL_UNINSTALL)
278
+ @list='$(pkgconfig_DATA)'; for p in $$list; do \
279
+ f=$(am__strip_dir) \
280
+ echo " rm -f '$(DESTDIR)$(pkgconfigdir)/$$f'"; \
281
+ rm -f "$(DESTDIR)$(pkgconfigdir)/$$f"; \
282
+ done
283
+
284
+ # This directory's subdirectories are mostly independent; you can cd
285
+ # into them and run `make' without going through this Makefile.
286
+ # To change the values of `make' variables: instead of editing Makefiles,
287
+ # (1) if the variable is set in `config.status', edit `config.status'
288
+ # (which will cause the Makefiles to be regenerated when you run `make');
289
+ # (2) otherwise, pass the desired values on the `make' command line.
290
+ $(RECURSIVE_TARGETS):
291
+ @failcom='exit 1'; \
292
+ for f in x $$MAKEFLAGS; do \
293
+ case $$f in \
294
+ *=* | --[!k]*);; \
295
+ *k*) failcom='fail=yes';; \
296
+ esac; \
297
+ done; \
298
+ dot_seen=no; \
299
+ target=`echo $@ | sed s/-recursive//`; \
300
+ list='$(SUBDIRS)'; for subdir in $$list; do \
301
+ echo "Making $$target in $$subdir"; \
302
+ if test "$$subdir" = "."; then \
303
+ dot_seen=yes; \
304
+ local_target="$$target-am"; \
305
+ else \
306
+ local_target="$$target"; \
307
+ fi; \
308
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
309
+ || eval $$failcom; \
310
+ done; \
311
+ if test "$$dot_seen" = "no"; then \
312
+ $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
313
+ fi; test -z "$$fail"
314
+
315
+ mostlyclean-recursive clean-recursive distclean-recursive \
316
+ maintainer-clean-recursive:
317
+ @failcom='exit 1'; \
318
+ for f in x $$MAKEFLAGS; do \
319
+ case $$f in \
320
+ *=* | --[!k]*);; \
321
+ *k*) failcom='fail=yes';; \
322
+ esac; \
323
+ done; \
324
+ dot_seen=no; \
325
+ case "$@" in \
326
+ distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
327
+ *) list='$(SUBDIRS)' ;; \
328
+ esac; \
329
+ rev=''; for subdir in $$list; do \
330
+ if test "$$subdir" = "."; then :; else \
331
+ rev="$$subdir $$rev"; \
332
+ fi; \
333
+ done; \
334
+ rev="$$rev ."; \
335
+ target=`echo $@ | sed s/-recursive//`; \
336
+ for subdir in $$rev; do \
337
+ echo "Making $$target in $$subdir"; \
338
+ if test "$$subdir" = "."; then \
339
+ local_target="$$target-am"; \
340
+ else \
341
+ local_target="$$target"; \
342
+ fi; \
343
+ (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
344
+ || eval $$failcom; \
345
+ done && test -z "$$fail"
346
+ tags-recursive:
347
+ list='$(SUBDIRS)'; for subdir in $$list; do \
348
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
349
+ done
350
+ ctags-recursive:
351
+ list='$(SUBDIRS)'; for subdir in $$list; do \
352
+ test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
353
+ done
354
+
355
+ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
356
+ list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
357
+ unique=`for i in $$list; do \
358
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
359
+ done | \
360
+ $(AWK) ' { files[$$0] = 1; } \
361
+ END { for (i in files) print i; }'`; \
362
+ mkid -fID $$unique
363
+ tags: TAGS
364
+
365
+ TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
366
+ $(TAGS_FILES) $(LISP)
367
+ tags=; \
368
+ here=`pwd`; \
369
+ if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
370
+ include_option=--etags-include; \
371
+ empty_fix=.; \
372
+ else \
373
+ include_option=--include; \
374
+ empty_fix=; \
375
+ fi; \
376
+ list='$(SUBDIRS)'; for subdir in $$list; do \
377
+ if test "$$subdir" = .; then :; else \
378
+ test ! -f $$subdir/TAGS || \
379
+ tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
380
+ fi; \
381
+ done; \
382
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
383
+ unique=`for i in $$list; do \
384
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
385
+ done | \
386
+ $(AWK) ' { files[$$0] = 1; } \
387
+ END { for (i in files) print i; }'`; \
388
+ if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
389
+ test -n "$$unique" || unique=$$empty_fix; \
390
+ $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
391
+ $$tags $$unique; \
392
+ fi
393
+ ctags: CTAGS
394
+ CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
395
+ $(TAGS_FILES) $(LISP)
396
+ tags=; \
397
+ here=`pwd`; \
398
+ list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
399
+ unique=`for i in $$list; do \
400
+ if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
401
+ done | \
402
+ $(AWK) ' { files[$$0] = 1; } \
403
+ END { for (i in files) print i; }'`; \
404
+ test -z "$(CTAGS_ARGS)$$tags$$unique" \
405
+ || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
406
+ $$tags $$unique
407
+
408
+ GTAGS:
409
+ here=`$(am__cd) $(top_builddir) && pwd` \
410
+ && cd $(top_srcdir) \
411
+ && gtags -i $(GTAGS_ARGS) $$here
412
+
413
+ distclean-tags:
414
+ -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
415
+
416
+ distdir: $(DISTFILES)
417
+ $(am__remove_distdir)
418
+ mkdir $(distdir)
419
+ $(mkdir_p) $(distdir)/. $(distdir)/doc
420
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
421
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
422
+ list='$(DISTFILES)'; for file in $$list; do \
423
+ case $$file in \
424
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
425
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
426
+ esac; \
427
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
428
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
429
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
430
+ dir="/$$dir"; \
431
+ $(mkdir_p) "$(distdir)$$dir"; \
432
+ else \
433
+ dir=''; \
434
+ fi; \
435
+ if test -d $$d/$$file; then \
436
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
437
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
438
+ fi; \
439
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
440
+ else \
441
+ test -f $(distdir)/$$file \
442
+ || cp -p $$d/$$file $(distdir)/$$file \
443
+ || exit 1; \
444
+ fi; \
445
+ done
446
+ list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
447
+ if test "$$subdir" = .; then :; else \
448
+ test -d "$(distdir)/$$subdir" \
449
+ || $(mkdir_p) "$(distdir)/$$subdir" \
450
+ || exit 1; \
451
+ distdir=`$(am__cd) $(distdir) && pwd`; \
452
+ top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
453
+ (cd $$subdir && \
454
+ $(MAKE) $(AM_MAKEFLAGS) \
455
+ top_distdir="$$top_distdir" \
456
+ distdir="$$distdir/$$subdir" \
457
+ distdir) \
458
+ || exit 1; \
459
+ fi; \
460
+ done
461
+ -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
462
+ ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
463
+ ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
464
+ ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
465
+ || chmod -R a+r $(distdir)
466
+ dist-gzip: distdir
467
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
468
+ $(am__remove_distdir)
469
+
470
+ dist-bzip2: distdir
471
+ tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
472
+ $(am__remove_distdir)
473
+
474
+ dist-tarZ: distdir
475
+ tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
476
+ $(am__remove_distdir)
477
+
478
+ dist-shar: distdir
479
+ shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
480
+ $(am__remove_distdir)
481
+
482
+ dist-zip: distdir
483
+ -rm -f $(distdir).zip
484
+ zip -rq $(distdir).zip $(distdir)
485
+ $(am__remove_distdir)
486
+
487
+ dist dist-all: distdir
488
+ tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
489
+ $(am__remove_distdir)
490
+
491
+ # This target untars the dist file and tries a VPATH configuration. Then
492
+ # it guarantees that the distribution is self-contained by making another
493
+ # tarfile.
494
+ distcheck: dist
495
+ case '$(DIST_ARCHIVES)' in \
496
+ *.tar.gz*) \
497
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
498
+ *.tar.bz2*) \
499
+ bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
500
+ *.tar.Z*) \
501
+ uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
502
+ *.shar.gz*) \
503
+ GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
504
+ *.zip*) \
505
+ unzip $(distdir).zip ;;\
506
+ esac
507
+ chmod -R a-w $(distdir); chmod a+w $(distdir)
508
+ mkdir $(distdir)/_build
509
+ mkdir $(distdir)/_inst
510
+ chmod a-w $(distdir)
511
+ dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
512
+ && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
513
+ && cd $(distdir)/_build \
514
+ && ../configure --srcdir=.. --prefix="$$dc_install_base" \
515
+ $(DISTCHECK_CONFIGURE_FLAGS) \
516
+ && $(MAKE) $(AM_MAKEFLAGS) \
517
+ && $(MAKE) $(AM_MAKEFLAGS) dvi \
518
+ && $(MAKE) $(AM_MAKEFLAGS) check \
519
+ && $(MAKE) $(AM_MAKEFLAGS) install \
520
+ && $(MAKE) $(AM_MAKEFLAGS) installcheck \
521
+ && $(MAKE) $(AM_MAKEFLAGS) uninstall \
522
+ && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
523
+ distuninstallcheck \
524
+ && chmod -R a-w "$$dc_install_base" \
525
+ && ({ \
526
+ (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
527
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
528
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
529
+ && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
530
+ distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
531
+ } || { rm -rf "$$dc_destdir"; exit 1; }) \
532
+ && rm -rf "$$dc_destdir" \
533
+ && $(MAKE) $(AM_MAKEFLAGS) dist \
534
+ && rm -rf $(DIST_ARCHIVES) \
535
+ && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
536
+ $(am__remove_distdir)
537
+ @(echo "$(distdir) archives ready for distribution: "; \
538
+ list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
539
+ sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
540
+ distuninstallcheck:
541
+ @cd $(distuninstallcheck_dir) \
542
+ && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
543
+ || { echo "ERROR: files left after uninstall:" ; \
544
+ if test -n "$(DESTDIR)"; then \
545
+ echo " (check DESTDIR support)"; \
546
+ fi ; \
547
+ $(distuninstallcheck_listfiles) ; \
548
+ exit 1; } >&2
549
+ distcleancheck: distclean
550
+ @if test '$(srcdir)' = . ; then \
551
+ echo "ERROR: distcleancheck can only run from a VPATH build" ; \
552
+ exit 1 ; \
553
+ fi
554
+ @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
555
+ || { echo "ERROR: files left in build directory after distclean:" ; \
556
+ $(distcleancheck_listfiles) ; \
557
+ exit 1; } >&2
558
+ check-am: all-am
559
+ check: check-recursive
560
+ all-am: Makefile $(DATA) config.h
561
+ installdirs: installdirs-recursive
562
+ installdirs-am:
563
+ for dir in "$(DESTDIR)$(pkgconfigdir)"; do \
564
+ test -z "$$dir" || $(mkdir_p) "$$dir"; \
565
+ done
566
+ install: install-recursive
567
+ install-exec: install-exec-recursive
568
+ install-data: install-data-recursive
569
+ uninstall: uninstall-recursive
570
+
571
+ install-am: all-am
572
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
573
+
574
+ installcheck: installcheck-recursive
575
+ install-strip:
576
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
577
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
578
+ `test -z '$(STRIP)' || \
579
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
580
+ mostlyclean-generic:
581
+
582
+ clean-generic:
583
+
584
+ distclean-generic:
585
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
586
+
587
+ maintainer-clean-generic:
588
+ @echo "This command is intended for maintainers to use"
589
+ @echo "it deletes files that may require special tools to rebuild."
590
+ clean: clean-recursive
591
+
592
+ clean-am: clean-generic clean-libtool mostlyclean-am
593
+
594
+ distclean: distclean-recursive
595
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
596
+ -rm -f Makefile
597
+ distclean-am: clean-am distclean-generic distclean-hdr \
598
+ distclean-libtool distclean-tags
599
+
600
+ dvi: dvi-recursive
601
+
602
+ dvi-am:
603
+
604
+ html: html-recursive
605
+
606
+ info: info-recursive
607
+
608
+ info-am:
609
+
610
+ install-data-am: install-pkgconfigDATA
611
+
612
+ install-exec-am:
613
+
614
+ install-info: install-info-recursive
615
+
616
+ install-man:
617
+
618
+ installcheck-am:
619
+
620
+ maintainer-clean: maintainer-clean-recursive
621
+ -rm -f $(am__CONFIG_DISTCLEAN_FILES)
622
+ -rm -rf $(top_srcdir)/autom4te.cache
623
+ -rm -f Makefile
624
+ maintainer-clean-am: distclean-am maintainer-clean-generic
625
+
626
+ mostlyclean: mostlyclean-recursive
627
+
628
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
629
+
630
+ pdf: pdf-recursive
631
+
632
+ pdf-am:
633
+
634
+ ps: ps-recursive
635
+
636
+ ps-am:
637
+
638
+ uninstall-am: uninstall-info-am uninstall-pkgconfigDATA
639
+
640
+ uninstall-info: uninstall-info-recursive
641
+
642
+ .PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
643
+ check-am clean clean-generic clean-libtool clean-recursive \
644
+ ctags ctags-recursive dist dist-all dist-bzip2 dist-gzip \
645
+ dist-shar dist-tarZ dist-zip distcheck distclean \
646
+ distclean-generic distclean-hdr distclean-libtool \
647
+ distclean-recursive distclean-tags distcleancheck distdir \
648
+ distuninstallcheck dvi dvi-am html html-am info info-am \
649
+ install install-am install-data install-data-am install-exec \
650
+ install-exec-am install-info install-info-am install-man \
651
+ install-pkgconfigDATA install-strip installcheck \
652
+ installcheck-am installdirs installdirs-am maintainer-clean \
653
+ maintainer-clean-generic maintainer-clean-recursive \
654
+ mostlyclean mostlyclean-generic mostlyclean-libtool \
655
+ mostlyclean-recursive pdf pdf-am ps ps-am tags tags-recursive \
656
+ uninstall uninstall-am uninstall-info-am \
657
+ uninstall-pkgconfigDATA
658
+
659
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
660
+ # Otherwise a system limit (for SysV at least) may be exceeded.
661
+ .NOEXPORT: