36
32
build_triplet = @build@
37
33
host_triplet = @host@
34
@USE_UTF8_TRUE@am__append_1 = test-enc-utf8.scm
35
@USE_UTF8_FALSE@am__append_2 = test-enc-utf8.scm
36
@USE_EUCCN_TRUE@am__append_3 = test-enc-eucgeneric.scm
37
@USE_EUCCN_FALSE@am__append_4 = test-enc-eucgeneric.scm
38
@USE_EUCJP_TRUE@am__append_5 = test-enc-eucjp.scm test-char.scm
39
@USE_EUCJP_FALSE@am__append_6 = test-enc-eucjp.scm test-char.scm
40
@USE_SJIS_TRUE@am__append_7 = test-enc-sjis.scm
41
@USE_SJIS_FALSE@am__append_8 = test-enc-sjis.scm
42
@USE_SHELL_TRUE@TESTS = $(sscm_tests) $(sscm_optional_tests)
39
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
44
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
45
$(srcdir)/run-singletest.sh.in
40
46
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
41
47
am__aclocal_m4_deps = $(top_srcdir)/m4/ax_c___attribute__.m4 \
42
$(top_srcdir)/m4/ax_c_data_aligned.m4 \
48
$(top_srcdir)/m4/ax_c_arithmetic_rshift.m4 \
49
$(top_srcdir)/m4/ax_c_referenceable_passed_va_list.m4 \
50
$(top_srcdir)/m4/ax_cflags_gcc_option.m4 \
43
51
$(top_srcdir)/m4/ax_check_page_aligned_malloc.m4 \
44
52
$(top_srcdir)/m4/ax_create_stdint_h.m4 \
45
$(top_srcdir)/m4/ax_lib_glibc.m4 $(top_srcdir)/configure.in
53
$(top_srcdir)/m4/ax_feature_configurator.m4 \
54
$(top_srcdir)/m4/ax_func_getcontext.m4 \
55
$(top_srcdir)/m4/ax_lib_glibc.m4 \
56
$(top_srcdir)/m4/check_gnu_make.m4 $(top_srcdir)/configure.in
46
57
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
48
59
mkinstalldirs = $(install_sh) -d
49
60
CONFIG_HEADER = $(top_builddir)/src/config.h
61
CONFIG_CLEAN_FILES = run-singletest.sh
53
64
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
54
ACCESSOR_ASSERT_FALSE = @ACCESSOR_ASSERT_FALSE@
55
ACCESSOR_ASSERT_TRUE = @ACCESSOR_ASSERT_TRUE@
56
65
ACLOCAL = @ACLOCAL@
57
AMDEP_FALSE = @AMDEP_FALSE@
58
AMDEP_TRUE = @AMDEP_TRUE@
61
68
ASCIIDOC = @ASCIIDOC@
120
118
PACKAGE_VERSION = @PACKAGE_VERSION@
121
119
PATH_SEPARATOR = @PATH_SEPARATOR@
121
PKG_CONFIG = @PKG_CONFIG@
123
122
RANLIB = @RANLIB@
125
125
SET_MAKE = @SET_MAKE@
128
STRICT_ARGCHECK_FALSE = @STRICT_ARGCHECK_FALSE@
129
STRICT_ARGCHECK_TRUE = @STRICT_ARGCHECK_TRUE@
130
STRICT_DEFINE_PLACEMENT_FALSE = @STRICT_DEFINE_PLACEMENT_FALSE@
131
STRICT_DEFINE_PLACEMENT_TRUE = @STRICT_DEFINE_PLACEMENT_TRUE@
132
STRICT_ENCODING_CHECK_FALSE = @STRICT_ENCODING_CHECK_FALSE@
133
STRICT_ENCODING_CHECK_TRUE = @STRICT_ENCODING_CHECK_TRUE@
134
STRICT_NULL_FORM_FALSE = @STRICT_NULL_FORM_FALSE@
135
STRICT_NULL_FORM_TRUE = @STRICT_NULL_FORM_TRUE@
136
STRICT_R5RS_FALSE = @STRICT_R5RS_FALSE@
137
STRICT_R5RS_TRUE = @STRICT_R5RS_TRUE@
138
STRICT_VECTOR_FORM_FALSE = @STRICT_VECTOR_FORM_FALSE@
139
STRICT_VECTOR_FORM_TRUE = @STRICT_VECTOR_FORM_TRUE@
141
USE_32BIT_FIXNUM_FALSE = @USE_32BIT_FIXNUM_FALSE@
142
USE_32BIT_FIXNUM_TRUE = @USE_32BIT_FIXNUM_TRUE@
143
USE_32BIT_SCMREF_FALSE = @USE_32BIT_SCMREF_FALSE@
144
USE_32BIT_SCMREF_TRUE = @USE_32BIT_SCMREF_TRUE@
145
USE_64BIT_FIXNUM_FALSE = @USE_64BIT_FIXNUM_FALSE@
146
USE_64BIT_FIXNUM_TRUE = @USE_64BIT_FIXNUM_TRUE@
147
USE_64BIT_SCMREF_FALSE = @USE_64BIT_SCMREF_FALSE@
148
USE_64BIT_SCMREF_TRUE = @USE_64BIT_SCMREF_TRUE@
149
USE_CHAR_FALSE = @USE_CHAR_FALSE@
150
USE_CHAR_TRUE = @USE_CHAR_TRUE@
151
USE_COMPLEX_FALSE = @USE_COMPLEX_FALSE@
152
USE_COMPLEX_TRUE = @USE_COMPLEX_TRUE@
153
USE_CONTINUATION_FALSE = @USE_CONTINUATION_FALSE@
154
USE_CONTINUATION_TRUE = @USE_CONTINUATION_TRUE@
155
USE_DEEP_CADRS_FALSE = @USE_DEEP_CADRS_FALSE@
156
USE_DEEP_CADRS_TRUE = @USE_DEEP_CADRS_TRUE@
157
USE_DUMP_FALSE = @USE_DUMP_FALSE@
158
USE_DUMP_TRUE = @USE_DUMP_TRUE@
159
USE_EUCCN_AS_DEFAULT_FALSE = @USE_EUCCN_AS_DEFAULT_FALSE@
160
USE_EUCCN_AS_DEFAULT_TRUE = @USE_EUCCN_AS_DEFAULT_TRUE@
161
USE_EUCCN_FALSE = @USE_EUCCN_FALSE@
162
USE_EUCCN_TRUE = @USE_EUCCN_TRUE@
163
USE_EUCJP_AS_DEFAULT_FALSE = @USE_EUCJP_AS_DEFAULT_FALSE@
164
USE_EUCJP_AS_DEFAULT_TRUE = @USE_EUCJP_AS_DEFAULT_TRUE@
165
USE_EUCJP_FALSE = @USE_EUCJP_FALSE@
166
USE_EUCJP_TRUE = @USE_EUCJP_TRUE@
167
USE_EUCKR_AS_DEFAULT_FALSE = @USE_EUCKR_AS_DEFAULT_FALSE@
168
USE_EUCKR_AS_DEFAULT_TRUE = @USE_EUCKR_AS_DEFAULT_TRUE@
169
USE_EUCKR_FALSE = @USE_EUCKR_FALSE@
170
USE_EUCKR_TRUE = @USE_EUCKR_TRUE@
171
USE_EVAL_C_STRING_FALSE = @USE_EVAL_C_STRING_FALSE@
172
USE_EVAL_C_STRING_TRUE = @USE_EVAL_C_STRING_TRUE@
173
USE_FORMAT_FALSE = @USE_FORMAT_FALSE@
174
USE_FORMAT_TRUE = @USE_FORMAT_TRUE@
175
USE_HYGIENIC_MACRO_FALSE = @USE_HYGIENIC_MACRO_FALSE@
176
USE_HYGIENIC_MACRO_TRUE = @USE_HYGIENIC_MACRO_TRUE@
177
USE_INTPTR_SCMREF_FALSE = @USE_INTPTR_SCMREF_FALSE@
178
USE_INTPTR_SCMREF_TRUE = @USE_INTPTR_SCMREF_TRUE@
179
USE_INT_FALSE = @USE_INT_FALSE@
180
USE_INT_FIXNUM_FALSE = @USE_INT_FIXNUM_FALSE@
181
USE_INT_FIXNUM_TRUE = @USE_INT_FIXNUM_TRUE@
182
USE_INT_TRUE = @USE_INT_TRUE@
183
USE_LEGACY_MACRO_FALSE = @USE_LEGACY_MACRO_FALSE@
184
USE_LEGACY_MACRO_TRUE = @USE_LEGACY_MACRO_TRUE@
185
USE_LOAD_FALSE = @USE_LOAD_FALSE@
186
USE_LOAD_TRUE = @USE_LOAD_TRUE@
187
USE_LONG_FIXNUM_FALSE = @USE_LONG_FIXNUM_FALSE@
188
USE_LONG_FIXNUM_TRUE = @USE_LONG_FIXNUM_TRUE@
189
USE_MULTIBYTE_CHAR_FALSE = @USE_MULTIBYTE_CHAR_FALSE@
190
USE_MULTIBYTE_CHAR_TRUE = @USE_MULTIBYTE_CHAR_TRUE@
191
USE_NULL_CAPABLE_STRING_FALSE = @USE_NULL_CAPABLE_STRING_FALSE@
192
USE_NULL_CAPABLE_STRING_TRUE = @USE_NULL_CAPABLE_STRING_TRUE@
193
USE_NUMBER_FALSE = @USE_NUMBER_FALSE@
194
USE_NUMBER_TRUE = @USE_NUMBER_TRUE@
195
USE_PORT_FALSE = @USE_PORT_FALSE@
196
USE_PORT_TRUE = @USE_PORT_TRUE@
197
USE_QUASIQUOTE_FALSE = @USE_QUASIQUOTE_FALSE@
198
USE_QUASIQUOTE_TRUE = @USE_QUASIQUOTE_TRUE@
199
USE_RATIONAL_FALSE = @USE_RATIONAL_FALSE@
200
USE_RATIONAL_TRUE = @USE_RATIONAL_TRUE@
201
USE_RAW_C_FORMAT_FALSE = @USE_RAW_C_FORMAT_FALSE@
202
USE_RAW_C_FORMAT_TRUE = @USE_RAW_C_FORMAT_TRUE@
203
USE_READER_FALSE = @USE_READER_FALSE@
204
USE_READER_TRUE = @USE_READER_TRUE@
205
USE_REAL_FALSE = @USE_REAL_FALSE@
206
USE_REAL_TRUE = @USE_REAL_TRUE@
207
USE_SJIS_AS_DEFAULT_FALSE = @USE_SJIS_AS_DEFAULT_FALSE@
208
USE_SJIS_AS_DEFAULT_TRUE = @USE_SJIS_AS_DEFAULT_TRUE@
209
USE_SJIS_FALSE = @USE_SJIS_FALSE@
210
USE_SJIS_TRUE = @USE_SJIS_TRUE@
211
USE_SRFI1_FALSE = @USE_SRFI1_FALSE@
212
USE_SRFI1_TRUE = @USE_SRFI1_TRUE@
213
USE_SRFI22_FALSE = @USE_SRFI22_FALSE@
214
USE_SRFI22_TRUE = @USE_SRFI22_TRUE@
215
USE_SRFI23_FALSE = @USE_SRFI23_FALSE@
216
USE_SRFI23_TRUE = @USE_SRFI23_TRUE@
217
USE_SRFI28_FALSE = @USE_SRFI28_FALSE@
218
USE_SRFI28_TRUE = @USE_SRFI28_TRUE@
219
USE_SRFI2_FALSE = @USE_SRFI2_FALSE@
220
USE_SRFI2_TRUE = @USE_SRFI2_TRUE@
221
USE_SRFI34_FALSE = @USE_SRFI34_FALSE@
222
USE_SRFI34_TRUE = @USE_SRFI34_TRUE@
223
USE_SRFI38_FALSE = @USE_SRFI38_FALSE@
224
USE_SRFI38_TRUE = @USE_SRFI38_TRUE@
225
USE_SRFI48_FALSE = @USE_SRFI48_FALSE@
226
USE_SRFI48_TRUE = @USE_SRFI48_TRUE@
227
USE_SRFI60_FALSE = @USE_SRFI60_FALSE@
228
USE_SRFI60_TRUE = @USE_SRFI60_TRUE@
229
USE_SRFI6_FALSE = @USE_SRFI6_FALSE@
230
USE_SRFI6_TRUE = @USE_SRFI6_TRUE@
231
USE_SRFI75_FALSE = @USE_SRFI75_FALSE@
232
USE_SRFI75_NAMED_CHARS_FALSE = @USE_SRFI75_NAMED_CHARS_FALSE@
233
USE_SRFI75_NAMED_CHARS_TRUE = @USE_SRFI75_NAMED_CHARS_TRUE@
234
USE_SRFI75_TRUE = @USE_SRFI75_TRUE@
235
USE_SRFI8_FALSE = @USE_SRFI8_FALSE@
236
USE_SRFI8_TRUE = @USE_SRFI8_TRUE@
237
USE_SSCM_EXTENSIONS_FALSE = @USE_SSCM_EXTENSIONS_FALSE@
238
USE_SSCM_EXTENSIONS_TRUE = @USE_SSCM_EXTENSIONS_TRUE@
239
USE_SSCM_FORMAT_EXTENSION_FALSE = @USE_SSCM_FORMAT_EXTENSION_FALSE@
240
USE_SSCM_FORMAT_EXTENSION_TRUE = @USE_SSCM_FORMAT_EXTENSION_TRUE@
241
USE_STORAGE_COMPACT_FALSE = @USE_STORAGE_COMPACT_FALSE@
242
USE_STORAGE_COMPACT_TRUE = @USE_STORAGE_COMPACT_TRUE@
243
USE_STORAGE_FATTY_FALSE = @USE_STORAGE_FATTY_FALSE@
244
USE_STORAGE_FATTY_TRUE = @USE_STORAGE_FATTY_TRUE@
245
USE_STRING_FALSE = @USE_STRING_FALSE@
246
USE_STRING_TRUE = @USE_STRING_TRUE@
247
USE_SYNTAX_CASE_FALSE = @USE_SYNTAX_CASE_FALSE@
248
USE_SYNTAX_CASE_TRUE = @USE_SYNTAX_CASE_TRUE@
249
USE_UNHYGIENIC_MACRO_FALSE = @USE_UNHYGIENIC_MACRO_FALSE@
250
USE_UNHYGIENIC_MACRO_TRUE = @USE_UNHYGIENIC_MACRO_TRUE@
251
USE_UTF8_AS_DEFAULT_FALSE = @USE_UTF8_AS_DEFAULT_FALSE@
252
USE_UTF8_AS_DEFAULT_TRUE = @USE_UTF8_AS_DEFAULT_TRUE@
253
USE_UTF8_FALSE = @USE_UTF8_FALSE@
254
USE_UTF8_TRUE = @USE_UTF8_TRUE@
255
USE_VALUECONS_FALSE = @USE_VALUECONS_FALSE@
256
USE_VALUECONS_TRUE = @USE_VALUECONS_TRUE@
257
USE_VECTOR_FALSE = @USE_VECTOR_FALSE@
258
USE_VECTOR_TRUE = @USE_VECTOR_TRUE@
259
USE_WARNING_SUPPRESSOR_FALSE = @USE_WARNING_SUPPRESSOR_FALSE@
260
USE_WARNING_SUPPRESSOR_TRUE = @USE_WARNING_SUPPRESSOR_TRUE@
261
USE_WRITER_FALSE = @USE_WRITER_FALSE@
262
USE_WRITER_TRUE = @USE_WRITER_TRUE@
263
130
VERSION = @VERSION@
131
abs_builddir = @abs_builddir@
132
abs_srcdir = @abs_srcdir@
133
abs_top_builddir = @abs_top_builddir@
134
abs_top_srcdir = @abs_top_srcdir@
264
135
ac_ct_CC = @ac_ct_CC@
265
136
ac_ct_CXX = @ac_ct_CXX@
266
137
ac_ct_F77 = @ac_ct_F77@
267
am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
268
am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
269
am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
270
am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
271
138
am__include = @am__include@
272
139
am__leading_dot = @am__leading_dot@
273
140
am__quote = @am__quote@
308
176
sbindir = @sbindir@
309
177
sharedstatedir = @sharedstatedir@
310
180
sysconfdir = @sysconfdir@
311
181
target_alias = @target_alias@
182
top_builddir = @top_builddir@
183
top_srcdir = @top_srcdir@
184
use_backtrace = @use_backtrace@
185
use_char = @use_char@
186
use_compat_siod = @use_compat_siod@
187
use_compat_siod_bugs = @use_compat_siod_bugs@
188
use_const_list_literal = @use_const_list_literal@
189
use_const_vector_literal = @use_const_vector_literal@
190
use_continuation = @use_continuation@
191
use_debug = @use_debug@
192
use_deep_cadrs = @use_deep_cadrs@
193
use_default_encoding = @use_default_encoding@
194
use_euccn = @use_euccn@
195
use_eucjp = @use_eucjp@
196
use_euckr = @use_euckr@
197
use_eval_c_string = @use_eval_c_string@
198
use_fixnum = @use_fixnum@
199
use_hygienic_macro = @use_hygienic_macro@
201
use_internal_definitions = @use_internal_definitions@
202
use_load = @use_load@
203
use_multibyte_char = @use_multibyte_char@
204
use_number_io = @use_number_io@
205
use_port = @use_port@
206
use_promise = @use_promise@
207
use_quasiquote = @use_quasiquote@
208
use_reader = @use_reader@
209
use_sjis = @use_sjis@
210
use_srfi1 = @use_srfi1@
211
use_srfi2 = @use_srfi2@
212
use_srfi22 = @use_srfi22@
213
use_srfi23 = @use_srfi23@
214
use_srfi28 = @use_srfi28@
215
use_srfi34 = @use_srfi34@
216
use_srfi38 = @use_srfi38@
217
use_srfi48 = @use_srfi48@
218
use_srfi6 = @use_srfi6@
219
use_srfi60 = @use_srfi60@
220
use_srfi75 = @use_srfi75@
221
use_srfi75_named_chars = @use_srfi75_named_chars@
222
use_srfi8 = @use_srfi8@
223
use_sscm_extensions = @use_sscm_extensions@
224
use_sscm_format_extension = @use_sscm_format_extension@
225
use_storage = @use_storage@
226
use_strict_argcheck = @use_strict_argcheck@
227
use_strict_null_form = @use_strict_null_form@
228
use_strict_r5rs = @use_strict_r5rs@
229
use_strict_toplevel_definitions = @use_strict_toplevel_definitions@
230
use_strict_vector_form = @use_strict_vector_form@
231
use_string = @use_string@
232
use_string_procedure = @use_string_procedure@
233
use_utf8 = @use_utf8@
234
use_vector = @use_vector@
235
use_writer = @use_writer@
238
EXTRA_DIST = unittest.scm unittest-bigloo.scm unittest-gauche.scm \
239
run-singletest.sh.in test-enc-utf8.scm test-enc-eucgeneric.scm \
240
test-enc-eucjp.scm test-char.scm test-enc-sjis.scm \
241
test-tail-rec.scm $(sscm_tests) $(imported_tests)
242
sscm_xfail_tests = $(am__append_2) $(am__append_4) $(am__append_6) \
244
sscm_optional_tests = $(am__append_1) $(am__append_3) $(am__append_5) \
315
246
# Native tests of SigScheme
253
test-continuation.scm \
255
test-define-internal.scm \
257
test-dyn-extent.scm \
262
test-formal-syntax.scm \
263
test-formatplus.scm \
273
test-number-arith.scm \
274
test-number-cmp.scm \
275
test-number-literal.scm \
277
test-number-pred.scm \
291
test-string-cmp.scm \
292
test-string-core.scm \
293
test-string-null.scm \
296
test-syntax-rules.scm \
317
302
# Imported foreign tests
318
EXTRA_DIST = unittest.scm unittest-bigloo.scm unittest-gauche.scm \
319
test-apply.scm test-char-cmp.scm test-char.scm \
320
test-continuation.scm test-define.scm test-delay-force.scm \
321
test-enc-eucgeneric.scm test-enc-eucjp.scm test-enc-sjis.scm \
322
test-enc-utf8.scm test-equation.scm test-eval.scm test-exp.scm \
323
test-formatplus.scm test-list.scm test-map.scm test-num.scm \
324
test-quote.scm test-srfi1.scm test-srfi2.scm test-srfi6.scm \
325
test-srfi8.scm test-srfi28.scm test-srfi34-2.scm \
326
test-srfi34.scm test-srfi38.scm test-srfi48.scm \
327
test-srfi60.scm test-string-cmp.scm test-string.scm \
328
test-syntax-rules.scm test-syntax.scm test-tail-rec.scm \
329
test-vector.scm test-r4rs.scm bigloo-apply.scm \
330
bigloo-bchar.scm bigloo-bool.scm bigloo-case.scm \
331
bigloo-letrec.scm bigloo-list.scm bigloo-quote.scm \
332
bigloo-vector.scm gauche-euc-jp.scm gauche-primsyn.scm
316
TESTS_ENVIRONMENT = $(SH) $(top_builddir)/test/run-singletest.sh
317
@USE_SHELL_FALSE@XFAIL_TESTS = $(sscm_tests) $(sscm_xfail_tests)
318
@USE_SHELL_TRUE@XFAIL_TESTS = $(sscm_xfail_tests)
319
DISTCLEANFILES = run-singletest.sh
367
check-TESTS: $(TESTS)
368
@failed=0; all=0; xfail=0; xpass=0; skip=0; ws='[ ]'; \
369
srcdir=$(srcdir); export srcdir; \
371
if test -n "$$list"; then \
372
for tst in $$list; do \
373
if test -f ./$$tst; then dir=./; \
374
elif test -f $$tst; then dir=; \
375
else dir="$(srcdir)/"; fi; \
376
if $(TESTS_ENVIRONMENT) $${dir}$$tst; then \
377
all=`expr $$all + 1`; \
378
case " $(XFAIL_TESTS) " in \
380
xpass=`expr $$xpass + 1`; \
381
failed=`expr $$failed + 1`; \
382
echo "XPASS: $$tst"; \
385
echo "PASS: $$tst"; \
388
elif test $$? -ne 77; then \
389
all=`expr $$all + 1`; \
390
case " $(XFAIL_TESTS) " in \
392
xfail=`expr $$xfail + 1`; \
393
echo "XFAIL: $$tst"; \
396
failed=`expr $$failed + 1`; \
397
echo "FAIL: $$tst"; \
401
skip=`expr $$skip + 1`; \
402
echo "SKIP: $$tst"; \
405
if test "$$failed" -eq 0; then \
406
if test "$$xfail" -eq 0; then \
407
banner="All $$all tests passed"; \
409
banner="All $$all tests behaved as expected ($$xfail expected failures)"; \
412
if test "$$xpass" -eq 0; then \
413
banner="$$failed of $$all tests failed"; \
415
banner="$$failed of $$all tests did not behave as expected ($$xpass unexpected passes)"; \
420
if test "$$skip" -ne 0; then \
421
skipped="($$skip tests were not run)"; \
422
test `echo "$$skipped" | wc -c` -le `echo "$$banner" | wc -c` || \
423
dashes="$$skipped"; \
426
if test "$$failed" -ne 0 && test -n "$(PACKAGE_BUGREPORT)"; then \
427
report="Please report to $(PACKAGE_BUGREPORT)"; \
428
test `echo "$$report" | wc -c` -le `echo "$$banner" | wc -c` || \
431
dashes=`echo "$$dashes" | sed s/./=/g`; \
434
test -z "$$skipped" || echo "$$skipped"; \
435
test -z "$$report" || echo "$$report"; \
437
test "$$failed" -eq 0; \
382
440
distdir: $(DISTFILES)
383
@srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
384
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
385
list='$(DISTFILES)'; for file in $$list; do \
387
$(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
388
$(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
441
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
442
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
443
list='$(DISTFILES)'; \
444
dist_files=`for file in $$list; do echo $$file; done | \
445
sed -e "s|^$$srcdirstrip/||;t" \
446
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
447
case $$dist_files in \
448
*/*) $(MKDIR_P) `echo "$$dist_files" | \
449
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
452
for file in $$dist_files; do \
390
453
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
391
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
392
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
394
$(mkdir_p) "$(distdir)$$dir"; \
398
454
if test -d $$d/$$file; then \
455
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
399
456
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
400
457
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \