rice 1.3.1 → 1.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Doxyfile +1 -1
- data/Makefile.in +58 -142
- data/aclocal.m4 +112 -201
- data/config.guess +23 -84
- data/config.sub +23 -93
- data/configure +2727 -2406
- data/depcomp +14 -19
- data/install-sh +108 -120
- data/rice/Constructor.hpp +350 -322
- data/rice/Makefile.am +0 -1
- data/rice/Makefile.in +69 -119
- data/rice/config.hpp +2 -8
- data/rice/config.hpp.in +0 -6
- data/rice/detail/Auto_Function_Wrapper.hpp +1 -33
- data/rice/detail/Auto_Function_Wrapper.ipp +1009 -1060
- data/rice/detail/Auto_Member_Function_Wrapper.ipp +608 -672
- data/rice/detail/method_data.cpp +0 -4
- data/rice/detail/object_call.hpp +31 -48
- data/rice/detail/object_call.ipp +45 -61
- data/rice/detail/wrap_function.hpp +70 -74
- data/rice/detail/wrap_function.ipp +126 -143
- data/rice/protect.hpp +30 -30
- data/rice/protect.ipp +770 -696
- data/ruby.ac +0 -14
- data/ruby/Makefile.in +41 -108
- data/ruby/lib/Makefile.in +23 -64
- data/ruby/lib/version.rb +1 -1
- data/sample/Makefile.in +12 -36
- data/test/Makefile.in +59 -148
- data/test/ext/Makefile.in +12 -36
- data/test/test_Constructor.cpp +42 -153
- data/test/test_Module.cpp +4 -4
- metadata +132 -124
- data/rice/generate_code.rb +0 -1328
data/ruby/lib/version.rb
CHANGED
data/sample/Makefile.in
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.10 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
|
6
|
-
# Inc.
|
5
|
+
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
7
6
|
# This Makefile.in is free software; the Free Software Foundation
|
8
7
|
# gives unlimited permission to copy and/or distribute it,
|
9
8
|
# with or without modifications, as long as this notice is preserved.
|
@@ -16,9 +15,8 @@
|
|
16
15
|
@SET_MAKE@
|
17
16
|
VPATH = @srcdir@
|
18
17
|
pkgdatadir = $(datadir)/@PACKAGE@
|
19
|
-
pkgincludedir = $(includedir)/@PACKAGE@
|
20
18
|
pkglibdir = $(libdir)/@PACKAGE@
|
21
|
-
|
19
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
22
20
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
23
21
|
install_sh_DATA = $(install_sh) -c -m 644
|
24
22
|
install_sh_PROGRAM = $(install_sh) -c
|
@@ -43,7 +41,6 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
43
41
|
mkinstalldirs = $(install_sh) -d
|
44
42
|
CONFIG_HEADER = $(top_builddir)/rice/config.hpp
|
45
43
|
CONFIG_CLEAN_FILES =
|
46
|
-
CONFIG_CLEAN_VPATH_FILES =
|
47
44
|
SOURCES =
|
48
45
|
DIST_SOURCES =
|
49
46
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
@@ -105,7 +102,6 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
105
102
|
PACKAGE_NAME = @PACKAGE_NAME@
|
106
103
|
PACKAGE_STRING = @PACKAGE_STRING@
|
107
104
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
108
|
-
PACKAGE_URL = @PACKAGE_URL@
|
109
105
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
110
106
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
111
107
|
RANLIB = @RANLIB@
|
@@ -175,7 +171,6 @@ sharedstatedir = @sharedstatedir@
|
|
175
171
|
srcdir = @srcdir@
|
176
172
|
sysconfdir = @sysconfdir@
|
177
173
|
target_alias = @target_alias@
|
178
|
-
top_build_prefix = @top_build_prefix@
|
179
174
|
top_builddir = @top_builddir@
|
180
175
|
top_srcdir = @top_srcdir@
|
181
176
|
RUBY_EXTCONF_OPTIONS = -I@RICE_ROOT@/ruby/lib
|
@@ -198,14 +193,14 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
198
193
|
@for dep in $?; do \
|
199
194
|
case '$(am__configure_deps)' in \
|
200
195
|
*$$dep*) \
|
201
|
-
|
202
|
-
|
196
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
197
|
+
&& exit 0; \
|
203
198
|
exit 1;; \
|
204
199
|
esac; \
|
205
200
|
done; \
|
206
|
-
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu
|
207
|
-
|
208
|
-
$(AUTOMAKE) --gnu
|
201
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu sample/Makefile'; \
|
202
|
+
cd $(top_srcdir) && \
|
203
|
+
$(AUTOMAKE) --gnu sample/Makefile
|
209
204
|
.PRECIOUS: Makefile
|
210
205
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
211
206
|
@case '$?' in \
|
@@ -223,7 +218,6 @@ $(top_srcdir)/configure: $(am__configure_deps)
|
|
223
218
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
224
219
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
225
220
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
226
|
-
$(am__aclocal_m4_deps):
|
227
221
|
tags: TAGS
|
228
222
|
TAGS:
|
229
223
|
|
@@ -247,17 +241,13 @@ distdir: $(DISTFILES)
|
|
247
241
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
248
242
|
if test -d $$d/$$file; then \
|
249
243
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
250
|
-
if test -d "$(distdir)/$$file"; then \
|
251
|
-
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
252
|
-
fi; \
|
253
244
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
254
|
-
cp -
|
255
|
-
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
245
|
+
cp -pR $(srcdir)/$$file "$(distdir)"$$dir || exit 1; \
|
256
246
|
fi; \
|
257
|
-
cp -
|
247
|
+
cp -pR $$d/$$file "$(distdir)"$$dir || exit 1; \
|
258
248
|
else \
|
259
|
-
test -f "$(distdir)/$$file
|
260
|
-
|| cp -p $$d/$$file "$(distdir)/$$file
|
249
|
+
test -f "$(distdir)"/$$file \
|
250
|
+
|| cp -p $$d/$$file "$(distdir)"/$$file \
|
261
251
|
|| exit 1; \
|
262
252
|
fi; \
|
263
253
|
done
|
@@ -285,7 +275,6 @@ clean-generic:
|
|
285
275
|
|
286
276
|
distclean-generic:
|
287
277
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
288
|
-
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
289
278
|
|
290
279
|
maintainer-clean-generic:
|
291
280
|
@echo "This command is intended for maintainers to use"
|
@@ -300,8 +289,6 @@ dvi-am:
|
|
300
289
|
|
301
290
|
html: html-am
|
302
291
|
|
303
|
-
html-am:
|
304
|
-
|
305
292
|
info: info-am
|
306
293
|
|
307
294
|
info-am:
|
@@ -310,28 +297,18 @@ install-data-am:
|
|
310
297
|
|
311
298
|
install-dvi: install-dvi-am
|
312
299
|
|
313
|
-
install-dvi-am:
|
314
|
-
|
315
300
|
install-exec-am:
|
316
301
|
|
317
302
|
install-html: install-html-am
|
318
303
|
|
319
|
-
install-html-am:
|
320
|
-
|
321
304
|
install-info: install-info-am
|
322
305
|
|
323
|
-
install-info-am:
|
324
|
-
|
325
306
|
install-man:
|
326
307
|
|
327
308
|
install-pdf: install-pdf-am
|
328
309
|
|
329
|
-
install-pdf-am:
|
330
|
-
|
331
310
|
install-ps: install-ps-am
|
332
311
|
|
333
|
-
install-ps-am:
|
334
|
-
|
335
312
|
installcheck-am:
|
336
313
|
|
337
314
|
maintainer-clean: maintainer-clean-am
|
@@ -397,7 +374,6 @@ distclean_extensions:
|
|
397
374
|
do \
|
398
375
|
$(MAKE) -C $${sample} distclean; \
|
399
376
|
done
|
400
|
-
|
401
377
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
402
378
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
403
379
|
.NOEXPORT:
|
data/test/Makefile.in
CHANGED
@@ -1,9 +1,8 @@
|
|
1
|
-
# Makefile.in generated by automake 1.
|
1
|
+
# Makefile.in generated by automake 1.10 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
|
6
|
-
# Inc.
|
5
|
+
# 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
|
7
6
|
# This Makefile.in is free software; the Free Software Foundation
|
8
7
|
# gives unlimited permission to copy and/or distribute it,
|
9
8
|
# with or without modifications, as long as this notice is preserved.
|
@@ -17,9 +16,8 @@
|
|
17
16
|
|
18
17
|
VPATH = @srcdir@
|
19
18
|
pkgdatadir = $(datadir)/@PACKAGE@
|
20
|
-
pkgincludedir = $(includedir)/@PACKAGE@
|
21
19
|
pkglibdir = $(libdir)/@PACKAGE@
|
22
|
-
|
20
|
+
pkgincludedir = $(includedir)/@PACKAGE@
|
23
21
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
24
22
|
install_sh_DATA = $(install_sh) -c -m 644
|
25
23
|
install_sh_PROGRAM = $(install_sh) -c
|
@@ -46,7 +44,6 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
46
44
|
mkinstalldirs = $(install_sh) -d
|
47
45
|
CONFIG_HEADER = $(top_builddir)/rice/config.hpp
|
48
46
|
CONFIG_CLEAN_FILES =
|
49
|
-
CONFIG_CLEAN_VPATH_FILES =
|
50
47
|
PROGRAMS = $(noinst_PROGRAMS)
|
51
48
|
am_unittest_OBJECTS = unittest.$(OBJEXT) \
|
52
49
|
test_Address_Registration_Guard.$(OBJEXT) \
|
@@ -66,10 +63,9 @@ unittest_LDADD = $(LDADD)
|
|
66
63
|
am_vm_unittest_OBJECTS = unittest.$(OBJEXT) test_VM.$(OBJEXT)
|
67
64
|
vm_unittest_OBJECTS = $(am_vm_unittest_OBJECTS)
|
68
65
|
vm_unittest_LDADD = $(LDADD)
|
69
|
-
DEFAULT_INCLUDES = -I
|
66
|
+
DEFAULT_INCLUDES = -I. -I$(top_builddir)/rice@am__isrc@
|
70
67
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
71
68
|
am__depfiles_maybe = depfiles
|
72
|
-
am__mv = mv -f
|
73
69
|
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
74
70
|
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
|
75
71
|
CXXLD = $(CXX)
|
@@ -86,40 +82,10 @@ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
|
|
86
82
|
ps-recursive uninstall-recursive
|
87
83
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
88
84
|
distclean-recursive maintainer-clean-recursive
|
89
|
-
AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \
|
90
|
-
$(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \
|
91
|
-
distdir
|
92
85
|
ETAGS = etags
|
93
86
|
CTAGS = ctags
|
94
|
-
am__tty_colors = \
|
95
|
-
red=; grn=; lgn=; blu=; std=
|
96
87
|
DIST_SUBDIRS = $(SUBDIRS)
|
97
88
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
98
|
-
am__relativize = \
|
99
|
-
dir0=`pwd`; \
|
100
|
-
sed_first='s,^\([^/]*\)/.*$$,\1,'; \
|
101
|
-
sed_rest='s,^[^/]*/*,,'; \
|
102
|
-
sed_last='s,^.*/\([^/]*\)$$,\1,'; \
|
103
|
-
sed_butlast='s,/*[^/]*$$,,'; \
|
104
|
-
while test -n "$$dir1"; do \
|
105
|
-
first=`echo "$$dir1" | sed -e "$$sed_first"`; \
|
106
|
-
if test "$$first" != "."; then \
|
107
|
-
if test "$$first" = ".."; then \
|
108
|
-
dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
|
109
|
-
dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
|
110
|
-
else \
|
111
|
-
first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
|
112
|
-
if test "$$first2" = "$$first"; then \
|
113
|
-
dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
|
114
|
-
else \
|
115
|
-
dir2="../$$dir2"; \
|
116
|
-
fi; \
|
117
|
-
dir0="$$dir0"/"$$first"; \
|
118
|
-
fi; \
|
119
|
-
fi; \
|
120
|
-
dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
|
121
|
-
done; \
|
122
|
-
reldir="$$dir2"
|
123
89
|
ACLOCAL = @ACLOCAL@
|
124
90
|
AMTAR = @AMTAR@
|
125
91
|
AUTOCONF = @AUTOCONF@
|
@@ -182,7 +148,6 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
|
|
182
148
|
PACKAGE_NAME = @PACKAGE_NAME@
|
183
149
|
PACKAGE_STRING = @PACKAGE_STRING@
|
184
150
|
PACKAGE_TARNAME = @PACKAGE_TARNAME@
|
185
|
-
PACKAGE_URL = @PACKAGE_URL@
|
186
151
|
PACKAGE_VERSION = @PACKAGE_VERSION@
|
187
152
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
188
153
|
RANLIB = @RANLIB@
|
@@ -252,7 +217,6 @@ sharedstatedir = @sharedstatedir@
|
|
252
217
|
srcdir = @srcdir@
|
253
218
|
sysconfdir = @sysconfdir@
|
254
219
|
target_alias = @target_alias@
|
255
|
-
top_build_prefix = @top_build_prefix@
|
256
220
|
top_builddir = @top_builddir@
|
257
221
|
top_srcdir = @top_srcdir@
|
258
222
|
SUBDIRS = ext
|
@@ -304,14 +268,14 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
|
|
304
268
|
@for dep in $?; do \
|
305
269
|
case '$(am__configure_deps)' in \
|
306
270
|
*$$dep*) \
|
307
|
-
|
308
|
-
|
271
|
+
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
|
272
|
+
&& exit 0; \
|
309
273
|
exit 1;; \
|
310
274
|
esac; \
|
311
275
|
done; \
|
312
|
-
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu
|
313
|
-
|
314
|
-
$(AUTOMAKE) --gnu
|
276
|
+
echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/Makefile'; \
|
277
|
+
cd $(top_srcdir) && \
|
278
|
+
$(AUTOMAKE) --gnu test/Makefile
|
315
279
|
.PRECIOUS: Makefile
|
316
280
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
317
281
|
@case '$?' in \
|
@@ -329,7 +293,6 @@ $(top_srcdir)/configure: $(am__configure_deps)
|
|
329
293
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
330
294
|
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
|
331
295
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
332
|
-
$(am__aclocal_m4_deps):
|
333
296
|
|
334
297
|
clean-noinstPROGRAMS:
|
335
298
|
-test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
|
@@ -373,14 +336,14 @@ distclean-compile:
|
|
373
336
|
|
374
337
|
.cpp.o:
|
375
338
|
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
|
376
|
-
@am__fastdepCXX_TRUE@
|
339
|
+
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
377
340
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
378
341
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
379
342
|
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ $<
|
380
343
|
|
381
344
|
.cpp.obj:
|
382
345
|
@am__fastdepCXX_TRUE@ $(CXXCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
|
383
|
-
@am__fastdepCXX_TRUE@
|
346
|
+
@am__fastdepCXX_TRUE@ mv -f $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
|
384
347
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
|
385
348
|
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
386
349
|
@am__fastdepCXX_FALSE@ $(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
@@ -409,7 +372,7 @@ $(RECURSIVE_TARGETS):
|
|
409
372
|
else \
|
410
373
|
local_target="$$target"; \
|
411
374
|
fi; \
|
412
|
-
(
|
375
|
+
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
413
376
|
|| eval $$failcom; \
|
414
377
|
done; \
|
415
378
|
if test "$$dot_seen" = "no"; then \
|
@@ -443,16 +406,16 @@ $(RECURSIVE_CLEAN_TARGETS):
|
|
443
406
|
else \
|
444
407
|
local_target="$$target"; \
|
445
408
|
fi; \
|
446
|
-
(
|
409
|
+
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
447
410
|
|| eval $$failcom; \
|
448
411
|
done && test -z "$$fail"
|
449
412
|
tags-recursive:
|
450
413
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
451
|
-
test "$$subdir" = . || (
|
414
|
+
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
452
415
|
done
|
453
416
|
ctags-recursive:
|
454
417
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
455
|
-
test "$$subdir" = . || (
|
418
|
+
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
|
456
419
|
done
|
457
420
|
|
458
421
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
@@ -460,14 +423,14 @@ ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
460
423
|
unique=`for i in $$list; do \
|
461
424
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
462
425
|
done | \
|
463
|
-
$(AWK) '{ files[$$0] = 1;
|
464
|
-
|
426
|
+
$(AWK) ' { files[$$0] = 1; } \
|
427
|
+
END { for (i in files) print i; }'`; \
|
465
428
|
mkid -fID $$unique
|
466
429
|
tags: TAGS
|
467
430
|
|
468
431
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
469
432
|
$(TAGS_FILES) $(LISP)
|
470
|
-
|
433
|
+
tags=; \
|
471
434
|
here=`pwd`; \
|
472
435
|
if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
|
473
436
|
include_option=--etags-include; \
|
@@ -479,52 +442,47 @@ TAGS: tags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
|
479
442
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
480
443
|
if test "$$subdir" = .; then :; else \
|
481
444
|
test ! -f $$subdir/TAGS || \
|
482
|
-
|
445
|
+
tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
|
483
446
|
fi; \
|
484
447
|
done; \
|
485
448
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
486
449
|
unique=`for i in $$list; do \
|
487
450
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
488
451
|
done | \
|
489
|
-
$(AWK) '{ files[$$0] = 1;
|
490
|
-
|
491
|
-
|
492
|
-
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
452
|
+
$(AWK) ' { files[$$0] = 1; } \
|
453
|
+
END { for (i in files) print i; }'`; \
|
454
|
+
if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
|
493
455
|
test -n "$$unique" || unique=$$empty_fix; \
|
494
|
-
|
495
|
-
|
496
|
-
"$$@" $$unique; \
|
497
|
-
else \
|
498
|
-
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
499
|
-
$$unique; \
|
500
|
-
fi; \
|
456
|
+
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
457
|
+
$$tags $$unique; \
|
501
458
|
fi
|
502
459
|
ctags: CTAGS
|
503
460
|
CTAGS: ctags-recursive $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
504
461
|
$(TAGS_FILES) $(LISP)
|
462
|
+
tags=; \
|
463
|
+
here=`pwd`; \
|
505
464
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
506
465
|
unique=`for i in $$list; do \
|
507
466
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
508
467
|
done | \
|
509
|
-
$(AWK) '{ files[$$0] = 1;
|
510
|
-
|
511
|
-
test -z "$(CTAGS_ARGS)$$unique" \
|
468
|
+
$(AWK) ' { files[$$0] = 1; } \
|
469
|
+
END { for (i in files) print i; }'`; \
|
470
|
+
test -z "$(CTAGS_ARGS)$$tags$$unique" \
|
512
471
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
513
|
-
$$unique
|
472
|
+
$$tags $$unique
|
514
473
|
|
515
474
|
GTAGS:
|
516
475
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
517
|
-
&&
|
518
|
-
&& gtags -i $(GTAGS_ARGS)
|
476
|
+
&& cd $(top_srcdir) \
|
477
|
+
&& gtags -i $(GTAGS_ARGS) $$here
|
519
478
|
|
520
479
|
distclean-tags:
|
521
480
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
522
481
|
|
523
482
|
check-TESTS: $(TESTS)
|
524
|
-
@failed=0; all=0; xfail=0; xpass=0; skip=0; \
|
483
|
+
@failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
|
525
484
|
srcdir=$(srcdir); export srcdir; \
|
526
485
|
list=' $(TESTS) '; \
|
527
|
-
$(am__tty_colors); \
|
528
486
|
if test -n "$$list"; then \
|
529
487
|
for tst in $$list; do \
|
530
488
|
if test -f ./$$tst; then dir=./; \
|
@@ -533,63 +491,49 @@ check-TESTS: $(TESTS)
|
|
533
491
|
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
|
534
492
|
all=`expr $$all + 1`; \
|
535
493
|
case " $(XFAIL_TESTS) " in \
|
536
|
-
|
494
|
+
*$$ws$$tst$$ws*) \
|
537
495
|
xpass=`expr $$xpass + 1`; \
|
538
496
|
failed=`expr $$failed + 1`; \
|
539
|
-
|
497
|
+
echo "XPASS: $$tst"; \
|
540
498
|
;; \
|
541
499
|
*) \
|
542
|
-
|
500
|
+
echo "PASS: $$tst"; \
|
543
501
|
;; \
|
544
502
|
esac; \
|
545
503
|
elif test $$? -ne 77; then \
|
546
504
|
all=`expr $$all + 1`; \
|
547
505
|
case " $(XFAIL_TESTS) " in \
|
548
|
-
|
506
|
+
*$$ws$$tst$$ws*) \
|
549
507
|
xfail=`expr $$xfail + 1`; \
|
550
|
-
|
508
|
+
echo "XFAIL: $$tst"; \
|
551
509
|
;; \
|
552
510
|
*) \
|
553
511
|
failed=`expr $$failed + 1`; \
|
554
|
-
|
512
|
+
echo "FAIL: $$tst"; \
|
555
513
|
;; \
|
556
514
|
esac; \
|
557
515
|
else \
|
558
516
|
skip=`expr $$skip + 1`; \
|
559
|
-
|
517
|
+
echo "SKIP: $$tst"; \
|
560
518
|
fi; \
|
561
|
-
echo "$${col}$$res$${std}: $$tst"; \
|
562
519
|
done; \
|
563
|
-
if test "$$all" -eq 1; then \
|
564
|
-
tests="test"; \
|
565
|
-
All=""; \
|
566
|
-
else \
|
567
|
-
tests="tests"; \
|
568
|
-
All="All "; \
|
569
|
-
fi; \
|
570
520
|
if test "$$failed" -eq 0; then \
|
571
521
|
if test "$$xfail" -eq 0; then \
|
572
|
-
banner="
|
522
|
+
banner="All $$all tests passed"; \
|
573
523
|
else \
|
574
|
-
|
575
|
-
banner="$$All$$all $$tests behaved as expected ($$xfail expected $$failures)"; \
|
524
|
+
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
|
576
525
|
fi; \
|
577
526
|
else \
|
578
527
|
if test "$$xpass" -eq 0; then \
|
579
|
-
banner="$$failed of $$all
|
528
|
+
banner="$$failed of $$all tests failed"; \
|
580
529
|
else \
|
581
|
-
|
582
|
-
banner="$$failed of $$all $$tests did not behave as expected ($$xpass unexpected $$passes)"; \
|
530
|
+
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
|
583
531
|
fi; \
|
584
532
|
fi; \
|
585
533
|
dashes="$$banner"; \
|
586
534
|
skipped=""; \
|
587
535
|
if test "$$skip" -ne 0; then \
|
588
|
-
|
589
|
-
skipped="($$skip test was not run)"; \
|
590
|
-
else \
|
591
|
-
skipped="($$skip tests were not run)"; \
|
592
|
-
fi; \
|
536
|
+
skipped="($$skip tests were not run)"; \
|
593
537
|
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
|
594
538
|
dashes="$$skipped"; \
|
595
539
|
fi; \
|
@@ -600,15 +544,11 @@ check-TESTS: $(TESTS)
|
|
600
544
|
dashes="$$report"; \
|
601
545
|
fi; \
|
602
546
|
dashes=`echo "$$dashes" | sed s/./=/g`; \
|
603
|
-
|
604
|
-
echo "$$grn$$dashes"; \
|
605
|
-
else \
|
606
|
-
echo "$$red$$dashes"; \
|
607
|
-
fi; \
|
547
|
+
echo "$$dashes"; \
|
608
548
|
echo "$$banner"; \
|
609
549
|
test -z "$$skipped" || echo "$$skipped"; \
|
610
550
|
test -z "$$report" || echo "$$report"; \
|
611
|
-
echo "$$dashes
|
551
|
+
echo "$$dashes"; \
|
612
552
|
test "$$failed" -eq 0; \
|
613
553
|
else :; fi
|
614
554
|
|
@@ -628,44 +568,29 @@ distdir: $(DISTFILES)
|
|
628
568
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
629
569
|
if test -d $$d/$$file; then \
|
630
570
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
631
|
-
if test -d "$(distdir)/$$file"; then \
|
632
|
-
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
633
|
-
fi; \
|
634
571
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
635
|
-
cp -
|
636
|
-
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
572
|
+
cp -pR $(srcdir)/$$file "$(distdir)"$$dir || exit 1; \
|
637
573
|
fi; \
|
638
|
-
cp -
|
574
|
+
cp -pR $$d/$$file "$(distdir)"$$dir || exit 1; \
|
639
575
|
else \
|
640
|
-
test -f "$(distdir)/$$file
|
641
|
-
|| cp -p $$d/$$file "$(distdir)/$$file
|
576
|
+
test -f "$(distdir)"/$$file \
|
577
|
+
|| cp -p $$d/$$file "$(distdir)"/$$file \
|
642
578
|
|| exit 1; \
|
643
579
|
fi; \
|
644
580
|
done
|
645
|
-
|
581
|
+
list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
|
646
582
|
if test "$$subdir" = .; then :; else \
|
647
583
|
test -d "$(distdir)/$$subdir" \
|
648
584
|
|| $(MKDIR_P) "$(distdir)/$$subdir" \
|
649
585
|
|| exit 1; \
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
if test "$$subdir" = .; then :; else \
|
654
|
-
dir1=$$subdir; dir2="$(distdir)/$$subdir"; \
|
655
|
-
$(am__relativize); \
|
656
|
-
new_distdir=$$reldir; \
|
657
|
-
dir1=$$subdir; dir2="$(top_distdir)"; \
|
658
|
-
$(am__relativize); \
|
659
|
-
new_top_distdir=$$reldir; \
|
660
|
-
echo " (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) top_distdir="$$new_top_distdir" distdir="$$new_distdir" \\"; \
|
661
|
-
echo " am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)"; \
|
662
|
-
($(am__cd) $$subdir && \
|
586
|
+
distdir=`$(am__cd) "$(distdir)" && pwd`; \
|
587
|
+
top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
|
588
|
+
(cd $$subdir && \
|
663
589
|
$(MAKE) $(AM_MAKEFLAGS) \
|
664
|
-
top_distdir="$$
|
665
|
-
distdir="$$
|
590
|
+
top_distdir="$$top_distdir" \
|
591
|
+
distdir="$$distdir/$$subdir" \
|
666
592
|
am__remove_distdir=: \
|
667
593
|
am__skip_length_check=: \
|
668
|
-
am__skip_mode_fix=: \
|
669
594
|
distdir) \
|
670
595
|
|| exit 1; \
|
671
596
|
fi; \
|
@@ -696,7 +621,6 @@ clean-generic:
|
|
696
621
|
|
697
622
|
distclean-generic:
|
698
623
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
699
|
-
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
700
624
|
|
701
625
|
maintainer-clean-generic:
|
702
626
|
@echo "This command is intended for maintainers to use"
|
@@ -717,8 +641,6 @@ dvi-am:
|
|
717
641
|
|
718
642
|
html: html-recursive
|
719
643
|
|
720
|
-
html-am:
|
721
|
-
|
722
644
|
info: info-recursive
|
723
645
|
|
724
646
|
info-am:
|
@@ -727,28 +649,18 @@ install-data-am:
|
|
727
649
|
|
728
650
|
install-dvi: install-dvi-recursive
|
729
651
|
|
730
|
-
install-dvi-am:
|
731
|
-
|
732
652
|
install-exec-am:
|
733
653
|
|
734
654
|
install-html: install-html-recursive
|
735
655
|
|
736
|
-
install-html-am:
|
737
|
-
|
738
656
|
install-info: install-info-recursive
|
739
657
|
|
740
|
-
install-info-am:
|
741
|
-
|
742
658
|
install-man:
|
743
659
|
|
744
660
|
install-pdf: install-pdf-recursive
|
745
661
|
|
746
|
-
install-pdf-am:
|
747
|
-
|
748
662
|
install-ps: install-ps-recursive
|
749
663
|
|
750
|
-
install-ps-am:
|
751
|
-
|
752
664
|
installcheck-am:
|
753
665
|
|
754
666
|
maintainer-clean: maintainer-clean-recursive
|
@@ -770,8 +682,8 @@ ps-am:
|
|
770
682
|
|
771
683
|
uninstall-am:
|
772
684
|
|
773
|
-
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS)
|
774
|
-
|
685
|
+
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
|
686
|
+
install-strip
|
775
687
|
|
776
688
|
.PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \
|
777
689
|
all all-am check check-TESTS check-am clean clean-generic \
|
@@ -808,7 +720,6 @@ check: run_multiple_extensions_same_class_test
|
|
808
720
|
|
809
721
|
run_multiple_extensions_same_class_test:
|
810
722
|
$(RUBY) test_multiple_extensions_same_class.rb
|
811
|
-
|
812
723
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
813
724
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
814
725
|
.NOEXPORT:
|