rice 1.2.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/configure.ac
CHANGED
@@ -44,8 +44,8 @@ RICE_ROOT=`pwd`
|
|
44
44
|
AC_SUBST(RICE_ROOT)
|
45
45
|
|
46
46
|
AC_CONFIG_FILES(Makefile rice/Makefile test/Makefile sample/Makefile
|
47
|
-
ruby/Makefile ruby/lib/Makefile
|
48
|
-
rice/detail/ruby_version_code.hpp)
|
47
|
+
ruby/Makefile ruby/lib/Makefile test/ext/Makefile
|
48
|
+
ruby/lib/mkmf-rice.rb rice/detail/ruby_version_code.hpp)
|
49
49
|
AC_OUTPUT
|
50
50
|
|
51
51
|
dnl Work around a bug in older versions of Rubygems
|
data/doxygen.ac
CHANGED
@@ -118,7 +118,7 @@ AC_DEFUN([DX_ARG_ABLE], [
|
|
118
118
|
AC_DEFUN([DX_CURRENT_FEATURE], [$1])
|
119
119
|
AC_DEFUN([DX_CURRENT_DESCRIPTION], [$2])
|
120
120
|
AC_ARG_ENABLE(doxygen-$1,
|
121
|
-
[
|
121
|
+
[AC_HELP_STRING(DX_IF_FEATURE([$1], [--disable-doxygen-$1],
|
122
122
|
[--enable-doxygen-$1]),
|
123
123
|
DX_IF_FEATURE([$1], [don't $2], [$2]))],
|
124
124
|
[
|
data/extconf.rb
CHANGED
@@ -11,6 +11,8 @@
|
|
11
11
|
# for gem to continue 'make'-ing. It needs to be named 'extconf.rb' to fit Rubygem's
|
12
12
|
# expectations
|
13
13
|
|
14
|
+
$:.unshift File.expand_path(File.dirname(__FILE__))
|
15
|
+
|
14
16
|
require 'rbconfig'
|
15
17
|
require 'rubygems'
|
16
18
|
require 'ruby/lib/version.rb'
|
@@ -27,4 +29,4 @@ if RUBY_PLATFORM =~ /darwin10/
|
|
27
29
|
env = "ARCHFLAGS='-arch x86_64'"
|
28
30
|
end
|
29
31
|
|
30
|
-
system "#{env}
|
32
|
+
system "#{env} sh configure --with-ruby=#{with_ruby} --prefix=#{prefix_dir} #{other_opts}"
|
data/rice/Arg_impl.hpp
CHANGED
@@ -52,7 +52,7 @@ namespace Rice {
|
|
52
52
|
* \param val the value to store as default
|
53
53
|
*/
|
54
54
|
template<typename Arg_Type>
|
55
|
-
Arg& operator=(Arg_Type
|
55
|
+
Arg& operator=(Arg_Type val)
|
56
56
|
{
|
57
57
|
defaultValue = new type<Arg_Type>(val);
|
58
58
|
return *this;
|
@@ -67,7 +67,7 @@ namespace Rice {
|
|
67
67
|
/*! \return the type saved to this Arg
|
68
68
|
*/
|
69
69
|
template<typename Arg_Type>
|
70
|
-
Arg_Type getDefaultValue()
|
70
|
+
Arg_Type getDefaultValue()
|
71
71
|
{
|
72
72
|
return static_cast< type<Arg_Type>* >(defaultValue)->held;
|
73
73
|
}
|
data/rice/Data_Type.cpp
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#include "Data_Type.hpp"
|
2
2
|
|
3
|
-
Rice::Data_Type_Base::Casters Rice::Data_Type_Base::casters_;
|
3
|
+
Rice::Data_Type_Base::Casters * Rice::Data_Type_Base::casters_ = 0;
|
4
4
|
|
5
5
|
Rice::Data_Type_Base::
|
6
6
|
Data_Type_Base()
|
@@ -19,3 +19,36 @@ Rice::Data_Type_Base::
|
|
19
19
|
{
|
20
20
|
}
|
21
21
|
|
22
|
+
Rice::Data_Type_Base::Casters &
|
23
|
+
Rice::Data_Type_Base::
|
24
|
+
casters()
|
25
|
+
{
|
26
|
+
// Initialize the casters_ if it is null
|
27
|
+
if (!casters_)
|
28
|
+
{
|
29
|
+
// First, see if it has been previously registered with the
|
30
|
+
// interpreter (possibly by another extension)
|
31
|
+
Class object(rb_cObject);
|
32
|
+
Object casters_object(object.attr_get("__rice_casters__"));
|
33
|
+
|
34
|
+
if (casters_object.is_nil())
|
35
|
+
{
|
36
|
+
// If it is unset, then set it for the first time
|
37
|
+
Data_Object<Casters> casters(
|
38
|
+
new Casters,
|
39
|
+
rb_cObject);
|
40
|
+
object.iv_set("__rice_casters__", casters);
|
41
|
+
casters_ = casters.get();
|
42
|
+
}
|
43
|
+
else
|
44
|
+
{
|
45
|
+
// If it is set, then use the existing value
|
46
|
+
Data_Object<Casters> casters(
|
47
|
+
casters_object);
|
48
|
+
casters_ = casters.get();
|
49
|
+
}
|
50
|
+
}
|
51
|
+
|
52
|
+
return *casters_;
|
53
|
+
}
|
54
|
+
|
data/rice/Data_Type.ipp
CHANGED
@@ -33,7 +33,7 @@ bind(Module const & klass)
|
|
33
33
|
{
|
34
34
|
std::string s;
|
35
35
|
s = "Data type ";
|
36
|
-
s
|
36
|
+
s += detail::demangle(typeid(T).name());
|
37
37
|
s += " is already bound to a different type";
|
38
38
|
throw std::runtime_error(s.c_str());
|
39
39
|
}
|
@@ -60,7 +60,7 @@ bind(Module const & klass)
|
|
60
60
|
|
61
61
|
detail::Abstract_Caster * base_caster = Data_Type<Base_T>().caster();
|
62
62
|
caster_.reset(new detail::Caster<T, Base_T>(base_caster, klass));
|
63
|
-
Data_Type_Base::
|
63
|
+
Data_Type_Base::casters().insert(std::make_pair(klass, caster_.get()));
|
64
64
|
return Data_Type<T>();
|
65
65
|
}
|
66
66
|
|
@@ -134,6 +134,15 @@ define_constructor(
|
|
134
134
|
return *this;
|
135
135
|
}
|
136
136
|
|
137
|
+
template<typename T>
|
138
|
+
template<typename Director_T>
|
139
|
+
inline Rice::Data_Type<T>& Rice::Data_Type<T>::
|
140
|
+
define_director()
|
141
|
+
{
|
142
|
+
Rice::Data_Type<Director_T>::template bind<T>(*this);
|
143
|
+
return *this;
|
144
|
+
}
|
145
|
+
|
137
146
|
template<typename T>
|
138
147
|
inline T * Rice::Data_Type<T>::
|
139
148
|
from_ruby(Object x)
|
@@ -151,8 +160,8 @@ from_ruby(Object x)
|
|
151
160
|
return obj.get();
|
152
161
|
}
|
153
162
|
|
154
|
-
Data_Type_Base::Casters::const_iterator it = Data_Type_Base::
|
155
|
-
Data_Type_Base::Casters::const_iterator end = Data_Type_Base::
|
163
|
+
Data_Type_Base::Casters::const_iterator it = Data_Type_Base::casters().begin();
|
164
|
+
Data_Type_Base::Casters::const_iterator end = Data_Type_Base::casters().end();
|
156
165
|
|
157
166
|
// Finding the bound type that relates to the given klass is
|
158
167
|
// a two step process. We iterate over the list of known type casters,
|
@@ -251,7 +260,7 @@ check_is_bound()
|
|
251
260
|
{
|
252
261
|
std::string s;
|
253
262
|
s = "Data type ";
|
254
|
-
s
|
263
|
+
s += detail::demangle(typeid(T).name());
|
255
264
|
s += " is not bound";
|
256
265
|
throw std::runtime_error(s.c_str());
|
257
266
|
}
|
data/rice/Data_Type_defn.hpp
CHANGED
@@ -42,7 +42,10 @@ public:
|
|
42
42
|
protected:
|
43
43
|
virtual detail::Abstract_Caster * caster() const = 0;
|
44
44
|
|
45
|
-
static Casters
|
45
|
+
static Casters & casters();
|
46
|
+
|
47
|
+
private:
|
48
|
+
static Casters * casters_;
|
46
49
|
};
|
47
50
|
|
48
51
|
//! Define a new data class in the namespace given by module.
|
@@ -150,6 +153,30 @@ public:
|
|
150
153
|
Data_Type<T> & define_constructor(
|
151
154
|
Constructor_T constructor);
|
152
155
|
|
156
|
+
//! Register a Director class for this class.
|
157
|
+
/*! For any class that uses Rice::Director to enable polymorphism
|
158
|
+
* across the languages, you need to register that director proxy
|
159
|
+
* class with this method. Not doing so will cause the resulting
|
160
|
+
* library to die at run time when it tries to convert the base
|
161
|
+
* type into the Director proxy type, and cannot find an appropriate Caster.
|
162
|
+
*
|
163
|
+
* This method takes no arguments, just needs the type of the
|
164
|
+
* Director proxy class.
|
165
|
+
*
|
166
|
+
* For example:
|
167
|
+
* \code
|
168
|
+
* class FooDirector : public Foo, public Rice::Director {
|
169
|
+
* ...
|
170
|
+
* };
|
171
|
+
*
|
172
|
+
* define_class<Foo>("Foo")
|
173
|
+
* .define_director<FooDirector>()
|
174
|
+
* .define_constructor(Constructor<FooDirector, Rice::Object>());
|
175
|
+
* \endcode
|
176
|
+
*/
|
177
|
+
template<typename Director_T>
|
178
|
+
Data_Type<T>& define_director();
|
179
|
+
|
153
180
|
//! Convert ruby object x to type T.
|
154
181
|
/*! \param x the object to convert.
|
155
182
|
* \return the C++ object wrapped inside object x.
|
data/rice/Director.cpp
CHANGED
@@ -1,17 +1,11 @@
|
|
1
1
|
#include "Director.hpp"
|
2
2
|
|
3
|
-
#include "detail/env.hpp"
|
4
|
-
|
5
3
|
namespace Rice {
|
6
4
|
|
7
5
|
Director::Director(Object self) {
|
8
6
|
self_ = self;
|
9
7
|
}
|
10
8
|
|
11
|
-
bool Director::callIsFromRuby(const char* methodName) const {
|
12
|
-
return (getSelf().value() == ruby_frame->self) && ( rb_id2name(ruby_frame->orig_func) != methodName );
|
13
|
-
}
|
14
|
-
|
15
9
|
void Director::raisePureVirtual() const {
|
16
10
|
rb_raise(rb_eNotImpError, "Cannot call super() into a pure-virtual C++ method");
|
17
11
|
}
|
data/rice/Director.hpp
CHANGED
@@ -19,14 +19,6 @@ namespace Rice {
|
|
19
19
|
|
20
20
|
virtual ~Director() { }
|
21
21
|
|
22
|
-
//! Is the current method call path coming from Ruby?
|
23
|
-
/*! This method allows one to choose the call chain according
|
24
|
-
* to the direction of the execution path. We need to do
|
25
|
-
* this to prevent infinite loops where super() calls could
|
26
|
-
* inadvertantly call methods back in Ruby
|
27
|
-
*/
|
28
|
-
bool callIsFromRuby(const char* methodName) const;
|
29
|
-
|
30
22
|
//! Raise a ruby exception when a call comes through for a pure virtual method
|
31
23
|
/*! If a Ruby script calls 'super' on a method that's otherwise a pure virtual
|
32
24
|
* method, use this method to throw an exception in this case.
|
data/rice/Hash.hpp
CHANGED
data/rice/Makefile.am
CHANGED
@@ -16,8 +16,7 @@ Arg_operators.cpp \
|
|
16
16
|
detail/check_ruby_type.cpp \
|
17
17
|
detail/demangle.cpp \
|
18
18
|
detail/method_data.cpp \
|
19
|
-
detail/protect.cpp
|
20
|
-
detail/mininode.cpp
|
19
|
+
detail/protect.cpp
|
21
20
|
|
22
21
|
nobase_include_HEADERS = \
|
23
22
|
Address_Registration_Guard.hpp \
|
@@ -112,10 +111,10 @@ detail/node.hpp \
|
|
112
111
|
detail/object_call.hpp \
|
113
112
|
detail/object_call.ipp \
|
114
113
|
detail/protect.hpp \
|
115
|
-
detail/remove_const.hpp \
|
116
114
|
detail/ruby.hpp \
|
117
115
|
detail/rubysig.hpp \
|
118
116
|
detail/st.hpp \
|
117
|
+
detail/traits.hpp \
|
119
118
|
detail/to_ruby.hpp \
|
120
119
|
detail/to_ruby.ipp \
|
121
120
|
detail/win32.hpp \
|
@@ -129,12 +128,3 @@ AM_CPPFLAGS = @RUBY_CPPFLAGS@
|
|
129
128
|
|
130
129
|
AM_CXXFLAGS = @RUBY_CXXFLAGS@
|
131
130
|
|
132
|
-
detail/method_data.cpp: detail/method_data.cpp.rpp detail/mininode.hpp
|
133
|
-
ruby -C detail ../rubypp.rb method_data.cpp.rpp method_data.cpp
|
134
|
-
|
135
|
-
detail/mininode.cpp: detail/mininode.cpp.rpp
|
136
|
-
ruby -C detail ../rubypp.rb mininode.cpp.rpp mininode.cpp
|
137
|
-
|
138
|
-
detail/mininode.hpp: detail/mininode.hpp.rpp
|
139
|
-
ruby -C detail ../rubypp.rb mininode.hpp.rpp mininode.hpp
|
140
|
-
|
data/rice/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.
|
@@ -17,8 +18,9 @@
|
|
17
18
|
|
18
19
|
VPATH = @srcdir@
|
19
20
|
pkgdatadir = $(datadir)/@PACKAGE@
|
20
|
-
pkglibdir = $(libdir)/@PACKAGE@
|
21
21
|
pkgincludedir = $(includedir)/@PACKAGE@
|
22
|
+
pkglibdir = $(libdir)/@PACKAGE@
|
23
|
+
pkglibexecdir = $(libexecdir)/@PACKAGE@
|
22
24
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
23
25
|
install_sh_DATA = $(install_sh) -c -m 644
|
24
26
|
install_sh_PROGRAM = $(install_sh) -c
|
@@ -44,14 +46,29 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
44
46
|
mkinstalldirs = $(install_sh) -d
|
45
47
|
CONFIG_HEADER = config.hpp
|
46
48
|
CONFIG_CLEAN_FILES =
|
49
|
+
CONFIG_CLEAN_VPATH_FILES =
|
47
50
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
48
51
|
am__vpath_adj = case $$p in \
|
49
52
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
50
53
|
*) f=$$p;; \
|
51
54
|
esac;
|
52
|
-
am__strip_dir =
|
55
|
+
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
56
|
+
am__install_max = 40
|
57
|
+
am__nobase_strip_setup = \
|
58
|
+
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
59
|
+
am__nobase_strip = \
|
60
|
+
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
61
|
+
am__nobase_list = $(am__nobase_strip_setup); \
|
62
|
+
for p in $$list; do echo "$$p $$p"; done | \
|
63
|
+
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
64
|
+
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
65
|
+
if (++n[$$2] == $(am__install_max)) \
|
66
|
+
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
67
|
+
END { for (dir in files) print dir, files[dir] }'
|
68
|
+
am__base_list = \
|
69
|
+
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
70
|
+
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
53
71
|
am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"
|
54
|
-
libLIBRARIES_INSTALL = $(INSTALL_DATA)
|
55
72
|
LIBRARIES = $(lib_LIBRARIES)
|
56
73
|
AR = ar
|
57
74
|
ARFLAGS = cru
|
@@ -62,12 +79,12 @@ am_librice_a_OBJECTS = Class.$(OBJEXT) Data_Type.$(OBJEXT) \
|
|
62
79
|
Module.$(OBJEXT) Object.$(OBJEXT) String.$(OBJEXT) \
|
63
80
|
Struct.$(OBJEXT) Symbol.$(OBJEXT) VM.$(OBJEXT) \
|
64
81
|
Arg_operators.$(OBJEXT) check_ruby_type.$(OBJEXT) \
|
65
|
-
demangle.$(OBJEXT) method_data.$(OBJEXT) protect.$(OBJEXT)
|
66
|
-
mininode.$(OBJEXT)
|
82
|
+
demangle.$(OBJEXT) method_data.$(OBJEXT) protect.$(OBJEXT)
|
67
83
|
librice_a_OBJECTS = $(am_librice_a_OBJECTS)
|
68
84
|
DEFAULT_INCLUDES = -I.@am__isrc@
|
69
85
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
70
86
|
am__depfiles_maybe = depfiles
|
87
|
+
am__mv = mv -f
|
71
88
|
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
72
89
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
73
90
|
CXXLD = $(CXX)
|
@@ -75,7 +92,6 @@ CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
|
|
75
92
|
-o $@
|
76
93
|
SOURCES = $(librice_a_SOURCES)
|
77
94
|
DIST_SOURCES = $(librice_a_SOURCES)
|
78
|
-
nobase_includeHEADERS_INSTALL = $(install_sh_DATA)
|
79
95
|
HEADERS = $(nobase_include_HEADERS)
|
80
96
|
ETAGS = etags
|
81
97
|
CTAGS = ctags
|
@@ -138,6 +154,7 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
138
154
|
PACKAGE_NAME = @PACKAGE_NAME@
|
139
155
|
PACKAGE_STRING = @PACKAGE_STRING@
|
140
156
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
157
|
+
PACKAGE_URL = @PACKAGE_URL@
|
141
158
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
142
159
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
143
160
|
RANLIB = @RANLIB@
|
@@ -227,8 +244,7 @@ Arg_operators.cpp \
|
|
227
244
|
detail/check_ruby_type.cpp \
|
228
245
|
detail/demangle.cpp \
|
229
246
|
detail/method_data.cpp \
|
230
|
-
detail/protect.cpp
|
231
|
-
detail/mininode.cpp
|
247
|
+
detail/protect.cpp
|
232
248
|
|
233
249
|
nobase_include_HEADERS = \
|
234
250
|
Address_Registration_Guard.hpp \
|
@@ -323,10 +339,10 @@ detail/node.hpp \
|
|
323
339
|
detail/object_call.hpp \
|
324
340
|
detail/object_call.ipp \
|
325
341
|
detail/protect.hpp \
|
326
|
-
detail/remove_const.hpp \
|
327
342
|
detail/ruby.hpp \
|
328
343
|
detail/rubysig.hpp \
|
329
344
|
detail/st.hpp \
|
345
|
+
detail/traits.hpp \
|
330
346
|
detail/to_ruby.hpp \
|
331
347
|
detail/to_ruby.ipp \
|
332
348
|
detail/win32.hpp \
|
@@ -350,9 +366,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
350
366
|
exit 1;; \
|
351
367
|
esac; \
|
352
368
|
done; \
|
353
|
-
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu
|
354
|
-
|
355
|
-
$(AUTOMAKE) --gnu
|
369
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu rice/Makefile'; \
|
370
|
+
$(am__cd) $(top_srcdir) && \
|
371
|
+
$(AUTOMAKE) --gnu rice/Makefile
|
356
372
|
.PRECIOUS: Makefile
|
357
373
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
358
374
|
@case '$?' in \
|
@@ -370,6 +386,7 @@ $(top_srcdir)/configure: $(am__configure_deps)
|
|
370
386
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
371
387
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
372
388
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
389
|
+
$(am__aclocal_m4_deps):
|
373
390
|
|
374
391
|
config.hpp: stamp-h1
|
375
392
|
@if test ! -f $@; then \
|
@@ -381,7 +398,7 @@ stamp-h1: $(srcdir)/config.hpp.in $(top_builddir)/config.status
|
|
381
398
|
@rm -f stamp-h1
|
382
399
|
cd $(top_builddir) && $(SHELL) ./config.status rice/config.hpp
|
383
400
|
$(srcdir)/config.hpp.in: $(am__configure_deps)
|
384
|
-
|
401
|
+
($(am__cd) $(top_srcdir) && $(AUTOHEADER))
|
385
402
|
rm -f stamp-h1
|
386
403
|
touch $@
|
387
404
|
|
@@ -390,29 +407,32 @@ distclean-hdr:
|
|
390
407
|
install-libLIBRARIES: $(lib_LIBRARIES)
|
391
408
|
@$(NORMAL_INSTALL)
|
392
409
|
test -z "$(libdir)" || $(MKDIR_P) "$(DESTDIR)$(libdir)"
|
393
|
-
@list='$(lib_LIBRARIES)';
|
410
|
+
@list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \
|
411
|
+
list2=; for p in $$list; do \
|
394
412
|
if test -f $$p; then \
|
395
|
-
|
396
|
-
echo " $(libLIBRARIES_INSTALL) '$$p' '$(DESTDIR)$(libdir)/$$f'"; \
|
397
|
-
$(libLIBRARIES_INSTALL) "$$p" "$(DESTDIR)$(libdir)/$$f"; \
|
413
|
+
list2="$$list2 $$p"; \
|
398
414
|
else :; fi; \
|
399
|
-
done
|
415
|
+
done; \
|
416
|
+
test -z "$$list2" || { \
|
417
|
+
echo " $(INSTALL_DATA) $$list2 '$(DESTDIR)$(libdir)'"; \
|
418
|
+
$(INSTALL_DATA) $$list2 "$(DESTDIR)$(libdir)" || exit $$?; }
|
400
419
|
@$(POST_INSTALL)
|
401
|
-
@list='$(lib_LIBRARIES)';
|
420
|
+
@list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \
|
421
|
+
for p in $$list; do \
|
402
422
|
if test -f $$p; then \
|
403
|
-
|
404
|
-
echo "
|
405
|
-
|
423
|
+
$(am__strip_dir) \
|
424
|
+
echo " ( cd '$(DESTDIR)$(libdir)' && $(RANLIB) $$f )"; \
|
425
|
+
( cd "$(DESTDIR)$(libdir)" && $(RANLIB) $$f ) || exit $$?; \
|
406
426
|
else :; fi; \
|
407
427
|
done
|
408
428
|
|
409
429
|
uninstall-libLIBRARIES:
|
410
430
|
@$(NORMAL_UNINSTALL)
|
411
|
-
@list='$(lib_LIBRARIES)';
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
431
|
+
@list='$(lib_LIBRARIES)'; test -n "$(libdir)" || list=; \
|
432
|
+
files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \
|
433
|
+
test -n "$$files" || exit 0; \
|
434
|
+
echo " ( cd '$(DESTDIR)$(libdir)' && rm -f "$$files" )"; \
|
435
|
+
cd "$(DESTDIR)$(libdir)" && rm -f $$files
|
416
436
|
|
417
437
|
clean-libLIBRARIES:
|
418
438
|
-test -z "$(lib_LIBRARIES)" || rm -f $(lib_LIBRARIES)
|
@@ -442,111 +462,100 @@ distclean-compile:
|
|
442
462
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/check_ruby_type.Po@am__quote@
|
443
463
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/demangle.Po@am__quote@
|
444
464
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/method_data.Po@am__quote@
|
445
|
-
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mininode.Po@am__quote@
|
446
465
|
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/protect.Po@am__quote@
|
447
466
|
|
448
467
|
.cpp.o:
|
449
468
|
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
450
|
-
@am__fastdepCXX_TRUE@
|
469
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
451
470
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
452
471
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
453
472
|
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
|
454
473
|
|
455
474
|
.cpp.obj:
|
456
475
|
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
457
|
-
@am__fastdepCXX_TRUE@
|
476
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
458
477
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
459
478
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
460
479
|
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
461
480
|
|
462
481
|
check_ruby_type.o: detail/check_ruby_type.cpp
|
463
482
|
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT check_ruby_type.o -MD -MP -MF $(DEPDIR)/check_ruby_type.Tpo -c -o check_ruby_type.o `test -f 'detail/check_ruby_type.cpp' || echo '$(srcdir)/'`detail/check_ruby_type.cpp
|
464
|
-
@am__fastdepCXX_TRUE@
|
483
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/check_ruby_type.Tpo $(DEPDIR)/check_ruby_type.Po
|
465
484
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/check_ruby_type.cpp' object='check_ruby_type.o' libtool=no @AMDEPBACKSLASH@
|
466
485
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
467
486
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o check_ruby_type.o `test -f 'detail/check_ruby_type.cpp' || echo '$(srcdir)/'`detail/check_ruby_type.cpp
|
468
487
|
|
469
488
|
check_ruby_type.obj: detail/check_ruby_type.cpp
|
470
489
|
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT check_ruby_type.obj -MD -MP -MF $(DEPDIR)/check_ruby_type.Tpo -c -o check_ruby_type.obj `if test -f 'detail/check_ruby_type.cpp'; then $(CYGPATH_W) 'detail/check_ruby_type.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/check_ruby_type.cpp'; fi`
|
471
|
-
@am__fastdepCXX_TRUE@
|
490
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/check_ruby_type.Tpo $(DEPDIR)/check_ruby_type.Po
|
472
491
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/check_ruby_type.cpp' object='check_ruby_type.obj' libtool=no @AMDEPBACKSLASH@
|
473
492
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
474
493
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o check_ruby_type.obj `if test -f 'detail/check_ruby_type.cpp'; then $(CYGPATH_W) 'detail/check_ruby_type.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/check_ruby_type.cpp'; fi`
|
475
494
|
|
476
495
|
demangle.o: detail/demangle.cpp
|
477
496
|
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT demangle.o -MD -MP -MF $(DEPDIR)/demangle.Tpo -c -o demangle.o `test -f 'detail/demangle.cpp' || echo '$(srcdir)/'`detail/demangle.cpp
|
478
|
-
@am__fastdepCXX_TRUE@
|
497
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/demangle.Tpo $(DEPDIR)/demangle.Po
|
479
498
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/demangle.cpp' object='demangle.o' libtool=no @AMDEPBACKSLASH@
|
480
499
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
481
500
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o demangle.o `test -f 'detail/demangle.cpp' || echo '$(srcdir)/'`detail/demangle.cpp
|
482
501
|
|
483
502
|
demangle.obj: detail/demangle.cpp
|
484
503
|
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT demangle.obj -MD -MP -MF $(DEPDIR)/demangle.Tpo -c -o demangle.obj `if test -f 'detail/demangle.cpp'; then $(CYGPATH_W) 'detail/demangle.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/demangle.cpp'; fi`
|
485
|
-
@am__fastdepCXX_TRUE@
|
504
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/demangle.Tpo $(DEPDIR)/demangle.Po
|
486
505
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/demangle.cpp' object='demangle.obj' libtool=no @AMDEPBACKSLASH@
|
487
506
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
488
507
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o demangle.obj `if test -f 'detail/demangle.cpp'; then $(CYGPATH_W) 'detail/demangle.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/demangle.cpp'; fi`
|
489
508
|
|
490
509
|
method_data.o: detail/method_data.cpp
|
491
510
|
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT method_data.o -MD -MP -MF $(DEPDIR)/method_data.Tpo -c -o method_data.o `test -f 'detail/method_data.cpp' || echo '$(srcdir)/'`detail/method_data.cpp
|
492
|
-
@am__fastdepCXX_TRUE@
|
511
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/method_data.Tpo $(DEPDIR)/method_data.Po
|
493
512
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/method_data.cpp' object='method_data.o' libtool=no @AMDEPBACKSLASH@
|
494
513
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
495
514
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o method_data.o `test -f 'detail/method_data.cpp' || echo '$(srcdir)/'`detail/method_data.cpp
|
496
515
|
|
497
516
|
method_data.obj: detail/method_data.cpp
|
498
517
|
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT method_data.obj -MD -MP -MF $(DEPDIR)/method_data.Tpo -c -o method_data.obj `if test -f 'detail/method_data.cpp'; then $(CYGPATH_W) 'detail/method_data.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/method_data.cpp'; fi`
|
499
|
-
@am__fastdepCXX_TRUE@
|
518
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/method_data.Tpo $(DEPDIR)/method_data.Po
|
500
519
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/method_data.cpp' object='method_data.obj' libtool=no @AMDEPBACKSLASH@
|
501
520
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
502
521
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o method_data.obj `if test -f 'detail/method_data.cpp'; then $(CYGPATH_W) 'detail/method_data.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/method_data.cpp'; fi`
|
503
522
|
|
504
523
|
protect.o: detail/protect.cpp
|
505
524
|
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT protect.o -MD -MP -MF $(DEPDIR)/protect.Tpo -c -o protect.o `test -f 'detail/protect.cpp' || echo '$(srcdir)/'`detail/protect.cpp
|
506
|
-
@am__fastdepCXX_TRUE@
|
525
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/protect.Tpo $(DEPDIR)/protect.Po
|
507
526
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/protect.cpp' object='protect.o' libtool=no @AMDEPBACKSLASH@
|
508
527
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
509
528
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o protect.o `test -f 'detail/protect.cpp' || echo '$(srcdir)/'`detail/protect.cpp
|
510
529
|
|
511
530
|
protect.obj: detail/protect.cpp
|
512
531
|
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT protect.obj -MD -MP -MF $(DEPDIR)/protect.Tpo -c -o protect.obj `if test -f 'detail/protect.cpp'; then $(CYGPATH_W) 'detail/protect.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/protect.cpp'; fi`
|
513
|
-
@am__fastdepCXX_TRUE@
|
532
|
+
@am__fastdepCXX_TRUE@ $(am__mv) $(DEPDIR)/protect.Tpo $(DEPDIR)/protect.Po
|
514
533
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/protect.cpp' object='protect.obj' libtool=no @AMDEPBACKSLASH@
|
515
534
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
516
535
|
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o protect.obj `if test -f 'detail/protect.cpp'; then $(CYGPATH_W) 'detail/protect.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/protect.cpp'; fi`
|
517
|
-
|
518
|
-
mininode.o: detail/mininode.cpp
|
519
|
-
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT mininode.o -MD -MP -MF $(DEPDIR)/mininode.Tpo -c -o mininode.o `test -f 'detail/mininode.cpp' || echo '$(srcdir)/'`detail/mininode.cpp
|
520
|
-
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/mininode.Tpo $(DEPDIR)/mininode.Po
|
521
|
-
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/mininode.cpp' object='mininode.o' libtool=no @AMDEPBACKSLASH@
|
522
|
-
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
523
|
-
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o mininode.o `test -f 'detail/mininode.cpp' || echo '$(srcdir)/'`detail/mininode.cpp
|
524
|
-
|
525
|
-
mininode.obj: detail/mininode.cpp
|
526
|
-
@am__fastdepCXX_TRUE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT mininode.obj -MD -MP -MF $(DEPDIR)/mininode.Tpo -c -o mininode.obj `if test -f 'detail/mininode.cpp'; then $(CYGPATH_W) 'detail/mininode.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/mininode.cpp'; fi`
|
527
|
-
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/mininode.Tpo $(DEPDIR)/mininode.Po
|
528
|
-
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='detail/mininode.cpp' object='mininode.obj' libtool=no @AMDEPBACKSLASH@
|
529
|
-
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
530
|
-
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o mininode.obj `if test -f 'detail/mininode.cpp'; then $(CYGPATH_W) 'detail/mininode.cpp'; else $(CYGPATH_W) '$(srcdir)/detail/mininode.cpp'; fi`
|
531
536
|
install-nobase_includeHEADERS: $(nobase_include_HEADERS)
|
532
537
|
@$(NORMAL_INSTALL)
|
533
538
|
test -z "$(includedir)" || $(MKDIR_P) "$(DESTDIR)$(includedir)"
|
534
|
-
|
535
|
-
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
539
|
+
@list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \
|
540
|
+
$(am__nobase_list) | while read dir files; do \
|
541
|
+
xfiles=; for file in $$files; do \
|
542
|
+
if test -f "$$file"; then xfiles="$$xfiles $$file"; \
|
543
|
+
else xfiles="$$xfiles $(srcdir)/$$file"; fi; done; \
|
544
|
+
test -z "$$xfiles" || { \
|
545
|
+
test "x$$dir" = x. || { \
|
546
|
+
echo "$(MKDIR_P) '$(DESTDIR)$(includedir)/$$dir'"; \
|
547
|
+
$(MKDIR_P) "$(DESTDIR)$(includedir)/$$dir"; }; \
|
548
|
+
echo " $(INSTALL_HEADER) $$xfiles '$(DESTDIR)$(includedir)/$$dir'"; \
|
549
|
+
$(INSTALL_HEADER) $$xfiles "$(DESTDIR)$(includedir)/$$dir" || exit $$?; }; \
|
540
550
|
done
|
541
551
|
|
542
552
|
uninstall-nobase_includeHEADERS:
|
543
553
|
@$(NORMAL_UNINSTALL)
|
544
|
-
|
545
|
-
|
546
|
-
|
547
|
-
|
548
|
-
|
549
|
-
done
|
554
|
+
@list='$(nobase_include_HEADERS)'; test -n "$(includedir)" || list=; \
|
555
|
+
$(am__nobase_strip_setup); files=`$(am__nobase_strip)`; \
|
556
|
+
test -n "$$files" || exit 0; \
|
557
|
+
echo " ( cd '$(DESTDIR)$(includedir)' && rm -f" $$files ")"; \
|
558
|
+
cd "$(DESTDIR)$(includedir)" && rm -f $$files
|
550
559
|
|
551
560
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
552
561
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
@@ -560,7 +569,7 @@ tags: TAGS
|
|
560
569
|
|
561
570
|
TAGS: $(HEADERS) $(SOURCES) config.hpp.in $(TAGS_DEPENDENCIES) \
|
562
571
|
$(TAGS_FILES) $(LISP)
|
563
|
-
|
572
|
+
set x; \
|
564
573
|
here=`pwd`; \
|
565
574
|
list='$(SOURCES) $(HEADERS) config.hpp.in $(LISP) $(TAGS_FILES)'; \
|
566
575
|
unique=`for i in $$list; do \
|
@@ -568,29 +577,34 @@ TAGS: $(HEADERS) $(SOURCES) config.hpp.in $(TAGS_DEPENDENCIES) \
|
|
568
577
|
done | \
|
569
578
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
570
579
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
571
|
-
|
580
|
+
shift; \
|
581
|
+
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
572
582
|
test -n "$$unique" || unique=$$empty_fix; \
|
573
|
-
|
574
|
-
|
583
|
+
if test $$# -gt 0; then \
|
584
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
585
|
+
"$$@" $$unique; \
|
586
|
+
else \
|
587
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
588
|
+
$$unique; \
|
589
|
+
fi; \
|
575
590
|
fi
|
576
591
|
ctags: CTAGS
|
577
592
|
CTAGS: $(HEADERS) $(SOURCES) config.hpp.in $(TAGS_DEPENDENCIES) \
|
578
593
|
$(TAGS_FILES) $(LISP)
|
579
|
-
tags=; \
|
580
594
|
list='$(SOURCES) $(HEADERS) config.hpp.in $(LISP) $(TAGS_FILES)'; \
|
581
595
|
unique=`for i in $$list; do \
|
582
596
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
583
597
|
done | \
|
584
598
|
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
|
585
599
|
END { if (nonempty) { for (i in files) print i; }; }'`; \
|
586
|
-
test -z "$(CTAGS_ARGS)$$
|
600
|
+
test -z "$(CTAGS_ARGS)$$unique" \
|
587
601
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
588
|
-
$$
|
602
|
+
$$unique
|
589
603
|
|
590
604
|
GTAGS:
|
591
605
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
592
|
-
&&
|
593
|
-
&& gtags -i $(GTAGS_ARGS) $$here
|
606
|
+
&& $(am__cd) $(top_srcdir) \
|
607
|
+
&& gtags -i $(GTAGS_ARGS) "$$here"
|
594
608
|
|
595
609
|
distclean-tags:
|
596
610
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
@@ -611,13 +625,17 @@ distdir: $(DISTFILES)
|
|
611
625
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
612
626
|
if test -d $$d/$$file; then \
|
613
627
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
628
|
+
if test -d "$(distdir)/$$file"; then \
|
629
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
630
|
+
fi; \
|
614
631
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
615
|
-
cp -
|
632
|
+
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
633
|
+
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
616
634
|
fi; \
|
617
|
-
cp -
|
635
|
+
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
618
636
|
else \
|
619
|
-
test -f "$(distdir)
|
620
|
-
|| cp -p $$d/$$file "$(distdir)
|
637
|
+
test -f "$(distdir)/$$file" \
|
638
|
+
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
621
639
|
|| exit 1; \
|
622
640
|
fi; \
|
623
641
|
done
|
@@ -648,6 +666,7 @@ clean-generic:
|
|
648
666
|
|
649
667
|
distclean-generic:
|
650
668
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
669
|
+
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
651
670
|
|
652
671
|
maintainer-clean-generic:
|
653
672
|
@echo "This command is intended for maintainers to use"
|
@@ -668,6 +687,8 @@ dvi-am:
|
|
668
687
|
|
669
688
|
html: html-am
|
670
689
|
|
690
|
+
html-am:
|
691
|
+
|
671
692
|
info: info-am
|
672
693
|
|
673
694
|
info-am:
|
@@ -676,18 +697,28 @@ install-data-am: install-nobase_includeHEADERS
|
|
676
697
|
|
677
698
|
install-dvi: install-dvi-am
|
678
699
|
|
700
|
+
install-dvi-am:
|
701
|
+
|
679
702
|
install-exec-am: install-libLIBRARIES
|
680
703
|
|
681
704
|
install-html: install-html-am
|
682
705
|
|
706
|
+
install-html-am:
|
707
|
+
|
683
708
|
install-info: install-info-am
|
684
709
|
|
710
|
+
install-info-am:
|
711
|
+
|
685
712
|
install-man:
|
686
713
|
|
687
714
|
install-pdf: install-pdf-am
|
688
715
|
|
716
|
+
install-pdf-am:
|
717
|
+
|
689
718
|
install-ps: install-ps-am
|
690
719
|
|
720
|
+
install-ps-am:
|
721
|
+
|
691
722
|
installcheck-am:
|
692
723
|
|
693
724
|
maintainer-clean: maintainer-clean-am
|
@@ -709,7 +740,7 @@ ps-am:
|
|
709
740
|
|
710
741
|
uninstall-am: uninstall-libLIBRARIES uninstall-nobase_includeHEADERS
|
711
742
|
|
712
|
-
.MAKE: install-am install-strip
|
743
|
+
.MAKE: all install-am install-strip
|
713
744
|
|
714
745
|
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
|
715
746
|
clean-libLIBRARIES ctags distclean distclean-compile \
|
@@ -727,14 +758,6 @@ uninstall-am: uninstall-libLIBRARIES uninstall-nobase_includeHEADERS
|
|
727
758
|
uninstall-nobase_includeHEADERS
|
728
759
|
|
729
760
|
|
730
|
-
detail/method_data.cpp: detail/method_data.cpp.rpp detail/mininode.hpp
|
731
|
-
ruby -C detail ../rubypp.rb method_data.cpp.rpp method_data.cpp
|
732
|
-
|
733
|
-
detail/mininode.cpp: detail/mininode.cpp.rpp
|
734
|
-
ruby -C detail ../rubypp.rb mininode.cpp.rpp mininode.cpp
|
735
|
-
|
736
|
-
detail/mininode.hpp: detail/mininode.hpp.rpp
|
737
|
-
ruby -C detail ../rubypp.rb mininode.hpp.rpp mininode.hpp
|
738
761
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
739
762
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
740
763
|
.NOEXPORT:
|