thrift 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/InstalledFiles +1 -0
  2. data/Makefile +512 -0
  3. data/Makefile.am +3 -1
  4. data/Makefile.in +117 -45
  5. data/Manifest +17 -0
  6. data/Rakefile +6 -8
  7. data/benchmark/gen-rb/benchmark_constants.rb +10 -0
  8. data/benchmark/gen-rb/benchmark_service.rb +80 -0
  9. data/benchmark/gen-rb/benchmark_types.rb +9 -0
  10. data/debug_proto_test/gen-rb/debug_proto_test_constants.rb +273 -0
  11. data/debug_proto_test/gen-rb/debug_proto_test_types.rb +705 -0
  12. data/debug_proto_test/gen-rb/empty_service.rb +24 -0
  13. data/debug_proto_test/gen-rb/inherited.rb +79 -0
  14. data/debug_proto_test/gen-rb/reverse_order_service.rb +82 -0
  15. data/debug_proto_test/gen-rb/service_for_exception_with_a_map.rb +81 -0
  16. data/debug_proto_test/gen-rb/srv.rb +330 -0
  17. data/ext/binary_protocol_accelerated.c +24 -11
  18. data/ext/compact_protocol.c +14 -11
  19. data/ext/constants.h +1 -0
  20. data/ext/memory_buffer.c +56 -1
  21. data/ext/struct.c +76 -19
  22. data/ext/thrift_native.c +2 -0
  23. data/lib/thrift/exceptions.rb +3 -1
  24. data/lib/thrift/protocol/binary_protocol.rb +14 -10
  25. data/lib/thrift/protocol/compact_protocol.rb +7 -4
  26. data/lib/thrift/server/nonblocking_server.rb +15 -5
  27. data/lib/thrift/struct.rb +9 -6
  28. data/lib/thrift/struct_union.rb +47 -14
  29. data/lib/thrift/transport/base_transport.rb +39 -2
  30. data/lib/thrift/transport/buffered_transport.rb +31 -0
  31. data/lib/thrift/transport/framed_transport.rb +26 -0
  32. data/lib/thrift/transport/memory_buffer_transport.rb +29 -0
  33. data/spec/binary_protocol_spec.rb +2 -4
  34. data/spec/gen-rb/nonblocking_service.rb +272 -0
  35. data/spec/gen-rb/thrift_spec_constants.rb +10 -0
  36. data/spec/gen-rb/thrift_spec_types.rb +345 -0
  37. data/spec/spec_helper.rb +1 -3
  38. data/thrift.gemspec +10 -11
  39. data/tmp/thrift-0.7.0.gem +0 -0
  40. metadata +22 -8
data/InstalledFiles ADDED
@@ -0,0 +1 @@
1
+ /Library/Ruby/Site/1.8/universal-darwin10.0/./thrift_native.bundle
data/Makefile ADDED
@@ -0,0 +1,512 @@
1
+ # Makefile.in generated by automake 1.9.6 from Makefile.am.
2
+ # lib/rb/Makefile. Generated from Makefile.in by configure.
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
+
16
+
17
+ #
18
+ # Licensed to the Apache Software Foundation (ASF) under one
19
+ # or more contributor license agreements. See the NOTICE file
20
+ # distributed with this work for additional information
21
+ # regarding copyright ownership. The ASF licenses this file
22
+ # to you under the Apache License, Version 2.0 (the
23
+ # "License"); you may not use this file except in compliance
24
+ # with the License. You may obtain a copy of the License at
25
+ #
26
+ # http://www.apache.org/licenses/LICENSE-2.0
27
+ #
28
+ # Unless required by applicable law or agreed to in writing,
29
+ # software distributed under the License is distributed on an
30
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
31
+ # KIND, either express or implied. See the License for the
32
+ # specific language governing permissions and limitations
33
+ # under the License.
34
+ #
35
+ srcdir = .
36
+ top_srcdir = ../..
37
+
38
+ pkgdatadir = $(datadir)/thrift
39
+ pkglibdir = $(libdir)/thrift
40
+ pkgincludedir = $(includedir)/thrift
41
+ top_builddir = ../..
42
+ am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
43
+ INSTALL = /usr/bin/install -c
44
+ install_sh_DATA = $(install_sh) -c -m 644
45
+ install_sh_PROGRAM = $(install_sh) -c
46
+ install_sh_SCRIPT = $(install_sh) -c
47
+ INSTALL_HEADER = $(INSTALL_DATA)
48
+ transform = $(program_transform_name)
49
+ NORMAL_INSTALL = :
50
+ PRE_INSTALL = :
51
+ POST_INSTALL = :
52
+ NORMAL_UNINSTALL = :
53
+ PRE_UNINSTALL = :
54
+ POST_UNINSTALL = :
55
+ build_triplet = i686-apple-darwin10.8.0
56
+ host_triplet = i686-apple-darwin10.8.0
57
+ subdir = lib/rb
58
+ DIST_COMMON = README $(srcdir)/Makefile.am $(srcdir)/Makefile.in
59
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
60
+ am__aclocal_m4_deps = $(top_srcdir)/aclocal/ax_boost_base.m4 \
61
+ $(top_srcdir)/aclocal/ax_javac_and_java.m4 \
62
+ $(top_srcdir)/aclocal/ax_lib_event.m4 \
63
+ $(top_srcdir)/aclocal/ax_lib_zlib.m4 \
64
+ $(top_srcdir)/aclocal/ax_prog_perl_modules.m4 \
65
+ $(top_srcdir)/aclocal/ax_signed_right_shift.m4 \
66
+ $(top_srcdir)/aclocal/ax_thrift_internal.m4 \
67
+ $(top_srcdir)/configure.ac
68
+ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
69
+ $(ACLOCAL_M4)
70
+ mkinstalldirs = $(install_sh) -d
71
+ CONFIG_HEADER = $(top_builddir)/config.h
72
+ CONFIG_CLEAN_FILES =
73
+ SOURCES =
74
+ DIST_SOURCES =
75
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
76
+ ACLOCAL = ${SHELL} /Users/jake/Downloads/thrift/thrift-0.7.0/missing --run aclocal-1.9
77
+ ALLOCA =
78
+ AMDEP_FALSE = #
79
+ AMDEP_TRUE =
80
+ AMTAR = ${SHELL} /Users/jake/Downloads/thrift/thrift-0.7.0/missing --run tar
81
+ AMX_HAVE_LIBEVENT_FALSE = #
82
+ AMX_HAVE_LIBEVENT_TRUE =
83
+ AMX_HAVE_ZLIB_FALSE = #
84
+ AMX_HAVE_ZLIB_TRUE =
85
+ ANT = /usr/bin/ant
86
+ ANT_FLAGS =
87
+ AR = ar
88
+ AUTOCONF = ${SHELL} /Users/jake/Downloads/thrift/thrift-0.7.0/missing --run autoconf
89
+ AUTOHEADER = ${SHELL} /Users/jake/Downloads/thrift/thrift-0.7.0/missing --run autoheader
90
+ AUTOMAKE = ${SHELL} /Users/jake/Downloads/thrift/thrift-0.7.0/missing --run automake-1.9
91
+ AWK = awk
92
+ BOOST_CPPFLAGS = -I/usr/local/include
93
+ BOOST_LDFLAGS = -L/usr/local/lib
94
+ BOOST_ROOT_PATH = /usr/local
95
+ CABAL = true
96
+ CABAL_CONFIGURE_FLAGS =
97
+ CC = gcc
98
+ CCDEPMODE = depmode=gcc3
99
+ CFLAGS = -g -O2
100
+ CLASSPATH =
101
+ CPP = gcc -E
102
+ CPPFLAGS =
103
+ CXX = g++
104
+ CXXCPP = g++ -E
105
+ CXXDEPMODE = depmode=gcc3
106
+ CXXFLAGS = -g -O2
107
+ CYGPATH_W = echo
108
+ DEFS = -DHAVE_CONFIG_H
109
+ DEPDIR = .deps
110
+ ECHO = /bin/echo
111
+ ECHO_C = \c
112
+ ECHO_N =
113
+ ECHO_T =
114
+ EGREP = /usr/bin/grep -E
115
+ ENABLE_COVERAGE = 2
116
+ ERL =
117
+ ERLANG_INSTALL_LIB_DIR =
118
+ ERLANG_INSTALL_LIB_DIR_thrift =
119
+ ERLANG_LIB_DIR =
120
+ ERLC =
121
+ ERLCFLAGS =
122
+ EXEEXT =
123
+ F77 =
124
+ FFLAGS =
125
+ GCOV_CFLAGS =
126
+ GCOV_CXXFLAGS =
127
+ GCOV_LDFLAGS =
128
+ GLIB_CFLAGS =
129
+ GLIB_LIBS =
130
+ GOARCH = amd64
131
+ GOBIN = /usr/local/bin
132
+ GOBJECT_CFLAGS =
133
+ GOBJECT_LIBS =
134
+ GOINSTALL = /usr/local/bin/goinstall
135
+ GOMAKE = /usr/local/bin/gomake
136
+ GOROOT = /usr/local/share/go
137
+ GO_C = /usr/local/bin/6g
138
+ GO_L = /usr/local/bin/6l
139
+ GREP = /usr/bin/grep
140
+ HAVE_RSPEC_FALSE =
141
+ HAVE_RSPEC_TRUE = #
142
+ INSTALLDIRS = vendor
143
+ INSTALL_DATA = ${INSTALL} -m 644
144
+ INSTALL_PROGRAM = ${INSTALL}
145
+ INSTALL_SCRIPT = ${INSTALL}
146
+ INSTALL_STRIP_PROGRAM = ${SHELL} $(install_sh) -c -s
147
+ JAVA_PREFIX = /usr/local/lib
148
+ LDFLAGS =
149
+ LEX = flex
150
+ LEXLIB = -lfl
151
+ LEX_OUTPUT_ROOT = lex.yy
152
+ LIBEVENT_CPPFLAGS =
153
+ LIBEVENT_LDFLAGS =
154
+ LIBEVENT_LIBS = -levent
155
+ LIBOBJS = ${LIBOBJDIR}lstat$U.o
156
+ LIBS = -lssl -lpthread
157
+ LIBTOOL = $(SHELL) $(top_builddir)/libtool
158
+ LN_S = ln -s
159
+ LTLIBOBJS = ${LIBOBJDIR}lstat$U.lo
160
+ MAKEINFO = ${SHELL} /Users/jake/Downloads/thrift/thrift-0.7.0/missing --run makeinfo
161
+ MKDIR_P = ../.././install-sh -c -d
162
+ MONO_CFLAGS =
163
+ MONO_LIBS =
164
+ NET_2_0_FALSE = #
165
+ NET_2_0_TRUE =
166
+ OBJEXT = o
167
+ PACKAGE = thrift
168
+ PACKAGE_BUGREPORT =
169
+ PACKAGE_NAME = thrift
170
+ PACKAGE_STRING = thrift 0.7.0
171
+ PACKAGE_TARNAME = thrift
172
+ PACKAGE_URL =
173
+ PACKAGE_VERSION = 0.7.0
174
+ PATH_SEPARATOR = :
175
+ PERL = /usr/bin/perl
176
+ PERL_PREFIX = /usr/local
177
+ PHP = /usr/bin/php
178
+ PHP_CONFIG = /usr/bin/php-config
179
+ PHP_CONFIG_PREFIX = /etc/php.d
180
+ PHP_PREFIX = /usr/lib/php
181
+ PKG_CONFIG =
182
+ PYTHON = /usr/bin/python
183
+ PYTHON_EXEC_PREFIX = ${exec_prefix}
184
+ PYTHON_PLATFORM = darwin
185
+ PYTHON_PREFIX = ${prefix}
186
+ PYTHON_VERSION = 2.6
187
+ PY_PREFIX = /usr
188
+ RANLIB = ranlib
189
+ RSPEC =
190
+ RUBY = /usr/bin/ruby
191
+ RUBY_PREFIX =
192
+ RUNHASKELL = true
193
+ SED = /usr/bin/sed
194
+ SET_MAKE =
195
+ SHELL = /bin/sh
196
+ STRIP = strip
197
+ THRIFT_GEN_as3_FALSE = #
198
+ THRIFT_GEN_as3_TRUE =
199
+ THRIFT_GEN_c_glib_FALSE = #
200
+ THRIFT_GEN_c_glib_TRUE =
201
+ THRIFT_GEN_cocoa_FALSE = #
202
+ THRIFT_GEN_cocoa_TRUE =
203
+ THRIFT_GEN_cpp_FALSE = #
204
+ THRIFT_GEN_cpp_TRUE =
205
+ THRIFT_GEN_csharp_FALSE = #
206
+ THRIFT_GEN_csharp_TRUE =
207
+ THRIFT_GEN_erl_FALSE = #
208
+ THRIFT_GEN_erl_TRUE =
209
+ THRIFT_GEN_go_FALSE = #
210
+ THRIFT_GEN_go_TRUE =
211
+ THRIFT_GEN_hs_FALSE = #
212
+ THRIFT_GEN_hs_TRUE =
213
+ THRIFT_GEN_html_FALSE = #
214
+ THRIFT_GEN_html_TRUE =
215
+ THRIFT_GEN_java_FALSE = #
216
+ THRIFT_GEN_java_TRUE =
217
+ THRIFT_GEN_javame_FALSE = #
218
+ THRIFT_GEN_javame_TRUE =
219
+ THRIFT_GEN_js_FALSE = #
220
+ THRIFT_GEN_js_TRUE =
221
+ THRIFT_GEN_ocaml_FALSE = #
222
+ THRIFT_GEN_ocaml_TRUE =
223
+ THRIFT_GEN_perl_FALSE = #
224
+ THRIFT_GEN_perl_TRUE =
225
+ THRIFT_GEN_php_FALSE = #
226
+ THRIFT_GEN_php_TRUE =
227
+ THRIFT_GEN_py_FALSE = #
228
+ THRIFT_GEN_py_TRUE =
229
+ THRIFT_GEN_rb_FALSE = #
230
+ THRIFT_GEN_rb_TRUE =
231
+ THRIFT_GEN_st_FALSE = #
232
+ THRIFT_GEN_st_TRUE =
233
+ THRIFT_GEN_xsd_FALSE = #
234
+ THRIFT_GEN_xsd_TRUE =
235
+ TRIAL = /usr/bin/trial
236
+ VERSION = 0.7.0
237
+ WITH_CPP_FALSE = #
238
+ WITH_CPP_TRUE =
239
+ WITH_C_GLIB_FALSE =
240
+ WITH_C_GLIB_TRUE = #
241
+ WITH_ERLANG_FALSE =
242
+ WITH_ERLANG_TRUE = #
243
+ WITH_GO_FALSE =
244
+ WITH_GO_TRUE = #
245
+ WITH_HASKELL_FALSE =
246
+ WITH_HASKELL_TRUE = #
247
+ WITH_JAVA_FALSE = #
248
+ WITH_JAVA_TRUE =
249
+ WITH_MONO_FALSE =
250
+ WITH_MONO_TRUE = #
251
+ WITH_PERL_FALSE = #
252
+ WITH_PERL_TRUE =
253
+ WITH_PHP_EXTENSION_FALSE = #
254
+ WITH_PHP_EXTENSION_TRUE =
255
+ WITH_PHP_FALSE = #
256
+ WITH_PHP_TRUE =
257
+ WITH_PYTHON_FALSE = #
258
+ WITH_PYTHON_TRUE =
259
+ WITH_RUBY_FALSE = #
260
+ WITH_RUBY_TRUE =
261
+ YACC = bison -y
262
+ YFLAGS =
263
+ ZLIB_CPPFLAGS =
264
+ ZLIB_LDFLAGS =
265
+ ZLIB_LIBS = -lz
266
+ ac_ct_CC = gcc
267
+ ac_ct_CXX = g++
268
+ ac_ct_F77 =
269
+ am__fastdepCC_FALSE = #
270
+ am__fastdepCC_TRUE =
271
+ am__fastdepCXX_FALSE = #
272
+ am__fastdepCXX_TRUE =
273
+ am__include = include
274
+ am__leading_dot = .
275
+ am__quote =
276
+ am__tar = tar --format=ustar -chf - "$$tardir"
277
+ am__untar = tar -xf -
278
+ bindir = ${exec_prefix}/bin
279
+ build = i686-apple-darwin10.8.0
280
+ build_alias =
281
+ build_cpu = i686
282
+ build_os = darwin10.8.0
283
+ build_vendor = apple
284
+ datadir = ${datarootdir}
285
+ datarootdir = ${prefix}/share
286
+ docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
287
+ dvidir = ${docdir}
288
+ exec_prefix = ${prefix}
289
+ host = i686-apple-darwin10.8.0
290
+ host_alias =
291
+ host_cpu = i686
292
+ host_os = darwin10.8.0
293
+ host_vendor = apple
294
+ htmldir = ${docdir}
295
+ includedir = ${prefix}/include
296
+ infodir = ${datarootdir}/info
297
+ install_sh = /Users/jake/Downloads/thrift/thrift-0.7.0/install-sh
298
+ libdir = ${exec_prefix}/lib
299
+ libexecdir = ${exec_prefix}/libexec
300
+ localedir = ${datarootdir}/locale
301
+ localstatedir = ${prefix}/var
302
+ mandir = ${datarootdir}/man
303
+ mkdir_p = $(install_sh) -d
304
+ oldincludedir = /usr/include
305
+ pdfdir = ${docdir}
306
+ pkgpyexecdir = ${pyexecdir}/thrift
307
+ pkgpythondir = ${pythondir}/thrift
308
+ prefix = /usr/local
309
+ program_transform_name = s,x,x,
310
+ psdir = ${docdir}
311
+ pyexecdir = ${exec_prefix}/lib/python2.6/site-packages
312
+ pythondir = ${prefix}/lib/python2.6/site-packages
313
+ sbindir = ${exec_prefix}/sbin
314
+ sharedstatedir = ${prefix}/com
315
+ subdirs = lib/php/src/ext/thrift_protocol
316
+ sysconfdir = ${prefix}/etc
317
+ target_alias =
318
+ EXTRA_DIST = \
319
+ CHANGELOG \
320
+ Rakefile \
321
+ Manifest \
322
+ setup.rb \
323
+ lib \
324
+ ext \
325
+ benchmark \
326
+ script \
327
+ spec
328
+
329
+ all: all-am
330
+
331
+ .SUFFIXES:
332
+ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
333
+ @for dep in $?; do \
334
+ case '$(am__configure_deps)' in \
335
+ *$$dep*) \
336
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
337
+ && exit 0; \
338
+ exit 1;; \
339
+ esac; \
340
+ done; \
341
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign lib/rb/Makefile'; \
342
+ cd $(top_srcdir) && \
343
+ $(AUTOMAKE) --foreign lib/rb/Makefile
344
+ .PRECIOUS: Makefile
345
+ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
346
+ @case '$?' in \
347
+ *config.status*) \
348
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
349
+ *) \
350
+ echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
351
+ cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
352
+ esac;
353
+
354
+ $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
355
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
356
+
357
+ $(top_srcdir)/configure: $(am__configure_deps)
358
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
359
+ $(ACLOCAL_M4): $(am__aclocal_m4_deps)
360
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
361
+
362
+ mostlyclean-libtool:
363
+ -rm -f *.lo
364
+
365
+ clean-libtool:
366
+ -rm -rf .libs _libs
367
+
368
+ distclean-libtool:
369
+ -rm -f libtool
370
+ uninstall-info-am:
371
+ tags: TAGS
372
+ TAGS:
373
+
374
+ ctags: CTAGS
375
+ CTAGS:
376
+
377
+
378
+ distdir: $(DISTFILES)
379
+ @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
380
+ topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
381
+ list='$(DISTFILES)'; for file in $$list; do \
382
+ case $$file in \
383
+ $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
384
+ $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
385
+ esac; \
386
+ if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
387
+ dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
388
+ if test "$$dir" != "$$file" && test "$$dir" != "."; then \
389
+ dir="/$$dir"; \
390
+ $(mkdir_p) "$(distdir)$$dir"; \
391
+ else \
392
+ dir=''; \
393
+ fi; \
394
+ if test -d $$d/$$file; then \
395
+ if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
396
+ cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
397
+ fi; \
398
+ cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
399
+ else \
400
+ test -f $(distdir)/$$file \
401
+ || cp -p $$d/$$file $(distdir)/$$file \
402
+ || exit 1; \
403
+ fi; \
404
+ done
405
+ check-am: all-am
406
+ $(MAKE) $(AM_MAKEFLAGS) check-local
407
+ check: check-am
408
+ all-am: Makefile all-local
409
+ installdirs:
410
+ install: install-am
411
+ install-exec: install-exec-am
412
+ install-data: install-data-am
413
+ uninstall: uninstall-am
414
+
415
+ install-am: all-am
416
+ @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
417
+
418
+ installcheck: installcheck-am
419
+ install-strip:
420
+ $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
421
+ install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
422
+ `test -z '$(STRIP)' || \
423
+ echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
424
+ mostlyclean-generic:
425
+
426
+ clean-generic:
427
+
428
+ distclean-generic:
429
+ -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
430
+
431
+ maintainer-clean-generic:
432
+ @echo "This command is intended for maintainers to use"
433
+ @echo "it deletes files that may require special tools to rebuild."
434
+ clean: clean-am
435
+
436
+ clean-am: clean-generic clean-libtool clean-local mostlyclean-am
437
+
438
+ distclean: distclean-am
439
+ -rm -f Makefile
440
+ distclean-am: clean-am distclean-generic distclean-libtool
441
+
442
+ dvi: dvi-am
443
+
444
+ dvi-am:
445
+
446
+ html: html-am
447
+
448
+ info: info-am
449
+
450
+ info-am:
451
+
452
+ install-data-am:
453
+
454
+ install-exec-am:
455
+ @$(NORMAL_INSTALL)
456
+ $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
457
+
458
+ install-info: install-info-am
459
+
460
+ install-man:
461
+
462
+ installcheck-am:
463
+
464
+ maintainer-clean: maintainer-clean-am
465
+ -rm -f Makefile
466
+ maintainer-clean-am: distclean-am maintainer-clean-generic
467
+
468
+ mostlyclean: mostlyclean-am
469
+
470
+ mostlyclean-am: mostlyclean-generic mostlyclean-libtool
471
+
472
+ pdf: pdf-am
473
+
474
+ pdf-am:
475
+
476
+ ps: ps-am
477
+
478
+ ps-am:
479
+
480
+ uninstall-am: uninstall-info-am
481
+
482
+ .PHONY: all all-am all-local check check-am check-local clean \
483
+ clean-generic clean-libtool clean-local distclean \
484
+ distclean-generic distclean-libtool distdir dvi dvi-am html \
485
+ html-am info info-am install install-am install-data \
486
+ install-data-am install-exec install-exec-am install-exec-hook \
487
+ install-info install-info-am install-man install-strip \
488
+ installcheck installcheck-am installdirs maintainer-clean \
489
+ maintainer-clean-generic mostlyclean mostlyclean-generic \
490
+ mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
491
+ uninstall-info-am
492
+
493
+
494
+ DESTDIR ?= /
495
+
496
+ all-local:
497
+ if [ -n "$(RUBY_PREFIX)" ] ; then $(RUBY) setup.rb config --prefix=$(DESTDIR)$(RUBY_PREFIX) --rbdir='$$libdir/ruby' --sodir='$$libdir/ruby' ; elif [ -n "$(DESTDIR)" ] ; then $(RUBY) setup.rb config --prefix=$(DESTDIR) ; else $(RUBY) setup.rb config ; fi
498
+ $(RUBY) setup.rb setup
499
+
500
+ install-exec-hook:
501
+ $(RUBY) setup.rb install --prefix=$(DESTDIR)
502
+
503
+ # Make sure this doesn't fail if Ruby is not configured.
504
+ clean-local:
505
+ RUBY=$(RUBY) ; if test -z "$$RUBY" ; then RUBY=: ; fi ; \
506
+ $$RUBY setup.rb clean
507
+
508
+ check-local: all
509
+ # rake spec
510
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
511
+ # Otherwise a system limit (for SysV at least) may be exceeded.
512
+ .NOEXPORT:
data/Makefile.am CHANGED
@@ -28,12 +28,14 @@ EXTRA_DIST = \
28
28
  script \
29
29
  spec
30
30
 
31
+ DESTDIR ?= /
32
+
31
33
  all-local:
32
34
  if [ -n "$(RUBY_PREFIX)" ] ; then $(RUBY) setup.rb config --prefix=$(DESTDIR)$(RUBY_PREFIX) --rbdir='$$libdir/ruby' --sodir='$$libdir/ruby' ; elif [ -n "$(DESTDIR)" ] ; then $(RUBY) setup.rb config --prefix=$(DESTDIR) ; else $(RUBY) setup.rb config ; fi
33
35
  $(RUBY) setup.rb setup
34
36
 
35
37
  install-exec-hook:
36
- $(RUBY) setup.rb install
38
+ $(RUBY) setup.rb install --prefix=$(DESTDIR)
37
39
 
38
40
  # Make sure this doesn't fail if Ruby is not configured.
39
41
  clean-local: