rice-jdguyot 1.4.0.p1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +23 -0
- data/Doxyfile +1253 -0
- data/Makefile.am +26 -0
- data/Makefile.in +743 -0
- data/README +1119 -0
- data/README.mingw +8 -0
- data/Rakefile +33 -0
- data/aclocal.m4 +874 -0
- data/bootstrap +8 -0
- data/config.guess +1500 -0
- data/config.sub +1616 -0
- data/configure +7461 -0
- data/configure.ac +52 -0
- data/depcomp +584 -0
- data/doxygen.ac +314 -0
- data/doxygen.am +186 -0
- data/extconf.rb +34 -0
- data/install-sh +507 -0
- data/missing +367 -0
- data/post-autoconf.rb +22 -0
- data/post-automake.rb +28 -0
- data/rice/Address_Registration_Guard.cpp +22 -0
- data/rice/Address_Registration_Guard.hpp +7 -0
- data/rice/Address_Registration_Guard.ipp +37 -0
- data/rice/Address_Registration_Guard_defn.hpp +75 -0
- data/rice/Allocation_Strategies.hpp +37 -0
- data/rice/Arg.hpp +8 -0
- data/rice/Arg_impl.hpp +127 -0
- data/rice/Arg_operators.cpp +21 -0
- data/rice/Arg_operators.hpp +19 -0
- data/rice/Array.hpp +220 -0
- data/rice/Array.ipp +263 -0
- data/rice/Builtin_Object.hpp +8 -0
- data/rice/Builtin_Object.ipp +50 -0
- data/rice/Builtin_Object_defn.hpp +51 -0
- data/rice/Class.cpp +57 -0
- data/rice/Class.hpp +8 -0
- data/rice/Class.ipp +6 -0
- data/rice/Class_defn.hpp +83 -0
- data/rice/Constructor.hpp +367 -0
- data/rice/Critical_Guard.hpp +40 -0
- data/rice/Critical_Guard.ipp +26 -0
- data/rice/Data_Object.hpp +8 -0
- data/rice/Data_Object.ipp +133 -0
- data/rice/Data_Object_defn.hpp +132 -0
- data/rice/Data_Type.cpp +54 -0
- data/rice/Data_Type.hpp +8 -0
- data/rice/Data_Type.ipp +365 -0
- data/rice/Data_Type_defn.hpp +261 -0
- data/rice/Data_Type_fwd.hpp +12 -0
- data/rice/Director.cpp +13 -0
- data/rice/Director.hpp +39 -0
- data/rice/Enum.hpp +117 -0
- data/rice/Enum.ipp +246 -0
- data/rice/Exception.cpp +59 -0
- data/rice/Exception.hpp +9 -0
- data/rice/Exception_Base.hpp +8 -0
- data/rice/Exception_Base.ipp +13 -0
- data/rice/Exception_Base_defn.hpp +27 -0
- data/rice/Exception_defn.hpp +69 -0
- data/rice/Hash.hpp +210 -0
- data/rice/Hash.ipp +338 -0
- data/rice/Identifier.cpp +8 -0
- data/rice/Identifier.hpp +50 -0
- data/rice/Identifier.ipp +33 -0
- data/rice/Jump_Tag.hpp +24 -0
- data/rice/Makefile.am +130 -0
- data/rice/Makefile.in +716 -0
- data/rice/Module.cpp +84 -0
- data/rice/Module.hpp +8 -0
- data/rice/Module.ipp +6 -0
- data/rice/Module_defn.hpp +88 -0
- data/rice/Module_impl.hpp +281 -0
- data/rice/Module_impl.ipp +348 -0
- data/rice/Object.cpp +160 -0
- data/rice/Object.hpp +8 -0
- data/rice/Object.ipp +19 -0
- data/rice/Object_defn.hpp +191 -0
- data/rice/Require_Guard.hpp +21 -0
- data/rice/String.cpp +94 -0
- data/rice/String.hpp +89 -0
- data/rice/Struct.cpp +117 -0
- data/rice/Struct.hpp +162 -0
- data/rice/Struct.ipp +26 -0
- data/rice/Symbol.cpp +25 -0
- data/rice/Symbol.hpp +66 -0
- data/rice/Symbol.ipp +44 -0
- data/rice/VM.cpp +92 -0
- data/rice/VM.hpp +32 -0
- data/rice/config.hpp +41 -0
- data/rice/config.hpp.in +40 -0
- data/rice/detail/Arguments.hpp +118 -0
- data/rice/detail/Auto_Function_Wrapper.hpp +829 -0
- data/rice/detail/Auto_Function_Wrapper.ipp +3391 -0
- data/rice/detail/Auto_Member_Function_Wrapper.hpp +828 -0
- data/rice/detail/Auto_Member_Function_Wrapper.ipp +2503 -0
- data/rice/detail/Caster.hpp +103 -0
- data/rice/detail/Exception_Handler.hpp +8 -0
- data/rice/detail/Exception_Handler.ipp +68 -0
- data/rice/detail/Exception_Handler_defn.hpp +96 -0
- data/rice/detail/Iterator.hpp +93 -0
- data/rice/detail/Not_Copyable.hpp +25 -0
- data/rice/detail/Wrapped_Function.hpp +33 -0
- data/rice/detail/cfp.hpp +24 -0
- data/rice/detail/cfp.ipp +51 -0
- data/rice/detail/check_ruby_type.cpp +27 -0
- data/rice/detail/check_ruby_type.hpp +23 -0
- data/rice/detail/creation_funcs.hpp +37 -0
- data/rice/detail/creation_funcs.ipp +36 -0
- data/rice/detail/default_allocation_func.hpp +23 -0
- data/rice/detail/default_allocation_func.ipp +11 -0
- data/rice/detail/define_method_and_auto_wrap.hpp +31 -0
- data/rice/detail/define_method_and_auto_wrap.ipp +30 -0
- data/rice/detail/demangle.cpp +56 -0
- data/rice/detail/demangle.hpp +19 -0
- data/rice/detail/env.hpp +19 -0
- data/rice/detail/from_ruby.hpp +43 -0
- data/rice/detail/from_ruby.ipp +60 -0
- data/rice/detail/method_data.cpp +159 -0
- data/rice/detail/method_data.hpp +21 -0
- data/rice/detail/mininode.cpp +1220 -0
- data/rice/detail/mininode.hpp +320 -0
- data/rice/detail/node.hpp +13 -0
- data/rice/detail/object_call.hpp +68 -0
- data/rice/detail/object_call.ipp +131 -0
- data/rice/detail/protect.cpp +29 -0
- data/rice/detail/protect.hpp +34 -0
- data/rice/detail/ruby.hpp +93 -0
- data/rice/detail/ruby_version_code.hpp +6 -0
- data/rice/detail/ruby_version_code.hpp.in +6 -0
- data/rice/detail/rubysig.hpp +19 -0
- data/rice/detail/st.hpp +60 -0
- data/rice/detail/to_ruby.hpp +22 -0
- data/rice/detail/to_ruby.ipp +36 -0
- data/rice/detail/traits.hpp +43 -0
- data/rice/detail/win32.hpp +16 -0
- data/rice/detail/wrap_function.hpp +341 -0
- data/rice/detail/wrap_function.ipp +514 -0
- data/rice/global_function.hpp +33 -0
- data/rice/global_function.ipp +22 -0
- data/rice/protect.hpp +91 -0
- data/rice/protect.ipp +1133 -0
- data/rice/ruby_mark.hpp +13 -0
- data/rice/ruby_try_catch.hpp +86 -0
- data/rice/rubypp.rb +97 -0
- data/rice/to_from_ruby.hpp +8 -0
- data/rice/to_from_ruby.ipp +294 -0
- data/rice/to_from_ruby_defn.hpp +71 -0
- data/ruby/Makefile.am +1 -0
- data/ruby/Makefile.in +497 -0
- data/ruby/lib/Makefile.am +3 -0
- data/ruby/lib/Makefile.in +373 -0
- data/ruby/lib/mkmf-rice.rb.in +216 -0
- data/ruby/lib/version.rb +3 -0
- data/ruby.ac +136 -0
- data/sample/Makefile.am +47 -0
- data/sample/Makefile.in +379 -0
- data/sample/enum/extconf.rb +3 -0
- data/sample/enum/sample_enum.cpp +54 -0
- data/sample/enum/test.rb +8 -0
- data/sample/inheritance/animals.cpp +98 -0
- data/sample/inheritance/extconf.rb +3 -0
- data/sample/inheritance/test.rb +7 -0
- data/sample/map/extconf.rb +3 -0
- data/sample/map/map.cpp +81 -0
- data/sample/map/test.rb +7 -0
- data/test/Makefile.am +78 -0
- data/test/Makefile.in +728 -0
- data/test/ext/Makefile.am +43 -0
- data/test/ext/Makefile.in +375 -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_Address_Registration_Guard.cpp +43 -0
- data/test/test_Allocation_Strategies.cpp +77 -0
- data/test/test_Array.cpp +241 -0
- data/test/test_Builtin_Object.cpp +72 -0
- data/test/test_Class.cpp +498 -0
- data/test/test_Constructor.cpp +128 -0
- data/test/test_Critical_Guard.cpp +51 -0
- data/test/test_Data_Object.cpp +275 -0
- data/test/test_Data_Type.cpp +348 -0
- data/test/test_Director.cpp +301 -0
- data/test/test_Enum.cpp +195 -0
- data/test/test_Exception.cpp +46 -0
- data/test/test_Hash.cpp +195 -0
- data/test/test_Identifier.cpp +70 -0
- data/test/test_Jump_Tag.cpp +17 -0
- data/test/test_Memory_Management.cpp +50 -0
- data/test/test_Module.cpp +481 -0
- data/test/test_Object.cpp +148 -0
- data/test/test_String.cpp +94 -0
- data/test/test_Struct.cpp +192 -0
- data/test/test_Symbol.cpp +63 -0
- data/test/test_To_From_Ruby.cpp +277 -0
- data/test/test_VM.cpp +26 -0
- data/test/test_global_functions.cpp +114 -0
- data/test/test_rice.rb +43 -0
- data/test/unittest.cpp +136 -0
- data/test/unittest.hpp +292 -0
- metadata +289 -0
@@ -0,0 +1,71 @@
|
|
1
|
+
#ifndef Rice__to_from_ruby_defn__hpp_
|
2
|
+
#define Rice__to_from_ruby_defn__hpp_
|
3
|
+
|
4
|
+
#include "Object_defn.hpp"
|
5
|
+
#include "detail/from_ruby.hpp"
|
6
|
+
#include "detail/to_ruby.hpp"
|
7
|
+
|
8
|
+
#include <typeinfo>
|
9
|
+
#include <string>
|
10
|
+
#include <stdexcept>
|
11
|
+
|
12
|
+
// ---------------------------------------------------------------------
|
13
|
+
|
14
|
+
//! Convert a Ruby object to C++.
|
15
|
+
/*! If the Ruby object can be converted to an immediate value, returns a
|
16
|
+
* copy of the Ruby object. If the Ruby object is holding a C++
|
17
|
+
* object and the type specified is a pointer to that type, returns a
|
18
|
+
* pointer to that object.
|
19
|
+
*
|
20
|
+
* Conversions from ruby to a pointer type are automatically generated
|
21
|
+
* when a type is bound using Data_Type. If no conversion exists an
|
22
|
+
* exception is thrown.
|
23
|
+
*
|
24
|
+
* \param T the C++ type to which to convert.
|
25
|
+
* \param x the Ruby object to convert.
|
26
|
+
* \return a C++ representation of the Ruby object.
|
27
|
+
*
|
28
|
+
* Example:
|
29
|
+
* \code
|
30
|
+
* Object x = INT2NUM(42);
|
31
|
+
* std::cout << from_ruby<int>(x);
|
32
|
+
*
|
33
|
+
* Data_Object<Foo> foo(new Foo);
|
34
|
+
* Object obj(foo);
|
35
|
+
* std::cout << *from_ruby<Foo *>(obj) << std::endl;
|
36
|
+
* \endcode
|
37
|
+
*/
|
38
|
+
template<typename T>
|
39
|
+
inline
|
40
|
+
typename Rice::detail::from_ruby_<T>::Retval_T from_ruby(Rice::Object x)
|
41
|
+
{
|
42
|
+
return Rice::detail::from_ruby_<T>::convert(x);
|
43
|
+
}
|
44
|
+
|
45
|
+
//! Convert a C++ object to Ruby.
|
46
|
+
/*! If x is a pointer, wraps the pointee as a Ruby object. If x is an
|
47
|
+
* Object, returns x.
|
48
|
+
*
|
49
|
+
* If no conversion exists a compile-time error is generated.
|
50
|
+
*
|
51
|
+
* \param x the object to convert.
|
52
|
+
* \return a Ruby representation of the C++ object.
|
53
|
+
*
|
54
|
+
* Example:
|
55
|
+
* \code
|
56
|
+
* rb_p(to_ruby(42));
|
57
|
+
*
|
58
|
+
* Data_Object<Foo> foo(new Foo);
|
59
|
+
* Foo * p_foo = foo.get();
|
60
|
+
* rb_p(to_ruby(p_foo));
|
61
|
+
* \endcode
|
62
|
+
*/
|
63
|
+
template<typename T>
|
64
|
+
inline
|
65
|
+
Rice::Object to_ruby(T const & x)
|
66
|
+
{
|
67
|
+
return Rice::detail::to_ruby_<T>::convert(x);
|
68
|
+
}
|
69
|
+
|
70
|
+
#endif // Rice__to_from_ruby_defn__hpp_
|
71
|
+
|
data/ruby/Makefile.am
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
SUBDIRS = lib
|
data/ruby/Makefile.in
ADDED
@@ -0,0 +1,497 @@
|
|
1
|
+
# Makefile.in generated by automake 1.10 from Makefile.am.
|
2
|
+
# @configure_input@
|
3
|
+
|
4
|
+
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
|
5
|
+
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
6
|
+
# This Makefile.in is free software; the Free Software Foundation
|
7
|
+
# gives unlimited permission to copy and/or distribute it,
|
8
|
+
# with or without modifications, as long as this notice is preserved.
|
9
|
+
|
10
|
+
# This program is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
12
|
+
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
13
|
+
# PARTICULAR PURPOSE.
|
14
|
+
|
15
|
+
@SET_MAKE@
|
16
|
+
VPATH = @srcdir@
|
17
|
+
pkgdatadir = $(datadir)/@PACKAGE@
|
18
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
19
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
20
|
+
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
21
|
+
install_sh_DATA = $(install_sh) -c -m 644
|
22
|
+
install_sh_PROGRAM = $(install_sh) -c
|
23
|
+
install_sh_SCRIPT = $(install_sh) -c
|
24
|
+
INSTALL_HEADER = $(INSTALL_DATA)
|
25
|
+
transform = $(program_transform_name)
|
26
|
+
NORMAL_INSTALL = :
|
27
|
+
PRE_INSTALL = :
|
28
|
+
POST_INSTALL = :
|
29
|
+
NORMAL_UNINSTALL = :
|
30
|
+
PRE_UNINSTALL = :
|
31
|
+
POST_UNINSTALL = :
|
32
|
+
build_triplet = @build@
|
33
|
+
host_triplet = @host@
|
34
|
+
subdir = ruby
|
35
|
+
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
36
|
+
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
37
|
+
am__aclocal_m4_deps = $(top_srcdir)/ruby.ac $(top_srcdir)/doxygen.ac \
|
38
|
+
$(top_srcdir)/configure.ac
|
39
|
+
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
40
|
+
$(ACLOCAL_M4)
|
41
|
+
mkinstalldirs = $(install_sh) -d
|
42
|
+
CONFIG_HEADER = $(top_builddir)/rice/config.hpp
|
43
|
+
CONFIG_CLEAN_FILES =
|
44
|
+
SOURCES =
|
45
|
+
DIST_SOURCES =
|
46
|
+
RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
47
|
+
html-recursive info-recursive install-data-recursive \
|
48
|
+
install-dvi-recursive install-exec-recursive \
|
49
|
+
install-html-recursive install-info-recursive \
|
50
|
+
install-pdf-recursive install-ps-recursive install-recursive \
|
51
|
+
installcheck-recursive installdirs-recursive pdf-recursive \
|
52
|
+
ps-recursive uninstall-recursive
|
53
|
+
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
54
|
+
distclean-recursive maintainer-clean-recursive
|
55
|
+
ETAGS = etags
|
56
|
+
CTAGS = ctags
|
57
|
+
DIST_SUBDIRS = $(SUBDIRS)
|
58
|
+
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
59
|
+
ACLOCAL = @ACLOCAL@
|
60
|
+
AMTAR = @AMTAR@
|
61
|
+
AUTOCONF = @AUTOCONF@
|
62
|
+
AUTOHEADER = @AUTOHEADER@
|
63
|
+
AUTOMAKE = @AUTOMAKE@
|
64
|
+
AWK = @AWK@
|
65
|
+
CPPFLAGS = @CPPFLAGS@
|
66
|
+
CXX = @CXX@
|
67
|
+
CXXDEPMODE = @CXXDEPMODE@
|
68
|
+
CXXFLAGS = @CXXFLAGS@
|
69
|
+
CYGPATH_W = @CYGPATH_W@
|
70
|
+
DEFS = @DEFS@
|
71
|
+
DEPDIR = @DEPDIR@
|
72
|
+
DOXYGEN_PAPER_SIZE = @DOXYGEN_PAPER_SIZE@
|
73
|
+
DX_CONFIG = @DX_CONFIG@
|
74
|
+
DX_DOCDIR = @DX_DOCDIR@
|
75
|
+
DX_DOT = @DX_DOT@
|
76
|
+
DX_DOXYGEN = @DX_DOXYGEN@
|
77
|
+
DX_DVIPS = @DX_DVIPS@
|
78
|
+
DX_EGREP = @DX_EGREP@
|
79
|
+
DX_ENV = @DX_ENV@
|
80
|
+
DX_FLAG_chi = @DX_FLAG_chi@
|
81
|
+
DX_FLAG_chm = @DX_FLAG_chm@
|
82
|
+
DX_FLAG_doc = @DX_FLAG_doc@
|
83
|
+
DX_FLAG_dot = @DX_FLAG_dot@
|
84
|
+
DX_FLAG_html = @DX_FLAG_html@
|
85
|
+
DX_FLAG_man = @DX_FLAG_man@
|
86
|
+
DX_FLAG_pdf = @DX_FLAG_pdf@
|
87
|
+
DX_FLAG_ps = @DX_FLAG_ps@
|
88
|
+
DX_FLAG_rtf = @DX_FLAG_rtf@
|
89
|
+
DX_FLAG_xml = @DX_FLAG_xml@
|
90
|
+
DX_HHC = @DX_HHC@
|
91
|
+
DX_LATEX = @DX_LATEX@
|
92
|
+
DX_MAKEINDEX = @DX_MAKEINDEX@
|
93
|
+
DX_PDFLATEX = @DX_PDFLATEX@
|
94
|
+
DX_PERL = @DX_PERL@
|
95
|
+
DX_PROJECT = @DX_PROJECT@
|
96
|
+
ECHO_C = @ECHO_C@
|
97
|
+
ECHO_N = @ECHO_N@
|
98
|
+
ECHO_T = @ECHO_T@
|
99
|
+
EXEEXT = @EXEEXT@
|
100
|
+
INSTALL = @INSTALL@
|
101
|
+
INSTALL_DATA = @INSTALL_DATA@
|
102
|
+
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
103
|
+
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
104
|
+
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
105
|
+
LDFLAGS = @LDFLAGS@
|
106
|
+
LIBOBJS = @LIBOBJS@
|
107
|
+
LIBS = @LIBS@
|
108
|
+
LTLIBOBJS = @LTLIBOBJS@
|
109
|
+
MAKEINFO = @MAKEINFO@
|
110
|
+
MKDIR_P = @MKDIR_P@
|
111
|
+
OBJEXT = @OBJEXT@
|
112
|
+
PACKAGE = @PACKAGE@
|
113
|
+
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
114
|
+
PACKAGE_NAME = @PACKAGE_NAME@
|
115
|
+
PACKAGE_STRING = @PACKAGE_STRING@
|
116
|
+
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
117
|
+
PACKAGE_VERSION = @PACKAGE_VERSION@
|
118
|
+
PATH_SEPARATOR = @PATH_SEPARATOR@
|
119
|
+
RANLIB = @RANLIB@
|
120
|
+
RICE_CPPFLAGS = @RICE_CPPFLAGS@
|
121
|
+
RICE_LDFLAGS = @RICE_LDFLAGS@
|
122
|
+
RICE_ROOT = @RICE_ROOT@
|
123
|
+
RICE_SAMPLES = @RICE_SAMPLES@
|
124
|
+
RICE_USING_MINGW32 = @RICE_USING_MINGW32@
|
125
|
+
RUBY = @RUBY@
|
126
|
+
RUBY_CFLAGS = @RUBY_CFLAGS@
|
127
|
+
RUBY_CPPFLAGS = @RUBY_CPPFLAGS@
|
128
|
+
RUBY_CXXFLAGS = @RUBY_CXXFLAGS@
|
129
|
+
RUBY_LDFLAGS = @RUBY_LDFLAGS@
|
130
|
+
RUBY_LIBRUBYARG = @RUBY_LIBRUBYARG@
|
131
|
+
RUBY_LIBRUBYARG_STATIC = @RUBY_LIBRUBYARG_STATIC@
|
132
|
+
RUBY_LIBS = @RUBY_LIBS@
|
133
|
+
RUBY_SITELIBDIR = @RUBY_SITELIBDIR@
|
134
|
+
RUBY_VERSION_CODE = @RUBY_VERSION_CODE@
|
135
|
+
SET_MAKE = @SET_MAKE@
|
136
|
+
SHELL = @SHELL@
|
137
|
+
STRIP = @STRIP@
|
138
|
+
VERSION = @VERSION@
|
139
|
+
abs_builddir = @abs_builddir@
|
140
|
+
abs_srcdir = @abs_srcdir@
|
141
|
+
abs_top_builddir = @abs_top_builddir@
|
142
|
+
abs_top_srcdir = @abs_top_srcdir@
|
143
|
+
ac_ct_CXX = @ac_ct_CXX@
|
144
|
+
am__include = @am__include@
|
145
|
+
am__leading_dot = @am__leading_dot@
|
146
|
+
am__quote = @am__quote@
|
147
|
+
am__tar = @am__tar@
|
148
|
+
am__untar = @am__untar@
|
149
|
+
bindir = @bindir@
|
150
|
+
build = @build@
|
151
|
+
build_alias = @build_alias@
|
152
|
+
build_cpu = @build_cpu@
|
153
|
+
build_os = @build_os@
|
154
|
+
build_vendor = @build_vendor@
|
155
|
+
builddir = @builddir@
|
156
|
+
datadir = @datadir@
|
157
|
+
datarootdir = @datarootdir@
|
158
|
+
docdir = @docdir@
|
159
|
+
dvidir = @dvidir@
|
160
|
+
exec_prefix = @exec_prefix@
|
161
|
+
host = @host@
|
162
|
+
host_alias = @host_alias@
|
163
|
+
host_cpu = @host_cpu@
|
164
|
+
host_os = @host_os@
|
165
|
+
host_vendor = @host_vendor@
|
166
|
+
htmldir = @htmldir@
|
167
|
+
includedir = @includedir@
|
168
|
+
infodir = @infodir@
|
169
|
+
install_sh = @install_sh@
|
170
|
+
libdir = @libdir@
|
171
|
+
libexecdir = @libexecdir@
|
172
|
+
localedir = @localedir@
|
173
|
+
localstatedir = @localstatedir@
|
174
|
+
mandir = @mandir@
|
175
|
+
mkdir_p = @mkdir_p@
|
176
|
+
oldincludedir = @oldincludedir@
|
177
|
+
pdfdir = @pdfdir@
|
178
|
+
prefix = @prefix@
|
179
|
+
program_transform_name = @program_transform_name@
|
180
|
+
psdir = @psdir@
|
181
|
+
sbindir = @sbindir@
|
182
|
+
sharedstatedir = @sharedstatedir@
|
183
|
+
srcdir = @srcdir@
|
184
|
+
sysconfdir = @sysconfdir@
|
185
|
+
target_alias = @target_alias@
|
186
|
+
top_builddir = @top_builddir@
|
187
|
+
top_srcdir = @top_srcdir@
|
188
|
+
SUBDIRS = lib
|
189
|
+
all: all-recursive
|
190
|
+
|
191
|
+
.SUFFIXES:
|
192
|
+
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
193
|
+
@for dep in $?; do \
|
194
|
+
case '$(am__configure_deps)' in \
|
195
|
+
*$$dep*) \
|
196
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
197
|
+
&& exit 0; \
|
198
|
+
exit 1;; \
|
199
|
+
esac; \
|
200
|
+
done; \
|
201
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu ruby/Makefile'; \
|
202
|
+
cd $(top_srcdir) && \
|
203
|
+
$(AUTOMAKE) --gnu ruby/Makefile
|
204
|
+
.PRECIOUS: Makefile
|
205
|
+
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
206
|
+
@case '$?' in \
|
207
|
+
*config.status*) \
|
208
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
209
|
+
*) \
|
210
|
+
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
|
211
|
+
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
|
212
|
+
esac;
|
213
|
+
|
214
|
+
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
215
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
216
|
+
|
217
|
+
$(top_srcdir)/configure: $(am__configure_deps)
|
218
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
219
|
+
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
220
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
221
|
+
|
222
|
+
# This directory's subdirectories are mostly independent; you can cd
|
223
|
+
# into them and run `make' without going through this Makefile.
|
224
|
+
# To change the values of `make' variables: instead of editing Makefiles,
|
225
|
+
# (1) if the variable is set in `config.status', edit `config.status'
|
226
|
+
# (which will cause the Makefiles to be regenerated when you run `make');
|
227
|
+
# (2) otherwise, pass the desired values on the `make' command line.
|
228
|
+
$(RECURSIVE_TARGETS):
|
229
|
+
@failcom='exit 1'; \
|
230
|
+
for f in x $$MAKEFLAGS; do \
|
231
|
+
case $$f in \
|
232
|
+
*=* | --[!k]*);; \
|
233
|
+
*k*) failcom='fail=yes';; \
|
234
|
+
esac; \
|
235
|
+
done; \
|
236
|
+
dot_seen=no; \
|
237
|
+
target=`echo $@ | sed s/-recursive//`; \
|
238
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
239
|
+
echo "Making $$target in $$subdir"; \
|
240
|
+
if test "$$subdir" = "."; then \
|
241
|
+
dot_seen=yes; \
|
242
|
+
local_target="$$target-am"; \
|
243
|
+
else \
|
244
|
+
local_target="$$target"; \
|
245
|
+
fi; \
|
246
|
+
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
247
|
+
|| eval $$failcom; \
|
248
|
+
done; \
|
249
|
+
if test "$$dot_seen" = "no"; then \
|
250
|
+
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
251
|
+
fi; test -z "$$fail"
|
252
|
+
|
253
|
+
$(RECURSIVE_CLEAN_TARGETS):
|
254
|
+
@failcom='exit 1'; \
|
255
|
+
for f in x $$MAKEFLAGS; do \
|
256
|
+
case $$f in \
|
257
|
+
*=* | --[!k]*);; \
|
258
|
+
*k*) failcom='fail=yes';; \
|
259
|
+
esac; \
|
260
|
+
done; \
|
261
|
+
dot_seen=no; \
|
262
|
+
case "$@" in \
|
263
|
+
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
264
|
+
*) list='$(SUBDIRS)' ;; \
|
265
|
+
esac; \
|
266
|
+
rev=''; for subdir in $$list; do \
|
267
|
+
if test "$$subdir" = "."; then :; else \
|
268
|
+
rev="$$subdir $$rev"; \
|
269
|
+
fi; \
|
270
|
+
done; \
|
271
|
+
rev="$$rev ."; \
|
272
|
+
target=`echo $@ | sed s/-recursive//`; \
|
273
|
+
for subdir in $$rev; do \
|
274
|
+
echo "Making $$target in $$subdir"; \
|
275
|
+
if test "$$subdir" = "."; then \
|
276
|
+
local_target="$$target-am"; \
|
277
|
+
else \
|
278
|
+
local_target="$$target"; \
|
279
|
+
fi; \
|
280
|
+
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
281
|
+
|| eval $$failcom; \
|
282
|
+
done && test -z "$$fail"
|
283
|
+
tags-recursive:
|
284
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
285
|
+
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
286
|
+
done
|
287
|
+
ctags-recursive:
|
288
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
289
|
+
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
290
|
+
done
|
291
|
+
|
292
|
+
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
293
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
294
|
+
unique=`for i in $$list; do \
|
295
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
296
|
+
done | \
|
297
|
+
$(AWK) ' { files[$$0] = 1; } \
|
298
|
+
END { for (i in files) print i; }'`; \
|
299
|
+
mkid -fID $$unique
|
300
|
+
tags: TAGS
|
301
|
+
|
302
|
+
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
303
|
+
$(TAGS_FILES) $(LISP)
|
304
|
+
tags=; \
|
305
|
+
here=`pwd`; \
|
306
|
+
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
307
|
+
include_option=--etags-include; \
|
308
|
+
empty_fix=.; \
|
309
|
+
else \
|
310
|
+
include_option=--include; \
|
311
|
+
empty_fix=; \
|
312
|
+
fi; \
|
313
|
+
list='$(SUBDIRS)'; for subdir in $$list; do \
|
314
|
+
if test "$$subdir" = .; then :; else \
|
315
|
+
test ! -f $$subdir/TAGS || \
|
316
|
+
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
317
|
+
fi; \
|
318
|
+
done; \
|
319
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
320
|
+
unique=`for i in $$list; do \
|
321
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
322
|
+
done | \
|
323
|
+
$(AWK) ' { files[$$0] = 1; } \
|
324
|
+
END { for (i in files) print i; }'`; \
|
325
|
+
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
326
|
+
test -n "$$unique" || unique=$$empty_fix; \
|
327
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
328
|
+
$$tags $$unique; \
|
329
|
+
fi
|
330
|
+
ctags: CTAGS
|
331
|
+
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
332
|
+
$(TAGS_FILES) $(LISP)
|
333
|
+
tags=; \
|
334
|
+
here=`pwd`; \
|
335
|
+
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
336
|
+
unique=`for i in $$list; do \
|
337
|
+
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
338
|
+
done | \
|
339
|
+
$(AWK) ' { files[$$0] = 1; } \
|
340
|
+
END { for (i in files) print i; }'`; \
|
341
|
+
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
342
|
+
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
343
|
+
$$tags $$unique
|
344
|
+
|
345
|
+
GTAGS:
|
346
|
+
here=`$(am__cd) $(top_builddir) && pwd` \
|
347
|
+
&& cd $(top_srcdir) \
|
348
|
+
&& gtags -i $(GTAGS_ARGS) $$here
|
349
|
+
|
350
|
+
distclean-tags:
|
351
|
+
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
352
|
+
|
353
|
+
distdir: $(DISTFILES)
|
354
|
+
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
355
|
+
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
356
|
+
list='$(DISTFILES)'; \
|
357
|
+
dist_files=`for file in $$list; do echo $$file; done | \
|
358
|
+
sed -e "s|^$$srcdirstrip/||;t" \
|
359
|
+
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
360
|
+
case $$dist_files in \
|
361
|
+
*/*) eval $(MKDIR_P) `echo "$$dist_files" | \
|
362
|
+
sed '/\//!d;s|^|"$(distdir)"/|;s,/[^/]*$$,,' | \
|
363
|
+
sort -u` ;; \
|
364
|
+
esac; \
|
365
|
+
for file in $$dist_files; do \
|
366
|
+
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
367
|
+
if test -d $$d/$$file; then \
|
368
|
+
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
369
|
+
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
370
|
+
cp -pR $(srcdir)/$$file "$(distdir)"$$dir || exit 1; \
|
371
|
+
fi; \
|
372
|
+
cp -pR $$d/$$file "$(distdir)"$$dir || exit 1; \
|
373
|
+
else \
|
374
|
+
test -f "$(distdir)"/$$file \
|
375
|
+
|| cp -p $$d/$$file "$(distdir)"/$$file \
|
376
|
+
|| exit 1; \
|
377
|
+
fi; \
|
378
|
+
done
|
379
|
+
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
380
|
+
if test "$$subdir" = .; then :; else \
|
381
|
+
test -d "$(distdir)/$$subdir" \
|
382
|
+
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
383
|
+
|| exit 1; \
|
384
|
+
distdir=`$(am__cd) "$(distdir)" && pwd`; \
|
385
|
+
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
386
|
+
(cd $$subdir && \
|
387
|
+
$(MAKE) $(AM_MAKEFLAGS) \
|
388
|
+
top_distdir="$$top_distdir" \
|
389
|
+
distdir="$$distdir/$$subdir" \
|
390
|
+
am__remove_distdir=: \
|
391
|
+
am__skip_length_check=: \
|
392
|
+
distdir) \
|
393
|
+
|| exit 1; \
|
394
|
+
fi; \
|
395
|
+
done
|
396
|
+
check-am: all-am
|
397
|
+
check: check-recursive
|
398
|
+
all-am: Makefile
|
399
|
+
installdirs: installdirs-recursive
|
400
|
+
installdirs-am:
|
401
|
+
install: install-recursive
|
402
|
+
install-exec: install-exec-recursive
|
403
|
+
install-data: install-data-recursive
|
404
|
+
uninstall: uninstall-recursive
|
405
|
+
|
406
|
+
install-am: all-am
|
407
|
+
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
408
|
+
|
409
|
+
installcheck: installcheck-recursive
|
410
|
+
install-strip:
|
411
|
+
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
412
|
+
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
413
|
+
`test -z '$(STRIP)' || \
|
414
|
+
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
415
|
+
mostlyclean-generic:
|
416
|
+
|
417
|
+
clean-generic:
|
418
|
+
|
419
|
+
distclean-generic:
|
420
|
+
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
421
|
+
|
422
|
+
maintainer-clean-generic:
|
423
|
+
@echo "This command is intended for maintainers to use"
|
424
|
+
@echo "it deletes files that may require special tools to rebuild."
|
425
|
+
clean: clean-recursive
|
426
|
+
|
427
|
+
clean-am: clean-generic mostlyclean-am
|
428
|
+
|
429
|
+
distclean: distclean-recursive
|
430
|
+
-rm -f Makefile
|
431
|
+
distclean-am: clean-am distclean-generic distclean-tags
|
432
|
+
|
433
|
+
dvi: dvi-recursive
|
434
|
+
|
435
|
+
dvi-am:
|
436
|
+
|
437
|
+
html: html-recursive
|
438
|
+
|
439
|
+
info: info-recursive
|
440
|
+
|
441
|
+
info-am:
|
442
|
+
|
443
|
+
install-data-am:
|
444
|
+
|
445
|
+
install-dvi: install-dvi-recursive
|
446
|
+
|
447
|
+
install-exec-am:
|
448
|
+
|
449
|
+
install-html: install-html-recursive
|
450
|
+
|
451
|
+
install-info: install-info-recursive
|
452
|
+
|
453
|
+
install-man:
|
454
|
+
|
455
|
+
install-pdf: install-pdf-recursive
|
456
|
+
|
457
|
+
install-ps: install-ps-recursive
|
458
|
+
|
459
|
+
installcheck-am:
|
460
|
+
|
461
|
+
maintainer-clean: maintainer-clean-recursive
|
462
|
+
-rm -f Makefile
|
463
|
+
maintainer-clean-am: distclean-am maintainer-clean-generic
|
464
|
+
|
465
|
+
mostlyclean: mostlyclean-recursive
|
466
|
+
|
467
|
+
mostlyclean-am: mostlyclean-generic
|
468
|
+
|
469
|
+
pdf: pdf-recursive
|
470
|
+
|
471
|
+
pdf-am:
|
472
|
+
|
473
|
+
ps: ps-recursive
|
474
|
+
|
475
|
+
ps-am:
|
476
|
+
|
477
|
+
uninstall-am:
|
478
|
+
|
479
|
+
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
|
480
|
+
install-strip
|
481
|
+
|
482
|
+
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
483
|
+
all all-am check check-am clean clean-generic ctags \
|
484
|
+
ctags-recursive distclean distclean-generic distclean-tags \
|
485
|
+
distdir dvi dvi-am html html-am info info-am install \
|
486
|
+
install-am install-data install-data-am install-dvi \
|
487
|
+
install-dvi-am install-exec install-exec-am install-html \
|
488
|
+
install-html-am install-info install-info-am install-man \
|
489
|
+
install-pdf install-pdf-am install-ps install-ps-am \
|
490
|
+
install-strip installcheck installcheck-am installdirs \
|
491
|
+
installdirs-am maintainer-clean maintainer-clean-generic \
|
492
|
+
mostlyclean mostlyclean-generic pdf pdf-am ps ps-am tags \
|
493
|
+
tags-recursive uninstall uninstall-am
|
494
|
+
|
495
|
+
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
496
|
+
# Otherwise a system limit (for SysV at least) may be exceeded.
|
497
|
+
.NOEXPORT:
|