rice 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Doxyfile +1 -1
- data/Makefile.in +130 -52
- data/README +45 -79
- data/Rakefile +1 -36
- data/aclocal.m4 +133 -61
- data/config.guess +43 -8
- data/config.sub +41 -13
- data/configure +1370 -1898
- data/configure.ac +2 -2
- data/doxygen.ac +1 -1
- data/extconf.rb +3 -1
- data/rice/Arg_impl.hpp +2 -2
- data/rice/Data_Type.cpp +34 -1
- data/rice/Data_Type.ipp +14 -5
- data/rice/Data_Type_defn.hpp +28 -1
- data/rice/Director.cpp +0 -6
- data/rice/Director.hpp +0 -8
- data/rice/Hash.hpp +1 -1
- data/rice/Makefile.am +2 -12
- data/rice/Makefile.in +111 -88
- data/rice/Object.cpp +8 -1
- data/rice/Object.ipp +1 -1
- data/rice/Object_defn.hpp +8 -0
- data/rice/config.hpp +3 -0
- data/rice/config.hpp.in +3 -0
- data/rice/detail/Auto_Function_Wrapper.ipp +1025 -512
- data/rice/detail/Auto_Member_Function_Wrapper.ipp +545 -272
- data/rice/detail/cfp.hpp +24 -0
- data/rice/detail/cfp.ipp +51 -0
- data/rice/detail/method_data.cpp +107 -336
- data/rice/detail/node.hpp +13 -13
- data/rice/detail/ruby.hpp +4 -0
- data/rice/detail/rubysig.hpp +19 -19
- data/rice/detail/traits.hpp +43 -0
- data/rice/generate_code.rb +37 -16
- data/rice/protect.hpp +1 -1
- data/rice/protect.ipp +448 -192
- data/rice/to_from_ruby.ipp +4 -12
- data/rice/to_from_ruby_defn.hpp +2 -2
- data/ruby/Makefile.in +99 -32
- data/ruby/lib/Makefile.in +61 -21
- data/ruby/lib/mkmf-rice.rb.in +9 -2
- data/ruby/lib/version.rb +1 -1
- data/sample/Makefile.in +33 -10
- data/test/Makefile.am +27 -0
- data/test/Makefile.in +270 -59
- data/test/ext/Makefile.am +43 -0
- data/test/ext/Makefile.in +399 -0
- data/test/ext/t1/Foo.hpp +10 -0
- data/test/ext/t1/extconf.rb +2 -0
- data/test/ext/t1/t1.cpp +15 -0
- data/test/ext/t2/extconf.rb +2 -0
- data/test/ext/t2/t2.cpp +11 -0
- data/test/test_Allocation_Strategies.cpp +1 -1
- data/test/test_Class.cpp +79 -0
- data/test/test_Data_Type.cpp +2 -2
- data/test/test_Director.cpp +114 -38
- data/test/test_Module.cpp +27 -2
- data/test/test_To_From_Ruby.cpp +4 -4
- data/test/test_rice.rb +9 -1
- metadata +23 -8
- data/rice/detail/method_data.cpp.rpp +0 -301
- data/rice/detail/mininode.cpp.rpp +0 -62
- data/rice/detail/mininode.hpp.rpp +0 -119
- data/rice/detail/remove_const.hpp +0 -21
data/rice/to_from_ruby.ipp
CHANGED
@@ -257,22 +257,14 @@ Rice::Object to_ruby<double>(double const & x)
|
|
257
257
|
}
|
258
258
|
|
259
259
|
// ---------------------------------------------------------------------
|
260
|
-
namespace Rice
|
261
|
-
{
|
262
|
-
namespace detail
|
263
|
-
{
|
264
|
-
inline VALUE str2ccstr(VALUE x)
|
265
|
-
{
|
266
|
-
return (VALUE)(StringValuePtr(x));
|
267
|
-
}
|
268
|
-
}
|
269
|
-
}
|
270
|
-
|
271
260
|
template<>
|
272
261
|
inline
|
273
262
|
char const * from_ruby<char const *>(Rice::Object x)
|
274
263
|
{
|
275
|
-
|
264
|
+
// TODO: Maybe not the right way to do this conversion (what happens
|
265
|
+
// if the object gets GC'd?)
|
266
|
+
VALUE v(x.value());
|
267
|
+
return (char const *)Rice::protect<char const *>(rb_string_value_cstr, &v);
|
276
268
|
}
|
277
269
|
|
278
270
|
template<>
|
data/rice/to_from_ruby_defn.hpp
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
* pointer to that object.
|
19
19
|
*
|
20
20
|
* Conversions from ruby to a pointer type are automatically generated
|
21
|
-
* when a type is bound using Data_Type. If no conversion exists
|
21
|
+
* when a type is bound using Data_Type. If no conversion exists an
|
22
22
|
* exception is thrown.
|
23
23
|
*
|
24
24
|
* \param T the C++ type to which to convert.
|
@@ -46,7 +46,7 @@ typename Rice::detail::from_ruby_<T>::Retval_T from_ruby(Rice::Object x)
|
|
46
46
|
/*! If x is a pointer, wraps the pointee as a Ruby object. If x is an
|
47
47
|
* Object, returns x.
|
48
48
|
*
|
49
|
-
* If no conversion exists
|
49
|
+
* If no conversion exists a compile-time error is generated.
|
50
50
|
*
|
51
51
|
* \param x the object to convert.
|
52
52
|
* \return a Ruby representation of the C++ object.
|
data/ruby/Makefile.in
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.11 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
4
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
-
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation,
|
5
|
+
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
6
|
+
# Inc.
|
6
7
|
# This Makefile.in is free software; the Free Software Foundation
|
7
8
|
# gives unlimited permission to copy and/or distribute it,
|
8
9
|
# with or without modifications, as long as this notice is preserved.
|
@@ -15,8 +16,9 @@
|
|
15
16
|
@SET_MAKE@
|
16
17
|
VPATH = @srcdir@
|
17
18
|
pkgdatadir = $(datadir)/@PACKAGE@
|
18
|
-
pkglibdir = $(libdir)/@PACKAGE@
|
19
19
|
pkgincludedir = $(includedir)/@PACKAGE@
|
20
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
21
|
+
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
20
22
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
21
23
|
install_sh_DATA = $(install_sh) -c -m 644
|
22
24
|
install_sh_PROGRAM = $(install_sh) -c
|
@@ -41,6 +43,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
41
43
|
mkinstalldirs = $(install_sh) -d
|
42
44
|
CONFIG_HEADER = $(top_builddir)/rice/config.hpp
|
43
45
|
CONFIG_CLEAN_FILES =
|
46
|
+
CONFIG_CLEAN_VPATH_FILES =
|
44
47
|
SOURCES =
|
45
48
|
DIST_SOURCES =
|
46
49
|
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
@@ -52,10 +55,38 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
|
52
55
|
ps-recursive uninstall-recursive
|
53
56
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
54
57
|
distclean-recursive maintainer-clean-recursive
|
58
|
+
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
59
|
+
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
60
|
+
distdir
|
55
61
|
ETAGS = etags
|
56
62
|
CTAGS = ctags
|
57
63
|
DIST_SUBDIRS = $(SUBDIRS)
|
58
64
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
65
|
+
am__relativize = \
|
66
|
+
dir0=`pwd`; \
|
67
|
+
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
68
|
+
sed_rest='s,^[^/]*/*,,'; \
|
69
|
+
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
70
|
+
sed_butlast='s,/*[^/]*$$,,'; \
|
71
|
+
while test -n "$$dir1"; do \
|
72
|
+
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
73
|
+
if test "$$first" != "."; then \
|
74
|
+
if test "$$first" = ".."; then \
|
75
|
+
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
76
|
+
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
77
|
+
else \
|
78
|
+
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
79
|
+
if test "$$first2" = "$$first"; then \
|
80
|
+
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
81
|
+
else \
|
82
|
+
dir2="../$$dir2"; \
|
83
|
+
fi; \
|
84
|
+
dir0="$$dir0"/"$$first"; \
|
85
|
+
fi; \
|
86
|
+
fi; \
|
87
|
+
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
88
|
+
done; \
|
89
|
+
reldir="$$dir2"
|
59
90
|
ACLOCAL = @ACLOCAL@
|
60
91
|
AMTAR = @AMTAR@
|
61
92
|
AUTOCONF = @AUTOCONF@
|
@@ -114,6 +145,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
114
145
|
PACKAGE_NAME = @PACKAGE_NAME@
|
115
146
|
PACKAGE_STRING = @PACKAGE_STRING@
|
116
147
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
148
|
+
PACKAGE_URL = @PACKAGE_URL@
|
117
149
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
118
150
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
119
151
|
RANLIB = @RANLIB@
|
@@ -199,9 +231,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
199
231
|
exit 1;; \
|
200
232
|
esac; \
|
201
233
|
done; \
|
202
|
-
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu
|
203
|
-
|
204
|
-
$(AUTOMAKE) --gnu
|
234
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ruby/Makefile'; \
|
235
|
+
$(am__cd) $(top_srcdir) && \
|
236
|
+
$(AUTOMAKE) --gnu ruby/Makefile
|
205
237
|
.PRECIOUS: Makefile
|
206
238
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
207
239
|
@case '$?' in \
|
@@ -219,6 +251,7 @@ $(top_srcdir)/configure: $(am__configure_deps)
|
|
219
251
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
220
252
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
221
253
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
254
|
+
$(am__aclocal_m4_deps):
|
222
255
|
|
223
256
|
# This directory's subdirectories are mostly independent; you can cd
|
224
257
|
# into them and run `make' without going through this Makefile.
|
@@ -244,7 +277,7 @@ $(RECURSIVE_TARGETS):
|
|
244
277
|
else \
|
245
278
|
local_target="$$target"; \
|
246
279
|
fi; \
|
247
|
-
(
|
280
|
+
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
248
281
|
|| eval $$failcom; \
|
249
282
|
done; \
|
250
283
|
if test "$$dot_seen" = "no"; then \
|
@@ -278,16 +311,16 @@ $(RECURSIVE_CLEAN_TARGETS):
|
|
278
311
|
else \
|
279
312
|
local_target="$$target"; \
|
280
313
|
fi; \
|
281
|
-
(
|
314
|
+
($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
282
315
|
|| eval $$failcom; \
|
283
316
|
done && test -z "$$fail"
|
284
317
|
tags-recursive:
|
285
318
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
286
|
-
test "$$subdir" = . || (
|
319
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
287
320
|
done
|
288
321
|
ctags-recursive:
|
289
322
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
290
|
-
test "$$subdir" = . || (
|
323
|
+
test "$$subdir" = . || ($(am__cd) $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
291
324
|
done
|
292
325
|
|
293
326
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
@@ -302,7 +335,7 @@ tags: TAGS
|
|
302
335
|
|
303
336
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
304
337
|
$(TAGS_FILES) $(LISP)
|
305
|
-
|
338
|
+
set x; \
|
306
339
|
here=`pwd`; \
|
307
340
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
308
341
|
include_option=--etags-include; \
|
@@ -314,7 +347,7 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
314
347
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
315
348
|
if test "$$subdir" = .; then :; else \
|
316
349
|
test ! -f $$subdir/TAGS || \
|
317
|
-
|
350
|
+
set "$$@" "$$include_option=$$here/$$subdir/TAGS"; \
|
318
351
|
fi; \
|
319
352
|
done; \
|
320
353
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
@@ -323,29 +356,34 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
323
356
|
done | \
|
324
357
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
325
358
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
326
|
-
|
359
|
+
shift; \
|
360
|
+
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
327
361
|
test -n "$$unique" || unique=$$empty_fix; \
|
328
|
-
|
329
|
-
|
362
|
+
if test $$# -gt 0; then \
|
363
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
364
|
+
"$$@" $$unique; \
|
365
|
+
else \
|
366
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
367
|
+
$$unique; \
|
368
|
+
fi; \
|
330
369
|
fi
|
331
370
|
ctags: CTAGS
|
332
371
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
333
372
|
$(TAGS_FILES) $(LISP)
|
334
|
-
tags=; \
|
335
373
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
336
374
|
unique=`for i in $$list; do \
|
337
375
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
338
376
|
done | \
|
339
377
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
340
378
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
341
|
-
test -z "$(CTAGS_ARGS)$$
|
379
|
+
test -z "$(CTAGS_ARGS)$$unique" \
|
342
380
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
343
|
-
$$
|
381
|
+
$$unique
|
344
382
|
|
345
383
|
GTAGS:
|
346
384
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
347
|
-
&&
|
348
|
-
&& gtags -i $(GTAGS_ARGS) $$here
|
385
|
+
&& $(am__cd) $(top_srcdir) \
|
386
|
+
&& gtags -i $(GTAGS_ARGS) "$$here"
|
349
387
|
|
350
388
|
distclean-tags:
|
351
389
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
@@ -366,29 +404,44 @@ distdir: $(DISTFILES)
|
|
366
404
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
367
405
|
if test -d $$d/$$file; then \
|
368
406
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
407
|
+
if test -d "$(distdir)/$$file"; then \
|
408
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
409
|
+
fi; \
|
369
410
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
370
|
-
cp -
|
411
|
+
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
412
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
371
413
|
fi; \
|
372
|
-
cp -
|
414
|
+
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
373
415
|
else \
|
374
|
-
test -f "$(distdir)
|
375
|
-
|| cp -p $$d/$$file "$(distdir)
|
416
|
+
test -f "$(distdir)/$$file" \
|
417
|
+
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
376
418
|
|| exit 1; \
|
377
419
|
fi; \
|
378
420
|
done
|
379
|
-
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
421
|
+
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
380
422
|
if test "$$subdir" = .; then :; else \
|
381
423
|
test -d "$(distdir)/$$subdir" \
|
382
424
|
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
383
425
|
|| exit 1; \
|
384
|
-
|
385
|
-
|
386
|
-
|
426
|
+
fi; \
|
427
|
+
done
|
428
|
+
@list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
429
|
+
if test "$$subdir" = .; then :; else \
|
430
|
+
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
431
|
+
$(am__relativize); \
|
432
|
+
new_distdir=$$reldir; \
|
433
|
+
dir1=$$subdir; dir2="$(top_distdir)"; \
|
434
|
+
$(am__relativize); \
|
435
|
+
new_top_distdir=$$reldir; \
|
436
|
+
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
437
|
+
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
438
|
+
($(am__cd) $$subdir && \
|
387
439
|
$(MAKE) $(AM_MAKEFLAGS) \
|
388
|
-
top_distdir="$$
|
389
|
-
distdir="$$
|
440
|
+
top_distdir="$$new_top_distdir" \
|
441
|
+
distdir="$$new_distdir" \
|
390
442
|
am__remove_distdir=: \
|
391
443
|
am__skip_length_check=: \
|
444
|
+
am__skip_mode_fix=: \
|
392
445
|
distdir) \
|
393
446
|
|| exit 1; \
|
394
447
|
fi; \
|
@@ -418,6 +471,7 @@ clean-generic:
|
|
418
471
|
|
419
472
|
distclean-generic:
|
420
473
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
474
|
+
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
421
475
|
|
422
476
|
maintainer-clean-generic:
|
423
477
|
@echo "This command is intended for maintainers to use"
|
@@ -436,6 +490,8 @@ dvi-am:
|
|
436
490
|
|
437
491
|
html: html-recursive
|
438
492
|
|
493
|
+
html-am:
|
494
|
+
|
439
495
|
info: info-recursive
|
440
496
|
|
441
497
|
info-am:
|
@@ -444,18 +500,28 @@ install-data-am:
|
|
444
500
|
|
445
501
|
install-dvi: install-dvi-recursive
|
446
502
|
|
503
|
+
install-dvi-am:
|
504
|
+
|
447
505
|
install-exec-am:
|
448
506
|
|
449
507
|
install-html: install-html-recursive
|
450
508
|
|
509
|
+
install-html-am:
|
510
|
+
|
451
511
|
install-info: install-info-recursive
|
452
512
|
|
513
|
+
install-info-am:
|
514
|
+
|
453
515
|
install-man:
|
454
516
|
|
455
517
|
install-pdf: install-pdf-recursive
|
456
518
|
|
519
|
+
install-pdf-am:
|
520
|
+
|
457
521
|
install-ps: install-ps-recursive
|
458
522
|
|
523
|
+
install-ps-am:
|
524
|
+
|
459
525
|
installcheck-am:
|
460
526
|
|
461
527
|
maintainer-clean: maintainer-clean-recursive
|
@@ -476,8 +542,8 @@ ps-am:
|
|
476
542
|
|
477
543
|
uninstall-am:
|
478
544
|
|
479
|
-
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS)
|
480
|
-
install-strip
|
545
|
+
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) ctags-recursive \
|
546
|
+
install-am install-strip tags-recursive
|
481
547
|
|
482
548
|
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
483
549
|
all all-am check check-am clean clean-generic ctags \
|
@@ -492,6 +558,7 @@ uninstall-am:
|
|
492
558
|
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
|
493
559
|
tags-recursive uninstall uninstall-am
|
494
560
|
|
561
|
+
|
495
562
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
496
563
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
497
564
|
.NOEXPORT:
|
data/ruby/lib/Makefile.in
CHANGED
@@ -1,8 +1,9 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.11 from Makefile.am.
|
2
2
|
# @configure_input@
|
3
3
|
|
4
4
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
-
# 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation,
|
5
|
+
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
|
6
|
+
# Inc.
|
6
7
|
# This Makefile.in is free software; the Free Software Foundation
|
7
8
|
# gives unlimited permission to copy and/or distribute it,
|
8
9
|
# with or without modifications, as long as this notice is preserved.
|
@@ -16,8 +17,9 @@
|
|
16
17
|
|
17
18
|
VPATH = @srcdir@
|
18
19
|
pkgdatadir = $(datadir)/@PACKAGE@
|
19
|
-
pkglibdir = $(libdir)/@PACKAGE@
|
20
20
|
pkgincludedir = $(includedir)/@PACKAGE@
|
21
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
22
|
+
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
21
23
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
22
24
|
install_sh_DATA = $(install_sh) -c -m 644
|
23
25
|
install_sh_PROGRAM = $(install_sh) -c
|
@@ -43,6 +45,7 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
43
45
|
mkinstalldirs = $(install_sh) -d
|
44
46
|
CONFIG_HEADER = $(top_builddir)/rice/config.hpp
|
45
47
|
CONFIG_CLEAN_FILES = mkmf-rice.rb
|
48
|
+
CONFIG_CLEAN_VPATH_FILES =
|
46
49
|
SOURCES =
|
47
50
|
DIST_SOURCES =
|
48
51
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
@@ -50,9 +53,23 @@ am__vpath_adj = case $$p in \
|
|
50
53
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
51
54
|
*) f=$$p;; \
|
52
55
|
esac;
|
53
|
-
am__strip_dir =
|
56
|
+
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
57
|
+
am__install_max = 40
|
58
|
+
am__nobase_strip_setup = \
|
59
|
+
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
60
|
+
am__nobase_strip = \
|
61
|
+
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
62
|
+
am__nobase_list = $(am__nobase_strip_setup); \
|
63
|
+
for p in $$list; do echo "$$p $$p"; done | \
|
64
|
+
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
65
|
+
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
66
|
+
if (++n[$$2] == $(am__install_max)) \
|
67
|
+
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
68
|
+
END { for (dir in files) print dir, files[dir] }'
|
69
|
+
am__base_list = \
|
70
|
+
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
71
|
+
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
54
72
|
am__installdirs = "$(DESTDIR)$(rubydir)"
|
55
|
-
rubyDATA_INSTALL = $(INSTALL_DATA)
|
56
73
|
DATA = $(ruby_DATA)
|
57
74
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
58
75
|
ACLOCAL = @ACLOCAL@
|
@@ -113,6 +130,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
113
130
|
PACKAGE_NAME = @PACKAGE_NAME@
|
114
131
|
PACKAGE_STRING = @PACKAGE_STRING@
|
115
132
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
133
|
+
PACKAGE_URL = @PACKAGE_URL@
|
116
134
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
117
135
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
118
136
|
RANLIB = @RANLIB@
|
@@ -199,9 +217,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
199
217
|
exit 1;; \
|
200
218
|
esac; \
|
201
219
|
done; \
|
202
|
-
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu
|
203
|
-
|
204
|
-
$(AUTOMAKE) --gnu
|
220
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ruby/lib/Makefile'; \
|
221
|
+
$(am__cd) $(top_srcdir) && \
|
222
|
+
$(AUTOMAKE) --gnu ruby/lib/Makefile
|
205
223
|
.PRECIOUS: Makefile
|
206
224
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
207
225
|
@case '$?' in \
|
@@ -219,25 +237,29 @@ $(top_srcdir)/configure: $(am__configure_deps)
|
|
219
237
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
220
238
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
221
239
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
240
|
+
$(am__aclocal_m4_deps):
|
222
241
|
mkmf-rice.rb: $(top_builddir)/config.status $(srcdir)/mkmf-rice.rb.in
|
223
242
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
224
243
|
install-rubyDATA: $(ruby_DATA)
|
225
244
|
@$(NORMAL_INSTALL)
|
226
245
|
test -z "$(rubydir)" || $(MKDIR_P) "$(DESTDIR)$(rubydir)"
|
227
|
-
@list='$(ruby_DATA)';
|
246
|
+
@list='$(ruby_DATA)'; test -n "$(rubydir)" || list=; \
|
247
|
+
for p in $$list; do \
|
228
248
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
229
|
-
|
230
|
-
|
231
|
-
|
249
|
+
echo "$$d$$p"; \
|
250
|
+
done | $(am__base_list) | \
|
251
|
+
while read files; do \
|
252
|
+
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(rubydir)'"; \
|
253
|
+
$(INSTALL_DATA) $$files "$(DESTDIR)$(rubydir)" || exit $$?; \
|
232
254
|
done
|
233
255
|
|
234
256
|
uninstall-rubyDATA:
|
235
257
|
@$(NORMAL_UNINSTALL)
|
236
|
-
@list='$(ruby_DATA)';
|
237
|
-
|
238
|
-
|
239
|
-
|
240
|
-
|
258
|
+
@list='$(ruby_DATA)'; test -n "$(rubydir)" || list=; \
|
259
|
+
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
260
|
+
test -n "$$files" || exit 0; \
|
261
|
+
echo " ( cd '$(DESTDIR)$(rubydir)' && rm -f" $$files ")"; \
|
262
|
+
cd "$(DESTDIR)$(rubydir)" && rm -f $$files
|
241
263
|
tags: TAGS
|
242
264
|
TAGS:
|
243
265
|
|
@@ -261,13 +283,17 @@ distdir: $(DISTFILES)
|
|
261
283
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
262
284
|
if test -d $$d/$$file; then \
|
263
285
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
286
|
+
if test -d "$(distdir)/$$file"; then \
|
287
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
288
|
+
fi; \
|
264
289
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
265
|
-
cp -
|
290
|
+
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
291
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
266
292
|
fi; \
|
267
|
-
cp -
|
293
|
+
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
268
294
|
else \
|
269
|
-
test -f "$(distdir)
|
270
|
-
|| cp -p $$d/$$file "$(distdir)
|
295
|
+
test -f "$(distdir)/$$file" \
|
296
|
+
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
271
297
|
|| exit 1; \
|
272
298
|
fi; \
|
273
299
|
done
|
@@ -298,6 +324,7 @@ clean-generic:
|
|
298
324
|
|
299
325
|
distclean-generic:
|
300
326
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
327
|
+
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
301
328
|
|
302
329
|
maintainer-clean-generic:
|
303
330
|
@echo "This command is intended for maintainers to use"
|
@@ -316,6 +343,8 @@ dvi-am:
|
|
316
343
|
|
317
344
|
html: html-am
|
318
345
|
|
346
|
+
html-am:
|
347
|
+
|
319
348
|
info: info-am
|
320
349
|
|
321
350
|
info-am:
|
@@ -324,18 +353,28 @@ install-data-am: install-rubyDATA
|
|
324
353
|
|
325
354
|
install-dvi: install-dvi-am
|
326
355
|
|
356
|
+
install-dvi-am:
|
357
|
+
|
327
358
|
install-exec-am:
|
328
359
|
|
329
360
|
install-html: install-html-am
|
330
361
|
|
362
|
+
install-html-am:
|
363
|
+
|
331
364
|
install-info: install-info-am
|
332
365
|
|
366
|
+
install-info-am:
|
367
|
+
|
333
368
|
install-man:
|
334
369
|
|
335
370
|
install-pdf: install-pdf-am
|
336
371
|
|
372
|
+
install-pdf-am:
|
373
|
+
|
337
374
|
install-ps: install-ps-am
|
338
375
|
|
376
|
+
install-ps-am:
|
377
|
+
|
339
378
|
installcheck-am:
|
340
379
|
|
341
380
|
maintainer-clean: maintainer-clean-am
|
@@ -369,6 +408,7 @@ uninstall-am: uninstall-rubyDATA
|
|
369
408
|
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am uninstall \
|
370
409
|
uninstall-am uninstall-rubyDATA
|
371
410
|
|
411
|
+
|
372
412
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
373
413
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
374
414
|
.NOEXPORT:
|