snappy 0.0.17 → 0.3.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 (87) hide show
  1. checksums.yaml +5 -5
  2. data/.dockerignore +2 -0
  3. data/.github/workflows/main.yml +34 -0
  4. data/.github/workflows/publish.yml +34 -0
  5. data/.gitignore +2 -1
  6. data/.gitmodules +1 -1
  7. data/Dockerfile +13 -0
  8. data/Gemfile +4 -0
  9. data/README.md +29 -5
  10. data/Rakefile +32 -29
  11. data/ext/api.c +6 -1
  12. data/ext/extconf.rb +23 -16
  13. data/lib/snappy/hadoop/reader.rb +62 -0
  14. data/lib/snappy/hadoop/writer.rb +51 -0
  15. data/lib/snappy/hadoop.rb +22 -0
  16. data/lib/snappy/reader.rb +14 -10
  17. data/lib/snappy/shim.rb +1 -1
  18. data/lib/snappy/version.rb +1 -1
  19. data/lib/snappy.rb +5 -4
  20. data/snappy.gemspec +13 -13
  21. data/test/hadoop/snappy_hadoop_reader_test.rb +115 -0
  22. data/test/hadoop/snappy_hadoop_writer_test.rb +48 -0
  23. data/test/snappy_hadoop_test.rb +26 -0
  24. data/test/snappy_reader_test.rb +148 -0
  25. data/test/snappy_test.rb +95 -0
  26. data/test/snappy_writer_test.rb +55 -0
  27. data/test/test_helper.rb +7 -0
  28. data/test.sh +3 -0
  29. data/vendor/snappy/CMakeLists.txt +297 -0
  30. data/vendor/snappy/CONTRIBUTING.md +26 -0
  31. data/vendor/snappy/NEWS +40 -0
  32. data/vendor/snappy/{README → README.md} +27 -18
  33. data/vendor/snappy/cmake/SnappyConfig.cmake.in +33 -0
  34. data/vendor/snappy/cmake/config.h.in +62 -0
  35. data/vendor/snappy/docs/README.md +72 -0
  36. data/vendor/snappy/snappy-internal.h +22 -18
  37. data/vendor/snappy/snappy-stubs-internal.cc +1 -1
  38. data/vendor/snappy/snappy-stubs-internal.h +116 -38
  39. data/vendor/snappy/snappy-stubs-public.h.in +20 -46
  40. data/vendor/snappy/snappy-test.cc +26 -22
  41. data/vendor/snappy/snappy-test.h +24 -98
  42. data/vendor/snappy/snappy.cc +380 -183
  43. data/vendor/snappy/snappy.h +14 -10
  44. data/vendor/snappy/snappy_compress_fuzzer.cc +59 -0
  45. data/vendor/snappy/snappy_uncompress_fuzzer.cc +57 -0
  46. data/vendor/snappy/snappy_unittest.cc +236 -261
  47. metadata +37 -92
  48. data/.travis.yml +0 -26
  49. data/smoke.sh +0 -8
  50. data/test/test-snappy-reader.rb +0 -129
  51. data/test/test-snappy-writer.rb +0 -55
  52. data/test/test-snappy.rb +0 -58
  53. data/vendor/snappy/ChangeLog +0 -2468
  54. data/vendor/snappy/INSTALL +0 -370
  55. data/vendor/snappy/Makefile +0 -982
  56. data/vendor/snappy/Makefile.am +0 -26
  57. data/vendor/snappy/Makefile.in +0 -982
  58. data/vendor/snappy/aclocal.m4 +0 -9738
  59. data/vendor/snappy/autogen.sh +0 -12
  60. data/vendor/snappy/autom4te.cache/output.0 +0 -18856
  61. data/vendor/snappy/autom4te.cache/output.1 +0 -18852
  62. data/vendor/snappy/autom4te.cache/requests +0 -297
  63. data/vendor/snappy/autom4te.cache/traces.0 +0 -2689
  64. data/vendor/snappy/autom4te.cache/traces.1 +0 -714
  65. data/vendor/snappy/config.guess +0 -1530
  66. data/vendor/snappy/config.h +0 -135
  67. data/vendor/snappy/config.h.in +0 -134
  68. data/vendor/snappy/config.log +0 -1640
  69. data/vendor/snappy/config.status +0 -2318
  70. data/vendor/snappy/config.sub +0 -1773
  71. data/vendor/snappy/configure +0 -18852
  72. data/vendor/snappy/configure.ac +0 -134
  73. data/vendor/snappy/depcomp +0 -688
  74. data/vendor/snappy/install-sh +0 -527
  75. data/vendor/snappy/libtool +0 -10246
  76. data/vendor/snappy/ltmain.sh +0 -9661
  77. data/vendor/snappy/m4/gtest.m4 +0 -74
  78. data/vendor/snappy/m4/libtool.m4 +0 -8001
  79. data/vendor/snappy/m4/ltoptions.m4 +0 -384
  80. data/vendor/snappy/m4/ltsugar.m4 +0 -123
  81. data/vendor/snappy/m4/ltversion.m4 +0 -23
  82. data/vendor/snappy/m4/lt~obsolete.m4 +0 -98
  83. data/vendor/snappy/missing +0 -331
  84. data/vendor/snappy/snappy-stubs-public.h +0 -100
  85. data/vendor/snappy/snappy.pc +0 -10
  86. data/vendor/snappy/snappy.pc.in +0 -10
  87. data/vendor/snappy/stamp-h1 +0 -1
@@ -1,982 +0,0 @@
1
- # Makefile.in generated by automake 1.11.3 from Makefile.am.
2
- # Makefile. Generated from Makefile.in by configure.
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
-
17
-
18
-
19
-
20
-
21
-
22
- pkgdatadir = $(datadir)/snappy
23
- pkgincludedir = $(includedir)/snappy
24
- pkglibdir = $(libdir)/snappy
25
- pkglibexecdir = $(libexecdir)/snappy
26
- am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
27
- install_sh_DATA = $(install_sh) -c -m 644
28
- install_sh_PROGRAM = $(install_sh) -c
29
- install_sh_SCRIPT = $(install_sh) -c
30
- INSTALL_HEADER = $(INSTALL_DATA)
31
- transform = $(program_transform_name)
32
- NORMAL_INSTALL = :
33
- PRE_INSTALL = :
34
- POST_INSTALL = :
35
- NORMAL_UNINSTALL = :
36
- PRE_UNINSTALL = :
37
- POST_UNINSTALL = :
38
- build_triplet = x86_64-unknown-linux-gnu
39
- host_triplet = x86_64-unknown-linux-gnu
40
- TESTS = snappy_unittest$(EXEEXT)
41
- noinst_PROGRAMS = $(am__EXEEXT_1)
42
- subdir = .
43
- DIST_COMMON = README $(am__configure_deps) $(dist_doc_DATA) \
44
- $(include_HEADERS) $(noinst_HEADERS) $(srcdir)/Makefile.am \
45
- $(srcdir)/Makefile.in $(srcdir)/config.h.in \
46
- $(srcdir)/snappy-stubs-public.h.in $(srcdir)/snappy.pc.in \
47
- $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
48
- config.guess config.sub depcomp install-sh ltmain.sh missing
49
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
50
- am__aclocal_m4_deps = $(top_srcdir)/m4/gtest.m4 \
51
- $(top_srcdir)/configure.ac
52
- am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
53
- $(ACLOCAL_M4)
54
- am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
55
- configure.lineno config.status.lineno
56
- mkinstalldirs = $(install_sh) -d
57
- CONFIG_HEADER = config.h
58
- CONFIG_CLEAN_FILES = snappy-stubs-public.h snappy.pc
59
- CONFIG_CLEAN_VPATH_FILES =
60
- am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
61
- am__vpath_adj = case $$p in \
62
- $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
63
- *) f=$$p;; \
64
- esac;
65
- am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
66
- am__install_max = 40
67
- am__nobase_strip_setup = \
68
- srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
69
- am__nobase_strip = \
70
- for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
71
- am__nobase_list = $(am__nobase_strip_setup); \
72
- for p in $$list; do echo "$$p $$p"; done | \
73
- sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
74
- $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
75
- if (++n[$$2] == $(am__install_max)) \
76
- { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
77
- END { for (dir in files) print dir, files[dir] }'
78
- am__base_list = \
79
- sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
80
- sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
81
- am__uninstall_files_from_dir = { \
82
- test -z "$$files" \
83
- || { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
84
- || { echo " ( cd '$$dir' && rm -f" $$files ")"; \
85
- $(am__cd) "$$dir" && rm -f $$files; }; \
86
- }
87
- am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(docdir)" \
88
- "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"
89
- LTLIBRARIES = $(lib_LTLIBRARIES)
90
- libsnappy_la_LIBADD =
91
- am_libsnappy_la_OBJECTS = snappy.lo snappy-sinksource.lo \
92
- snappy-stubs-internal.lo snappy-c.lo
93
- libsnappy_la_OBJECTS = $(am_libsnappy_la_OBJECTS)
94
- libsnappy_la_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
95
- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
96
- $(CXXFLAGS) $(libsnappy_la_LDFLAGS) $(LDFLAGS) -o $@
97
- am__EXEEXT_1 = snappy_unittest$(EXEEXT)
98
- PROGRAMS = $(noinst_PROGRAMS)
99
- am_snappy_unittest_OBJECTS = \
100
- snappy_unittest-snappy_unittest.$(OBJEXT) \
101
- snappy_unittest-snappy-test.$(OBJEXT)
102
- snappy_unittest_OBJECTS = $(am_snappy_unittest_OBJECTS)
103
- am__DEPENDENCIES_1 =
104
- snappy_unittest_DEPENDENCIES = libsnappy.la $(am__DEPENDENCIES_1) \
105
- $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1)
106
- snappy_unittest_LINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) \
107
- $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
108
- $(CXXFLAGS) $(snappy_unittest_LDFLAGS) $(LDFLAGS) -o $@
109
- DEFAULT_INCLUDES = -I.
110
- depcomp = $(SHELL) $(top_srcdir)/depcomp
111
- am__depfiles_maybe = depfiles
112
- am__mv = mv -f
113
- CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
114
- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
115
- LTCXXCOMPILE = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
116
- --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
117
- $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
118
- CXXLD = $(CXX)
119
- CXXLINK = $(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
120
- --mode=link $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) \
121
- $(LDFLAGS) -o $@
122
- SOURCES = $(libsnappy_la_SOURCES) $(snappy_unittest_SOURCES)
123
- DIST_SOURCES = $(libsnappy_la_SOURCES) $(snappy_unittest_SOURCES)
124
- DATA = $(dist_doc_DATA) $(nodist_pkgconfig_DATA)
125
- HEADERS = $(include_HEADERS) $(noinst_HEADERS)
126
- ETAGS = etags
127
- CTAGS = ctags
128
- am__tty_colors = \
129
- red=; grn=; lgn=; blu=; std=
130
- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
131
- distdir = $(PACKAGE)-$(VERSION)
132
- top_distdir = $(distdir)
133
- am__remove_distdir = \
134
- if test -d "$(distdir)"; then \
135
- find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \
136
- && rm -rf "$(distdir)" \
137
- || { sleep 5 && rm -rf "$(distdir)"; }; \
138
- else :; fi
139
- DIST_ARCHIVES = $(distdir).tar.gz
140
- GZIP_ENV = --best
141
- distuninstallcheck_listfiles = find . -type f -print
142
- am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
143
- | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
144
- distcleancheck_listfiles = find . -type f -print
145
- ACLOCAL = ${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run aclocal-1.11
146
- AMTAR = $${TAR-tar}
147
- AR = ar
148
- AUTOCONF = ${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run autoconf
149
- AUTOHEADER = ${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run autoheader
150
- AUTOMAKE = ${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run automake-1.11
151
- AWK = gawk
152
- CC = gcc
153
- CCDEPMODE = depmode=none
154
- CFLAGS = -g -O2
155
- CPP = gcc -E
156
- CPPFLAGS =
157
- CXX = g++
158
- CXXCPP = g++ -E
159
- CXXDEPMODE = depmode=none
160
- CXXFLAGS = -g -O2
161
- CYGPATH_W = echo
162
- DEFS = -DHAVE_CONFIG_H
163
- DEPDIR = .deps
164
- DLLTOOL = false
165
- DSYMUTIL =
166
- DUMPBIN =
167
- ECHO_C =
168
- ECHO_N = -n
169
- ECHO_T =
170
- EGREP = /bin/grep -E
171
- EXEEXT =
172
- FGREP = /bin/grep -F
173
- GREP = /bin/grep
174
- GTEST_CONFIG =
175
- GTEST_CPPFLAGS =
176
- GTEST_CXXFLAGS =
177
- GTEST_LDFLAGS =
178
- GTEST_LIBS =
179
- GTEST_VERSION =
180
- HAVE_GTEST = no
181
- INSTALL = /usr/bin/install -c
182
- INSTALL_DATA = ${INSTALL} -m 644
183
- INSTALL_PROGRAM = ${INSTALL}
184
- INSTALL_SCRIPT = ${INSTALL}
185
- INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
186
- LD = /usr/bin/ld -m elf_x86_64
187
- LDFLAGS =
188
- LIBOBJS =
189
- LIBS =
190
- LIBTOOL = $(SHELL) $(top_builddir)/libtool
191
- LIBTOOL_DEPS = ./ltmain.sh
192
- LIPO =
193
- LN_S = ln -s
194
- LTLIBOBJS =
195
- MAKEINFO = ${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/missing --run makeinfo
196
- MANIFEST_TOOL = :
197
- MKDIR_P = /bin/mkdir -p
198
- NM = /usr/bin/nm -B
199
- NMEDIT =
200
- OBJDUMP = objdump
201
- OBJEXT = o
202
- OTOOL =
203
- OTOOL64 =
204
- PACKAGE = snappy
205
- PACKAGE_BUGREPORT =
206
- PACKAGE_NAME = snappy
207
- PACKAGE_STRING = snappy 1.1.4
208
- PACKAGE_TARNAME = snappy
209
- PACKAGE_URL =
210
- PACKAGE_VERSION = 1.1.4
211
- PATH_SEPARATOR = :
212
- PKG_CONFIG =
213
- PKG_CONFIG_LIBDIR =
214
- PKG_CONFIG_PATH =
215
- RANLIB = ranlib
216
- SED = /bin/sed
217
- SET_MAKE =
218
- SHELL = /bin/bash
219
- SNAPPY_LTVERSION = 4:1:3
220
- SNAPPY_MAJOR = 1
221
- SNAPPY_MINOR = 1
222
- SNAPPY_PATCHLEVEL = 4
223
- STRIP = strip
224
- UNITTEST_LIBS = -lz
225
- VERSION = 1.1.4
226
- abs_builddir = /home/travis/build/miyucy/snappy/vendor/snappy
227
- abs_srcdir = /home/travis/build/miyucy/snappy/vendor/snappy
228
- abs_top_builddir = /home/travis/build/miyucy/snappy/vendor/snappy
229
- abs_top_srcdir = /home/travis/build/miyucy/snappy/vendor/snappy
230
- ac_ct_AR = ar
231
- ac_ct_CC = gcc
232
- ac_ct_CXX = g++
233
- ac_ct_DUMPBIN =
234
- ac_cv_have_stddef_h = 1
235
- ac_cv_have_stdint_h = 1
236
- ac_cv_have_sys_uio_h = 0
237
- am__include = include
238
- am__leading_dot = .
239
- am__quote =
240
- am__tar = $${TAR-tar} chof - "$$tardir"
241
- am__untar = $${TAR-tar} xf -
242
- bindir = ${exec_prefix}/bin
243
- build = x86_64-unknown-linux-gnu
244
- build_alias =
245
- build_cpu = x86_64
246
- build_os = linux-gnu
247
- build_vendor = unknown
248
- builddir = .
249
- datadir = ${datarootdir}
250
- datarootdir = ${prefix}/share
251
- docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
252
- dvidir = ${docdir}
253
- exec_prefix = ${prefix}
254
- gflags_CFLAGS =
255
- gflags_LIBS =
256
- host = x86_64-unknown-linux-gnu
257
- host_alias =
258
- host_cpu = x86_64
259
- host_os = linux-gnu
260
- host_vendor = unknown
261
- htmldir = ${docdir}
262
- includedir = ${prefix}/include
263
- infodir = ${datarootdir}/info
264
- install_sh = ${SHELL} /home/travis/build/miyucy/snappy/vendor/snappy/install-sh
265
- libdir = ${exec_prefix}/lib
266
- libexecdir = ${exec_prefix}/libexec
267
- localedir = ${datarootdir}/locale
268
- localstatedir = ${prefix}/var
269
- mandir = ${datarootdir}/man
270
- mkdir_p = /bin/mkdir -p
271
- oldincludedir = /usr/include
272
- pdfdir = ${docdir}
273
- prefix = /usr/local
274
- program_transform_name = s,x,x,
275
- psdir = ${docdir}
276
- sbindir = ${exec_prefix}/sbin
277
- sharedstatedir = ${prefix}/com
278
- srcdir = .
279
- sysconfdir = ${prefix}/etc
280
- target_alias =
281
- top_build_prefix =
282
- top_builddir = .
283
- top_srcdir = .
284
- ACLOCAL_AMFLAGS = -I m4
285
-
286
- # Library.
287
- lib_LTLIBRARIES = libsnappy.la
288
- libsnappy_la_SOURCES = snappy.cc snappy-sinksource.cc snappy-stubs-internal.cc snappy-c.cc
289
- libsnappy_la_LDFLAGS = -version-info $(SNAPPY_LTVERSION)
290
- include_HEADERS = snappy.h snappy-sinksource.h snappy-stubs-public.h snappy-c.h
291
- noinst_HEADERS = snappy-internal.h snappy-stubs-internal.h snappy-test.h
292
-
293
- # Unit tests and benchmarks.
294
- snappy_unittest_CPPFLAGS = $(gflags_CFLAGS) $(GTEST_CPPFLAGS)
295
- snappy_unittest_SOURCES = snappy_unittest.cc snappy-test.cc
296
- snappy_unittest_LDFLAGS = $(GTEST_LDFLAGS)
297
- snappy_unittest_LDADD = libsnappy.la $(UNITTEST_LIBS) $(gflags_LIBS) $(GTEST_LIBS)
298
- EXTRA_DIST = autogen.sh testdata/alice29.txt testdata/asyoulik.txt testdata/baddata1.snappy testdata/baddata2.snappy testdata/baddata3.snappy testdata/geo.protodata testdata/fireworks.jpeg testdata/html testdata/html_x_4 testdata/kppkn.gtb testdata/lcet10.txt testdata/paper-100k.pdf testdata/plrabn12.txt testdata/urls.10K
299
- dist_doc_DATA = ChangeLog COPYING INSTALL NEWS README format_description.txt framing_format.txt
300
- pkgconfigdir = $(libdir)/pkgconfig
301
- nodist_pkgconfig_DATA = snappy.pc
302
- all: config.h
303
- $(MAKE) $(AM_MAKEFLAGS) all-am
304
-
305
- .SUFFIXES:
306
- .SUFFIXES: .cc .lo .o .obj
307
- am--refresh: Makefile
308
- @:
309
- $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
310
- @for dep in $?; do \
311
- case '$(am__configure_deps)' in \
312
- *$$dep*) \
313
- echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \
314
- $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \
315
- && exit 0; \
316
- exit 1;; \
317
- esac; \
318
- done; \
319
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
320
- $(am__cd) $(top_srcdir) && \
321
- $(AUTOMAKE) --gnu Makefile
322
- .PRECIOUS: Makefile
323
- Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
324
- @case '$?' in \
325
- *config.status*) \
326
- echo ' $(SHELL) ./config.status'; \
327
- $(SHELL) ./config.status;; \
328
- *) \
329
- echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
330
- cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
331
- esac;
332
-
333
- $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
334
- $(SHELL) ./config.status --recheck
335
-
336
- $(top_srcdir)/configure: $(am__configure_deps)
337
- $(am__cd) $(srcdir) && $(AUTOCONF)
338
- $(ACLOCAL_M4): $(am__aclocal_m4_deps)
339
- $(am__cd) $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
340
- $(am__aclocal_m4_deps):
341
-
342
- config.h: stamp-h1
343
- @if test ! -f $@; then rm -f stamp-h1; else :; fi
344
- @if test ! -f $@; then $(MAKE) $(AM_MAKEFLAGS) stamp-h1; else :; fi
345
-
346
- stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
347
- @rm -f stamp-h1
348
- cd $(top_builddir) && $(SHELL) ./config.status config.h
349
- $(srcdir)/config.h.in: $(am__configure_deps)
350
- ($(am__cd) $(top_srcdir) && $(AUTOHEADER))
351
- rm -f stamp-h1
352
- touch $@
353
-
354
- distclean-hdr:
355
- -rm -f config.h stamp-h1
356
- snappy-stubs-public.h: $(top_builddir)/config.status $(srcdir)/snappy-stubs-public.h.in
357
- cd $(top_builddir) && $(SHELL) ./config.status $@
358
- snappy.pc: $(top_builddir)/config.status $(srcdir)/snappy.pc.in
359
- cd $(top_builddir) && $(SHELL) ./config.status $@
360
- install-libLTLIBRARIES: $(lib_LTLIBRARIES)
361
- @$(NORMAL_INSTALL)
362
- test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
363
- @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
364
- list2=; for p in $$list; do \
365
- if test -f $$p; then \
366
- list2="$$list2 $$p"; \
367
- else :; fi; \
368
- done; \
369
- test -z "$$list2" || { \
370
- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 '$(DESTDIR)$(libdir)'"; \
371
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL) $(INSTALL_STRIP_FLAG) $$list2 "$(DESTDIR)$(libdir)"; \
372
- }
373
-
374
- uninstall-libLTLIBRARIES:
375
- @$(NORMAL_UNINSTALL)
376
- @list='$(lib_LTLIBRARIES)'; test -n "$(libdir)" || list=; \
377
- for p in $$list; do \
378
- $(am__strip_dir) \
379
- echo " $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f '$(DESTDIR)$(libdir)/$$f'"; \
380
- $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=uninstall rm -f "$(DESTDIR)$(libdir)/$$f"; \
381
- done
382
-
383
- clean-libLTLIBRARIES:
384
- -test -z "$(lib_LTLIBRARIES)" || rm -f $(lib_LTLIBRARIES)
385
- @list='$(lib_LTLIBRARIES)'; for p in $$list; do \
386
- dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
387
- test "$$dir" != "$$p" || dir=.; \
388
- echo "rm -f \"$${dir}/so_locations\""; \
389
- rm -f "$${dir}/so_locations"; \
390
- done
391
- libsnappy.la: $(libsnappy_la_OBJECTS) $(libsnappy_la_DEPENDENCIES) $(EXTRA_libsnappy_la_DEPENDENCIES)
392
- $(libsnappy_la_LINK) -rpath $(libdir) $(libsnappy_la_OBJECTS) $(libsnappy_la_LIBADD) $(LIBS)
393
-
394
- clean-noinstPROGRAMS:
395
- @list='$(noinst_PROGRAMS)'; test -n "$$list" || exit 0; \
396
- echo " rm -f" $$list; \
397
- rm -f $$list || exit $$?; \
398
- test -n "$(EXEEXT)" || exit 0; \
399
- list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
400
- echo " rm -f" $$list; \
401
- rm -f $$list
402
- snappy_unittest$(EXEEXT): $(snappy_unittest_OBJECTS) $(snappy_unittest_DEPENDENCIES) $(EXTRA_snappy_unittest_DEPENDENCIES)
403
- @rm -f snappy_unittest$(EXEEXT)
404
- $(snappy_unittest_LINK) $(snappy_unittest_OBJECTS) $(snappy_unittest_LDADD) $(LIBS)
405
-
406
- mostlyclean-compile:
407
- -rm -f *.$(OBJEXT)
408
-
409
- distclean-compile:
410
- -rm -f *.tab.c
411
-
412
- #include ./$(DEPDIR)/snappy-c.Plo
413
- #include ./$(DEPDIR)/snappy-sinksource.Plo
414
- #include ./$(DEPDIR)/snappy-stubs-internal.Plo
415
- #include ./$(DEPDIR)/snappy.Plo
416
- #include ./$(DEPDIR)/snappy_unittest-snappy-test.Po
417
- #include ./$(DEPDIR)/snappy_unittest-snappy_unittest.Po
418
-
419
- .cc.o:
420
- # $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
421
- # $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
422
- # source='$<' object='$@' libtool=no
423
- # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp)
424
- $(CXXCOMPILE) -c -o $@ $<
425
-
426
- .cc.obj:
427
- # $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
428
- # $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
429
- # source='$<' object='$@' libtool=no
430
- # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp)
431
- $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
432
-
433
- .cc.lo:
434
- # $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
435
- # $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
436
- # source='$<' object='$@' libtool=yes
437
- # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp)
438
- $(LTCXXCOMPILE) -c -o $@ $<
439
-
440
- snappy_unittest-snappy_unittest.o: snappy_unittest.cc
441
- # $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(snappy_unittest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT snappy_unittest-snappy_unittest.o -MD -MP -MF $(DEPDIR)/snappy_unittest-snappy_unittest.Tpo -c -o snappy_unittest-snappy_unittest.o `test -f 'snappy_unittest.cc' || echo '$(srcdir)/'`snappy_unittest.cc
442
- # $(am__mv) $(DEPDIR)/snappy_unittest-snappy_unittest.Tpo $(DEPDIR)/snappy_unittest-snappy_unittest.Po
443
- # source='snappy_unittest.cc' object='snappy_unittest-snappy_unittest.o' libtool=no
444
- # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp)
445
- $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(snappy_unittest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o snappy_unittest-snappy_unittest.o `test -f 'snappy_unittest.cc' || echo '$(srcdir)/'`snappy_unittest.cc
446
-
447
- snappy_unittest-snappy_unittest.obj: snappy_unittest.cc
448
- # $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(snappy_unittest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT snappy_unittest-snappy_unittest.obj -MD -MP -MF $(DEPDIR)/snappy_unittest-snappy_unittest.Tpo -c -o snappy_unittest-snappy_unittest.obj `if test -f 'snappy_unittest.cc'; then $(CYGPATH_W) 'snappy_unittest.cc'; else $(CYGPATH_W) '$(srcdir)/snappy_unittest.cc'; fi`
449
- # $(am__mv) $(DEPDIR)/snappy_unittest-snappy_unittest.Tpo $(DEPDIR)/snappy_unittest-snappy_unittest.Po
450
- # source='snappy_unittest.cc' object='snappy_unittest-snappy_unittest.obj' libtool=no
451
- # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp)
452
- $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(snappy_unittest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o snappy_unittest-snappy_unittest.obj `if test -f 'snappy_unittest.cc'; then $(CYGPATH_W) 'snappy_unittest.cc'; else $(CYGPATH_W) '$(srcdir)/snappy_unittest.cc'; fi`
453
-
454
- snappy_unittest-snappy-test.o: snappy-test.cc
455
- # $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(snappy_unittest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT snappy_unittest-snappy-test.o -MD -MP -MF $(DEPDIR)/snappy_unittest-snappy-test.Tpo -c -o snappy_unittest-snappy-test.o `test -f 'snappy-test.cc' || echo '$(srcdir)/'`snappy-test.cc
456
- # $(am__mv) $(DEPDIR)/snappy_unittest-snappy-test.Tpo $(DEPDIR)/snappy_unittest-snappy-test.Po
457
- # source='snappy-test.cc' object='snappy_unittest-snappy-test.o' libtool=no
458
- # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp)
459
- $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(snappy_unittest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o snappy_unittest-snappy-test.o `test -f 'snappy-test.cc' || echo '$(srcdir)/'`snappy-test.cc
460
-
461
- snappy_unittest-snappy-test.obj: snappy-test.cc
462
- # $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(snappy_unittest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT snappy_unittest-snappy-test.obj -MD -MP -MF $(DEPDIR)/snappy_unittest-snappy-test.Tpo -c -o snappy_unittest-snappy-test.obj `if test -f 'snappy-test.cc'; then $(CYGPATH_W) 'snappy-test.cc'; else $(CYGPATH_W) '$(srcdir)/snappy-test.cc'; fi`
463
- # $(am__mv) $(DEPDIR)/snappy_unittest-snappy-test.Tpo $(DEPDIR)/snappy_unittest-snappy-test.Po
464
- # source='snappy-test.cc' object='snappy_unittest-snappy-test.obj' libtool=no
465
- # DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp)
466
- $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(snappy_unittest_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o snappy_unittest-snappy-test.obj `if test -f 'snappy-test.cc'; then $(CYGPATH_W) 'snappy-test.cc'; else $(CYGPATH_W) '$(srcdir)/snappy-test.cc'; fi`
467
-
468
- mostlyclean-libtool:
469
- -rm -f *.lo
470
-
471
- clean-libtool:
472
- -rm -rf .libs _libs
473
-
474
- distclean-libtool:
475
- -rm -f libtool config.lt
476
- install-dist_docDATA: $(dist_doc_DATA)
477
- @$(NORMAL_INSTALL)
478
- test -z "$(docdir)" || $(MKDIR_P) "$(DESTDIR)$(docdir)"
479
- @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
480
- for p in $$list; do \
481
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
482
- echo "$$d$$p"; \
483
- done | $(am__base_list) | \
484
- while read files; do \
485
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(docdir)'"; \
486
- $(INSTALL_DATA) $$files "$(DESTDIR)$(docdir)" || exit $$?; \
487
- done
488
-
489
- uninstall-dist_docDATA:
490
- @$(NORMAL_UNINSTALL)
491
- @list='$(dist_doc_DATA)'; test -n "$(docdir)" || list=; \
492
- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
493
- dir='$(DESTDIR)$(docdir)'; $(am__uninstall_files_from_dir)
494
- install-nodist_pkgconfigDATA: $(nodist_pkgconfig_DATA)
495
- @$(NORMAL_INSTALL)
496
- test -z "$(pkgconfigdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgconfigdir)"
497
- @list='$(nodist_pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
498
- for p in $$list; do \
499
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
500
- echo "$$d$$p"; \
501
- done | $(am__base_list) | \
502
- while read files; do \
503
- echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(pkgconfigdir)'"; \
504
- $(INSTALL_DATA) $$files "$(DESTDIR)$(pkgconfigdir)" || exit $$?; \
505
- done
506
-
507
- uninstall-nodist_pkgconfigDATA:
508
- @$(NORMAL_UNINSTALL)
509
- @list='$(nodist_pkgconfig_DATA)'; test -n "$(pkgconfigdir)" || list=; \
510
- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
511
- dir='$(DESTDIR)$(pkgconfigdir)'; $(am__uninstall_files_from_dir)
512
- install-includeHEADERS: $(include_HEADERS)
513
- @$(NORMAL_INSTALL)
514
- test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
515
- @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
516
- for p in $$list; do \
517
- if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
518
- echo "$$d$$p"; \
519
- done | $(am__base_list) | \
520
- while read files; do \
521
- echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(includedir)'"; \
522
- $(INSTALL_HEADER) $$files "$(DESTDIR)$(includedir)" || exit $$?; \
523
- done
524
-
525
- uninstall-includeHEADERS:
526
- @$(NORMAL_UNINSTALL)
527
- @list='$(include_HEADERS)'; test -n "$(includedir)" || list=; \
528
- files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
529
- dir='$(DESTDIR)$(includedir)'; $(am__uninstall_files_from_dir)
530
-
531
- ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
532
- list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
533
- unique=`for i in $$list; do \
534
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
535
- done | \
536
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
537
- END { if (nonempty) { for (i in files) print i; }; }'`; \
538
- mkid -fID $$unique
539
- tags: TAGS
540
-
541
- TAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
542
- $(TAGS_FILES) $(LISP)
543
- set x; \
544
- here=`pwd`; \
545
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
546
- unique=`for i in $$list; do \
547
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
548
- done | \
549
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
550
- END { if (nonempty) { for (i in files) print i; }; }'`; \
551
- shift; \
552
- if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
553
- test -n "$$unique" || unique=$$empty_fix; \
554
- if test $$# -gt 0; then \
555
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
556
- "$$@" $$unique; \
557
- else \
558
- $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
559
- $$unique; \
560
- fi; \
561
- fi
562
- ctags: CTAGS
563
- CTAGS: $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
564
- $(TAGS_FILES) $(LISP)
565
- list='$(SOURCES) $(HEADERS) config.h.in $(LISP) $(TAGS_FILES)'; \
566
- unique=`for i in $$list; do \
567
- if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
568
- done | \
569
- $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
570
- END { if (nonempty) { for (i in files) print i; }; }'`; \
571
- test -z "$(CTAGS_ARGS)$$unique" \
572
- || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
573
- $$unique
574
-
575
- GTAGS:
576
- here=`$(am__cd) $(top_builddir) && pwd` \
577
- && $(am__cd) $(top_srcdir) \
578
- && gtags -i $(GTAGS_ARGS) "$$here"
579
-
580
- distclean-tags:
581
- -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
582
-
583
- check-TESTS: $(TESTS)
584
- @failed=0; all=0; xfail=0; xpass=0; skip=0; \
585
- srcdir=$(srcdir); export srcdir; \
586
- list=' $(TESTS) '; \
587
- $(am__tty_colors); \
588
- if test -n "$$list"; then \
589
- for tst in $$list; do \
590
- if test -f ./$$tst; then dir=./; \
591
- elif test -f $$tst; then dir=; \
592
- else dir="$(srcdir)/"; fi; \
593
- if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
594
- all=`expr $$all + 1`; \
595
- case " $(XFAIL_TESTS) " in \
596
- *[\ \ ]$$tst[\ \ ]*) \
597
- xpass=`expr $$xpass + 1`; \
598
- failed=`expr $$failed + 1`; \
599
- col=$$red; res=XPASS; \
600
- ;; \
601
- *) \
602
- col=$$grn; res=PASS; \
603
- ;; \
604
- esac; \
605
- elif test $$? -ne 77; then \
606
- all=`expr $$all + 1`; \
607
- case " $(XFAIL_TESTS) " in \
608
- *[\ \ ]$$tst[\ \ ]*) \
609
- xfail=`expr $$xfail + 1`; \
610
- col=$$lgn; res=XFAIL; \
611
- ;; \
612
- *) \
613
- failed=`expr $$failed + 1`; \
614
- col=$$red; res=FAIL; \
615
- ;; \
616
- esac; \
617
- else \
618
- skip=`expr $$skip + 1`; \
619
- col=$$blu; res=SKIP; \
620
- fi; \
621
- echo "$${col}$$res$${std}: $$tst"; \
622
- done; \
623
- if test "$$all" -eq 1; then \
624
- tests="test"; \
625
- All=""; \
626
- else \
627
- tests="tests"; \
628
- All="All "; \
629
- fi; \
630
- if test "$$failed" -eq 0; then \
631
- if test "$$xfail" -eq 0; then \
632
- banner="$$All$$all $$tests passed"; \
633
- else \
634
- if test "$$xfail" -eq 1; then failures=failure; else failures=failures; fi; \
635
- banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
636
- fi; \
637
- else \
638
- if test "$$xpass" -eq 0; then \
639
- banner="$$failed of $$all $$tests failed"; \
640
- else \
641
- if test "$$xpass" -eq 1; then passes=pass; else passes=passes; fi; \
642
- banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
643
- fi; \
644
- fi; \
645
- dashes="$$banner"; \
646
- skipped=""; \
647
- if test "$$skip" -ne 0; then \
648
- if test "$$skip" -eq 1; then \
649
- skipped="($$skip test was not run)"; \
650
- else \
651
- skipped="($$skip tests were not run)"; \
652
- fi; \
653
- test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
654
- dashes="$$skipped"; \
655
- fi; \
656
- report=""; \
657
- if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
658
- report="Please report to $(PACKAGE_BUGREPORT)"; \
659
- test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
660
- dashes="$$report"; \
661
- fi; \
662
- dashes=`echo "$$dashes" | sed s/./=/g`; \
663
- if test "$$failed" -eq 0; then \
664
- col="$$grn"; \
665
- else \
666
- col="$$red"; \
667
- fi; \
668
- echo "$${col}$$dashes$${std}"; \
669
- echo "$${col}$$banner$${std}"; \
670
- test -z "$$skipped" || echo "$${col}$$skipped$${std}"; \
671
- test -z "$$report" || echo "$${col}$$report$${std}"; \
672
- echo "$${col}$$dashes$${std}"; \
673
- test "$$failed" -eq 0; \
674
- else :; fi
675
-
676
- distdir: $(DISTFILES)
677
- $(am__remove_distdir)
678
- test -d "$(distdir)" || mkdir "$(distdir)"
679
- @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
680
- topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
681
- list='$(DISTFILES)'; \
682
- dist_files=`for file in $$list; do echo $$file; done | \
683
- sed -e "s|^$$srcdirstrip/||;t" \
684
- -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
685
- case $$dist_files in \
686
- */*) $(MKDIR_P) `echo "$$dist_files" | \
687
- sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
688
- sort -u` ;; \
689
- esac; \
690
- for file in $$dist_files; do \
691
- if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
692
- if test -d $$d/$$file; then \
693
- dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
694
- if test -d "$(distdir)/$$file"; then \
695
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
696
- fi; \
697
- if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
698
- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
699
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
700
- fi; \
701
- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
702
- else \
703
- test -f "$(distdir)/$$file" \
704
- || cp -p $$d/$$file "$(distdir)/$$file" \
705
- || exit 1; \
706
- fi; \
707
- done
708
- -test -n "$(am__skip_mode_fix)" \
709
- || find "$(distdir)" -type d ! -perm -755 \
710
- -exec chmod u+rwx,go+rx {} \; -o \
711
- ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
712
- ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
713
- ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
714
- || chmod -R a+r "$(distdir)"
715
- dist-gzip: distdir
716
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
717
- $(am__remove_distdir)
718
-
719
- dist-bzip2: distdir
720
- tardir=$(distdir) && $(am__tar) | BZIP2=$${BZIP2--9} bzip2 -c >$(distdir).tar.bz2
721
- $(am__remove_distdir)
722
-
723
- dist-lzip: distdir
724
- tardir=$(distdir) && $(am__tar) | lzip -c $${LZIP_OPT--9} >$(distdir).tar.lz
725
- $(am__remove_distdir)
726
-
727
- dist-lzma: distdir
728
- tardir=$(distdir) && $(am__tar) | lzma -9 -c >$(distdir).tar.lzma
729
- $(am__remove_distdir)
730
-
731
- dist-xz: distdir
732
- tardir=$(distdir) && $(am__tar) | XZ_OPT=$${XZ_OPT--e} xz -c >$(distdir).tar.xz
733
- $(am__remove_distdir)
734
-
735
- dist-tarZ: distdir
736
- tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
737
- $(am__remove_distdir)
738
-
739
- dist-shar: distdir
740
- shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
741
- $(am__remove_distdir)
742
-
743
- dist-zip: distdir
744
- -rm -f $(distdir).zip
745
- zip -rq $(distdir).zip $(distdir)
746
- $(am__remove_distdir)
747
-
748
- dist dist-all: distdir
749
- tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
750
- $(am__remove_distdir)
751
-
752
- # This target untars the dist file and tries a VPATH configuration. Then
753
- # it guarantees that the distribution is self-contained by making another
754
- # tarfile.
755
- distcheck: dist
756
- case '$(DIST_ARCHIVES)' in \
757
- *.tar.gz*) \
758
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
759
- *.tar.bz2*) \
760
- bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
761
- *.tar.lzma*) \
762
- lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
763
- *.tar.lz*) \
764
- lzip -dc $(distdir).tar.lz | $(am__untar) ;;\
765
- *.tar.xz*) \
766
- xz -dc $(distdir).tar.xz | $(am__untar) ;;\
767
- *.tar.Z*) \
768
- uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
769
- *.shar.gz*) \
770
- GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
771
- *.zip*) \
772
- unzip $(distdir).zip ;;\
773
- esac
774
- chmod -R a-w $(distdir); chmod a+w $(distdir)
775
- mkdir $(distdir)/_build
776
- mkdir $(distdir)/_inst
777
- chmod a-w $(distdir)
778
- test -d $(distdir)/_build || exit 0; \
779
- dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
780
- && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
781
- && am__cwd=`pwd` \
782
- && $(am__cd) $(distdir)/_build \
783
- && ../configure --srcdir=.. --prefix="$$dc_install_base" \
784
- $(AM_DISTCHECK_CONFIGURE_FLAGS) \
785
- $(DISTCHECK_CONFIGURE_FLAGS) \
786
- && $(MAKE) $(AM_MAKEFLAGS) \
787
- && $(MAKE) $(AM_MAKEFLAGS) dvi \
788
- && $(MAKE) $(AM_MAKEFLAGS) check \
789
- && $(MAKE) $(AM_MAKEFLAGS) install \
790
- && $(MAKE) $(AM_MAKEFLAGS) installcheck \
791
- && $(MAKE) $(AM_MAKEFLAGS) uninstall \
792
- && $(MAKE) $(AM_MAKEFLAGS) distuninstallcheck_dir="$$dc_install_base" \
793
- distuninstallcheck \
794
- && chmod -R a-w "$$dc_install_base" \
795
- && ({ \
796
- (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
797
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
798
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
799
- && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
800
- distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
801
- } || { rm -rf "$$dc_destdir"; exit 1; }) \
802
- && rm -rf "$$dc_destdir" \
803
- && $(MAKE) $(AM_MAKEFLAGS) dist \
804
- && rm -rf $(DIST_ARCHIVES) \
805
- && $(MAKE) $(AM_MAKEFLAGS) distcleancheck \
806
- && cd "$$am__cwd" \
807
- || exit 1
808
- $(am__remove_distdir)
809
- @(echo "$(distdir) archives ready for distribution: "; \
810
- list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
811
- sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
812
- distuninstallcheck:
813
- @test -n '$(distuninstallcheck_dir)' || { \
814
- echo 'ERROR: trying to run $@ with an empty' \
815
- '$$(distuninstallcheck_dir)' >&2; \
816
- exit 1; \
817
- }; \
818
- $(am__cd) '$(distuninstallcheck_dir)' || { \
819
- echo 'ERROR: cannot chdir into $(distuninstallcheck_dir)' >&2; \
820
- exit 1; \
821
- }; \
822
- test `$(am__distuninstallcheck_listfiles) | wc -l` -eq 0 \
823
- || { echo "ERROR: files left after uninstall:" ; \
824
- if test -n "$(DESTDIR)"; then \
825
- echo " (check DESTDIR support)"; \
826
- fi ; \
827
- $(distuninstallcheck_listfiles) ; \
828
- exit 1; } >&2
829
- distcleancheck: distclean
830
- @if test '$(srcdir)' = . ; then \
831
- echo "ERROR: distcleancheck can only run from a VPATH build" ; \
832
- exit 1 ; \
833
- fi
834
- @test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
835
- || { echo "ERROR: files left in build directory after distclean:" ; \
836
- $(distcleancheck_listfiles) ; \
837
- exit 1; } >&2
838
- check-am: all-am
839
- $(MAKE) $(AM_MAKEFLAGS) check-TESTS
840
- check: check-am
841
- all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(DATA) $(HEADERS) \
842
- config.h
843
- installdirs:
844
- for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(docdir)" "$(DESTDIR)$(pkgconfigdir)" "$(DESTDIR)$(includedir)"; do \
845
- test -z "$$dir" || $(MKDIR_P) "$$dir"; \
846
- done
847
- install: install-am
848
- install-exec: install-exec-am
849
- install-data: install-data-am
850
- uninstall: uninstall-am
851
-
852
- install-am: all-am
853
- @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
854
-
855
- installcheck: installcheck-am
856
- install-strip:
857
- if test -z '$(STRIP)'; then \
858
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
859
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
860
- install; \
861
- else \
862
- $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
863
- install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
864
- "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
865
- fi
866
- mostlyclean-generic:
867
-
868
- clean-generic:
869
-
870
- distclean-generic:
871
- -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
872
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
873
-
874
- maintainer-clean-generic:
875
- @echo "This command is intended for maintainers to use"
876
- @echo "it deletes files that may require special tools to rebuild."
877
- clean: clean-am
878
-
879
- clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \
880
- clean-noinstPROGRAMS mostlyclean-am
881
-
882
- distclean: distclean-am
883
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
884
- -rm -rf ./$(DEPDIR)
885
- -rm -f Makefile
886
- distclean-am: clean-am distclean-compile distclean-generic \
887
- distclean-hdr distclean-libtool distclean-tags
888
-
889
- dvi: dvi-am
890
-
891
- dvi-am:
892
-
893
- html: html-am
894
-
895
- html-am:
896
-
897
- info: info-am
898
-
899
- info-am:
900
-
901
- install-data-am: install-dist_docDATA install-includeHEADERS \
902
- install-nodist_pkgconfigDATA
903
-
904
- install-dvi: install-dvi-am
905
-
906
- install-dvi-am:
907
-
908
- install-exec-am: install-libLTLIBRARIES
909
-
910
- install-html: install-html-am
911
-
912
- install-html-am:
913
-
914
- install-info: install-info-am
915
-
916
- install-info-am:
917
-
918
- install-man:
919
-
920
- install-pdf: install-pdf-am
921
-
922
- install-pdf-am:
923
-
924
- install-ps: install-ps-am
925
-
926
- install-ps-am:
927
-
928
- installcheck-am:
929
-
930
- maintainer-clean: maintainer-clean-am
931
- -rm -f $(am__CONFIG_DISTCLEAN_FILES)
932
- -rm -rf $(top_srcdir)/autom4te.cache
933
- -rm -rf ./$(DEPDIR)
934
- -rm -f Makefile
935
- maintainer-clean-am: distclean-am maintainer-clean-generic
936
-
937
- mostlyclean: mostlyclean-am
938
-
939
- mostlyclean-am: mostlyclean-compile mostlyclean-generic \
940
- mostlyclean-libtool
941
-
942
- pdf: pdf-am
943
-
944
- pdf-am:
945
-
946
- ps: ps-am
947
-
948
- ps-am:
949
-
950
- uninstall-am: uninstall-dist_docDATA uninstall-includeHEADERS \
951
- uninstall-libLTLIBRARIES uninstall-nodist_pkgconfigDATA
952
-
953
- .MAKE: all check-am install-am install-strip
954
-
955
- .PHONY: CTAGS GTAGS all all-am am--refresh check check-TESTS check-am \
956
- clean clean-generic clean-libLTLIBRARIES clean-libtool \
957
- clean-noinstPROGRAMS ctags dist dist-all dist-bzip2 dist-gzip \
958
- dist-lzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \
959
- distcheck distclean distclean-compile distclean-generic \
960
- distclean-hdr distclean-libtool distclean-tags distcleancheck \
961
- distdir distuninstallcheck dvi dvi-am html html-am info \
962
- info-am install install-am install-data install-data-am \
963
- install-dist_docDATA install-dvi install-dvi-am install-exec \
964
- install-exec-am install-html install-html-am \
965
- install-includeHEADERS install-info install-info-am \
966
- install-libLTLIBRARIES install-man \
967
- install-nodist_pkgconfigDATA install-pdf install-pdf-am \
968
- install-ps install-ps-am install-strip installcheck \
969
- installcheck-am installdirs maintainer-clean \
970
- maintainer-clean-generic mostlyclean mostlyclean-compile \
971
- mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
972
- tags uninstall uninstall-am uninstall-dist_docDATA \
973
- uninstall-includeHEADERS uninstall-libLTLIBRARIES \
974
- uninstall-nodist_pkgconfigDATA
975
-
976
-
977
- libtool: $(LIBTOOL_DEPS)
978
- $(SHELL) ./config.status --recheck
979
-
980
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
981
- # Otherwise a system limit (for SysV at least) may be exceeded.
982
- .NOEXPORT: