snappy 0.0.17 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +6 -1
  3. data/Gemfile +5 -0
  4. data/README.md +28 -4
  5. data/Rakefile +1 -0
  6. data/ext/extconf.rb +21 -16
  7. data/lib/snappy.rb +1 -0
  8. data/lib/snappy/hadoop.rb +22 -0
  9. data/lib/snappy/hadoop/reader.rb +58 -0
  10. data/lib/snappy/hadoop/writer.rb +51 -0
  11. data/lib/snappy/reader.rb +4 -4
  12. data/lib/snappy/version.rb +1 -1
  13. data/smoke.sh +1 -1
  14. data/snappy.gemspec +0 -4
  15. data/test/hadoop/test-snappy-hadoop-reader.rb +103 -0
  16. data/test/hadoop/test-snappy-hadoop-writer.rb +48 -0
  17. data/test/test-snappy-hadoop.rb +22 -0
  18. data/vendor/snappy/CMakeLists.txt +174 -0
  19. data/vendor/snappy/CONTRIBUTING.md +26 -0
  20. data/vendor/snappy/NEWS +32 -0
  21. data/vendor/snappy/{README → README.md} +13 -3
  22. data/vendor/snappy/cmake/SnappyConfig.cmake +1 -0
  23. data/vendor/snappy/cmake/config.h.in +62 -0
  24. data/vendor/snappy/snappy-internal.h +9 -12
  25. data/vendor/snappy/snappy-stubs-internal.h +63 -30
  26. data/vendor/snappy/snappy-stubs-public.h.in +13 -19
  27. data/vendor/snappy/snappy-test.cc +10 -7
  28. data/vendor/snappy/snappy-test.h +12 -38
  29. data/vendor/snappy/snappy.cc +81 -30
  30. data/vendor/snappy/snappy_unittest.cc +16 -137
  31. metadata +18 -82
  32. data/vendor/snappy/ChangeLog +0 -2468
  33. data/vendor/snappy/INSTALL +0 -370
  34. data/vendor/snappy/Makefile +0 -982
  35. data/vendor/snappy/Makefile.am +0 -26
  36. data/vendor/snappy/Makefile.in +0 -982
  37. data/vendor/snappy/aclocal.m4 +0 -9738
  38. data/vendor/snappy/autogen.sh +0 -12
  39. data/vendor/snappy/autom4te.cache/output.0 +0 -18856
  40. data/vendor/snappy/autom4te.cache/output.1 +0 -18852
  41. data/vendor/snappy/autom4te.cache/requests +0 -297
  42. data/vendor/snappy/autom4te.cache/traces.0 +0 -2689
  43. data/vendor/snappy/autom4te.cache/traces.1 +0 -714
  44. data/vendor/snappy/config.guess +0 -1530
  45. data/vendor/snappy/config.h +0 -135
  46. data/vendor/snappy/config.h.in +0 -134
  47. data/vendor/snappy/config.log +0 -1640
  48. data/vendor/snappy/config.status +0 -2318
  49. data/vendor/snappy/config.sub +0 -1773
  50. data/vendor/snappy/configure +0 -18852
  51. data/vendor/snappy/configure.ac +0 -134
  52. data/vendor/snappy/depcomp +0 -688
  53. data/vendor/snappy/install-sh +0 -527
  54. data/vendor/snappy/libtool +0 -10246
  55. data/vendor/snappy/ltmain.sh +0 -9661
  56. data/vendor/snappy/m4/gtest.m4 +0 -74
  57. data/vendor/snappy/m4/libtool.m4 +0 -8001
  58. data/vendor/snappy/m4/ltoptions.m4 +0 -384
  59. data/vendor/snappy/m4/ltsugar.m4 +0 -123
  60. data/vendor/snappy/m4/ltversion.m4 +0 -23
  61. data/vendor/snappy/m4/lt~obsolete.m4 +0 -98
  62. data/vendor/snappy/missing +0 -331
  63. data/vendor/snappy/snappy-stubs-public.h +0 -100
  64. data/vendor/snappy/snappy.pc +0 -10
  65. data/vendor/snappy/snappy.pc.in +0 -10
  66. data/vendor/snappy/stamp-h1 +0 -1
@@ -1,26 +0,0 @@
1
- ACLOCAL_AMFLAGS = -I m4
2
-
3
- # Library.
4
- lib_LTLIBRARIES = libsnappy.la
5
- libsnappy_la_SOURCES = snappy.cc snappy-sinksource.cc snappy-stubs-internal.cc snappy-c.cc
6
- libsnappy_la_LDFLAGS = -version-info $(SNAPPY_LTVERSION)
7
-
8
- include_HEADERS = snappy.h snappy-sinksource.h snappy-stubs-public.h snappy-c.h
9
- noinst_HEADERS = snappy-internal.h snappy-stubs-internal.h snappy-test.h
10
-
11
- # Unit tests and benchmarks.
12
- snappy_unittest_CPPFLAGS = $(gflags_CFLAGS) $(GTEST_CPPFLAGS)
13
- snappy_unittest_SOURCES = snappy_unittest.cc snappy-test.cc
14
- snappy_unittest_LDFLAGS = $(GTEST_LDFLAGS)
15
- snappy_unittest_LDADD = libsnappy.la $(UNITTEST_LIBS) $(gflags_LIBS) $(GTEST_LIBS)
16
- TESTS = snappy_unittest
17
- noinst_PROGRAMS = $(TESTS)
18
-
19
- 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
20
- dist_doc_DATA = ChangeLog COPYING INSTALL NEWS README format_description.txt framing_format.txt
21
-
22
- pkgconfigdir = $(libdir)/pkgconfig
23
- nodist_pkgconfig_DATA = snappy.pc
24
-
25
- libtool: $(LIBTOOL_DEPS)
26
- $(SHELL) ./config.status --recheck
@@ -1,982 +0,0 @@
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
-
21
- VPATH = @srcdir@
22
- pkgdatadir = $(datadir)/@PACKAGE@
23
- pkgincludedir = $(includedir)/@PACKAGE@
24
- pkglibdir = $(libdir)/@PACKAGE@
25
- pkglibexecdir = $(libexecdir)/@PACKAGE@
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 = @build@
39
- host_triplet = @host@
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.@am__isrc@
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 = @ACLOCAL@
146
- AMTAR = @AMTAR@
147
- AR = @AR@
148
- AUTOCONF = @AUTOCONF@
149
- AUTOHEADER = @AUTOHEADER@
150
- AUTOMAKE = @AUTOMAKE@
151
- AWK = @AWK@
152
- CC = @CC@
153
- CCDEPMODE = @CCDEPMODE@
154
- CFLAGS = @CFLAGS@
155
- CPP = @CPP@
156
- CPPFLAGS = @CPPFLAGS@
157
- CXX = @CXX@
158
- CXXCPP = @CXXCPP@
159
- CXXDEPMODE = @CXXDEPMODE@
160
- CXXFLAGS = @CXXFLAGS@
161
- CYGPATH_W = @CYGPATH_W@
162
- DEFS = @DEFS@
163
- DEPDIR = @DEPDIR@
164
- DLLTOOL = @DLLTOOL@
165
- DSYMUTIL = @DSYMUTIL@
166
- DUMPBIN = @DUMPBIN@
167
- ECHO_C = @ECHO_C@
168
- ECHO_N = @ECHO_N@
169
- ECHO_T = @ECHO_T@
170
- EGREP = @EGREP@
171
- EXEEXT = @EXEEXT@
172
- FGREP = @FGREP@
173
- GREP = @GREP@
174
- GTEST_CONFIG = @GTEST_CONFIG@
175
- GTEST_CPPFLAGS = @GTEST_CPPFLAGS@
176
- GTEST_CXXFLAGS = @GTEST_CXXFLAGS@
177
- GTEST_LDFLAGS = @GTEST_LDFLAGS@
178
- GTEST_LIBS = @GTEST_LIBS@
179
- GTEST_VERSION = @GTEST_VERSION@
180
- HAVE_GTEST = @HAVE_GTEST@
181
- INSTALL = @INSTALL@
182
- INSTALL_DATA = @INSTALL_DATA@
183
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
184
- INSTALL_SCRIPT = @INSTALL_SCRIPT@
185
- INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
186
- LD = @LD@
187
- LDFLAGS = @LDFLAGS@
188
- LIBOBJS = @LIBOBJS@
189
- LIBS = @LIBS@
190
- LIBTOOL = @LIBTOOL@
191
- LIBTOOL_DEPS = @LIBTOOL_DEPS@
192
- LIPO = @LIPO@
193
- LN_S = @LN_S@
194
- LTLIBOBJS = @LTLIBOBJS@
195
- MAKEINFO = @MAKEINFO@
196
- MANIFEST_TOOL = @MANIFEST_TOOL@
197
- MKDIR_P = @MKDIR_P@
198
- NM = @NM@
199
- NMEDIT = @NMEDIT@
200
- OBJDUMP = @OBJDUMP@
201
- OBJEXT = @OBJEXT@
202
- OTOOL = @OTOOL@
203
- OTOOL64 = @OTOOL64@
204
- PACKAGE = @PACKAGE@
205
- PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
206
- PACKAGE_NAME = @PACKAGE_NAME@
207
- PACKAGE_STRING = @PACKAGE_STRING@
208
- PACKAGE_TARNAME = @PACKAGE_TARNAME@
209
- PACKAGE_URL = @PACKAGE_URL@
210
- PACKAGE_VERSION = @PACKAGE_VERSION@
211
- PATH_SEPARATOR = @PATH_SEPARATOR@
212
- PKG_CONFIG = @PKG_CONFIG@
213
- PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
214
- PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
215
- RANLIB = @RANLIB@
216
- SED = @SED@
217
- SET_MAKE = @SET_MAKE@
218
- SHELL = @SHELL@
219
- SNAPPY_LTVERSION = @SNAPPY_LTVERSION@
220
- SNAPPY_MAJOR = @SNAPPY_MAJOR@
221
- SNAPPY_MINOR = @SNAPPY_MINOR@
222
- SNAPPY_PATCHLEVEL = @SNAPPY_PATCHLEVEL@
223
- STRIP = @STRIP@
224
- UNITTEST_LIBS = @UNITTEST_LIBS@
225
- VERSION = @VERSION@
226
- abs_builddir = @abs_builddir@
227
- abs_srcdir = @abs_srcdir@
228
- abs_top_builddir = @abs_top_builddir@
229
- abs_top_srcdir = @abs_top_srcdir@
230
- ac_ct_AR = @ac_ct_AR@
231
- ac_ct_CC = @ac_ct_CC@
232
- ac_ct_CXX = @ac_ct_CXX@
233
- ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
234
- ac_cv_have_stddef_h = @ac_cv_have_stddef_h@
235
- ac_cv_have_stdint_h = @ac_cv_have_stdint_h@
236
- ac_cv_have_sys_uio_h = @ac_cv_have_sys_uio_h@
237
- am__include = @am__include@
238
- am__leading_dot = @am__leading_dot@
239
- am__quote = @am__quote@
240
- am__tar = @am__tar@
241
- am__untar = @am__untar@
242
- bindir = @bindir@
243
- build = @build@
244
- build_alias = @build_alias@
245
- build_cpu = @build_cpu@
246
- build_os = @build_os@
247
- build_vendor = @build_vendor@
248
- builddir = @builddir@
249
- datadir = @datadir@
250
- datarootdir = @datarootdir@
251
- docdir = @docdir@
252
- dvidir = @dvidir@
253
- exec_prefix = @exec_prefix@
254
- gflags_CFLAGS = @gflags_CFLAGS@
255
- gflags_LIBS = @gflags_LIBS@
256
- host = @host@
257
- host_alias = @host_alias@
258
- host_cpu = @host_cpu@
259
- host_os = @host_os@
260
- host_vendor = @host_vendor@
261
- htmldir = @htmldir@
262
- includedir = @includedir@
263
- infodir = @infodir@
264
- install_sh = @install_sh@
265
- libdir = @libdir@
266
- libexecdir = @libexecdir@
267
- localedir = @localedir@
268
- localstatedir = @localstatedir@
269
- mandir = @mandir@
270
- mkdir_p = @mkdir_p@
271
- oldincludedir = @oldincludedir@
272
- pdfdir = @pdfdir@
273
- prefix = @prefix@
274
- program_transform_name = @program_transform_name@
275
- psdir = @psdir@
276
- sbindir = @sbindir@
277
- sharedstatedir = @sharedstatedir@
278
- srcdir = @srcdir@
279
- sysconfdir = @sysconfdir@
280
- target_alias = @target_alias@
281
- top_build_prefix = @top_build_prefix@
282
- top_builddir = @top_builddir@
283
- top_srcdir = @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
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snappy-c.Plo@am__quote@
413
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snappy-sinksource.Plo@am__quote@
414
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snappy-stubs-internal.Plo@am__quote@
415
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snappy.Plo@am__quote@
416
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snappy_unittest-snappy-test.Po@am__quote@
417
- @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/snappy_unittest-snappy_unittest.Po@am__quote@
418
-
419
- .cc.o:
420
- @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
421
- @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
422
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
423
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
424
- @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
425
-
426
- .cc.obj:
427
- @am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
428
- @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
429
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
430
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
431
- @am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
432
-
433
- .cc.lo:
434
- @am__fastdepCXX_TRUE@ $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
435
- @am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
436
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
437
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
438
- @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
439
-
440
- snappy_unittest-snappy_unittest.o: snappy_unittest.cc
441
- @am__fastdepCXX_TRUE@ $(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__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/snappy_unittest-snappy_unittest.Tpo $(DEPDIR)/snappy_unittest-snappy_unittest.Po
443
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='snappy_unittest.cc' object='snappy_unittest-snappy_unittest.o' libtool=no @AMDEPBACKSLASH@
444
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
445
- @am__fastdepCXX_FALSE@ $(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
- @am__fastdepCXX_TRUE@ $(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__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/snappy_unittest-snappy_unittest.Tpo $(DEPDIR)/snappy_unittest-snappy_unittest.Po
450
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='snappy_unittest.cc' object='snappy_unittest-snappy_unittest.obj' libtool=no @AMDEPBACKSLASH@
451
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
452
- @am__fastdepCXX_FALSE@ $(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
- @am__fastdepCXX_TRUE@ $(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__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/snappy_unittest-snappy-test.Tpo $(DEPDIR)/snappy_unittest-snappy-test.Po
457
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='snappy-test.cc' object='snappy_unittest-snappy-test.o' libtool=no @AMDEPBACKSLASH@
458
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
459
- @am__fastdepCXX_FALSE@ $(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
- @am__fastdepCXX_TRUE@ $(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__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/snappy_unittest-snappy-test.Tpo $(DEPDIR)/snappy_unittest-snappy-test.Po
464
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='snappy-test.cc' object='snappy_unittest-snappy-test.obj' libtool=no @AMDEPBACKSLASH@
465
- @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
466
- @am__fastdepCXX_FALSE@ $(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: