312 |
OBJEXT="$(OBJEXT)" EXEEXT="$(EXEEXT)" CONFIG_SHELL="$(SHELL)" \ |
OBJEXT="$(OBJEXT)" EXEEXT="$(EXEEXT)" CONFIG_SHELL="$(SHELL)" \ |
313 |
CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" CXXCPP="$(CXXCPP)" \ |
CXX="$(CXX)" CXXFLAGS="$(CXXFLAGS)" CXXCPP="$(CXXCPP)" \ |
314 |
F77="$(F77)" FFLAGS="$(FFLAGS)" \ |
F77="$(F77)" FFLAGS="$(FFLAGS)" \ |
315 |
|
FC="$(FC)" FCFLAGS="$(FCFLAGS)" \ |
316 |
GCJ="$(GCJ)" GCJFLAGS="$(GCJFLAGS)" |
GCJ="$(GCJ)" GCJFLAGS="$(GCJFLAGS)" |
317 |
|
|
318 |
check-recursive: $(srcdir)/$(TESTSUITE) |
check-recursive: $(srcdir)/$(TESTSUITE) |
380 |
tests/f77demo-shared.test tests/f77demo-make.test \ |
tests/f77demo-shared.test tests/f77demo-make.test \ |
381 |
tests/f77demo-exec.test |
tests/f77demo-exec.test |
382 |
|
|
383 |
|
FC_TESTS = \ |
384 |
|
tests/fcdemo-static.test tests/fcdemo-make.test \ |
385 |
|
tests/fcdemo-exec.test tests/fcdemo-conf.test \ |
386 |
|
tests/fcdemo-make.test tests/fcdemo-exec.test \ |
387 |
|
tests/fcdemo-shared.test tests/fcdemo-make.test \ |
388 |
|
tests/fcdemo-exec.test |
389 |
|
|
390 |
COMMON_TESTS = \ |
COMMON_TESTS = \ |
391 |
tests/link.test tests/link-2.test tests/nomode.test \ |
tests/link.test tests/link-2.test tests/nomode.test \ |
392 |
tests/objectlist.test tests/quote.test tests/sh.test \ |
tests/objectlist.test tests/quote.test tests/sh.test \ |
428 |
tests/mdemo-inst.test tests/mdemo-unst.test \ |
tests/mdemo-inst.test tests/mdemo-unst.test \ |
429 |
tests/cdemo-undef.test tests/cdemo-make.test tests/cdemo-exec.test |
tests/cdemo-undef.test tests/cdemo-make.test tests/cdemo-exec.test |
430 |
|
|
431 |
|
TESTS = $(COMMON_TESTS) |
432 |
if HAVE_CXX |
if HAVE_CXX |
433 |
if HAVE_F77 |
TESTS += $(CXX_TESTS) |
|
TESTS = $(COMMON_TESTS) $(CXX_TESTS) $(F77_TESTS) |
|
|
else |
|
|
TESTS = $(COMMON_TESTS) $(CXX_TESTS) |
|
434 |
endif |
endif |
|
else |
|
435 |
if HAVE_F77 |
if HAVE_F77 |
436 |
TESTS = $(COMMON_TESTS) $(F77_TESTS) |
TESTS += $(F77_TESTS) |
|
else |
|
|
TESTS = $(COMMON_TESTS) |
|
437 |
endif |
endif |
438 |
|
if HAVE_FC |
439 |
|
TESTS += $(FC_TESTS) |
440 |
endif |
endif |
441 |
|
|
442 |
tests/demo-conf.test: libtool |
tests/demo-conf.test: libtool |
443 |
|
|
444 |
EXTRA_DIST += tests/defs.in tests/defs.m4sh \ |
EXTRA_DIST += tests/defs.in tests/defs.m4sh \ |
445 |
$(COMMON_TESTS) $(CXX_TESTS) $(F77_TESTS) |
$(COMMON_TESTS) $(CXX_TESTS) $(F77_TESTS) $(FC_TESTS) |
446 |
DIST_SUBDIRS += $(CONF_SUBDIRS) |
DIST_SUBDIRS += $(CONF_SUBDIRS) |
447 |
|
|
448 |
# The defs script shouldn't be recreated whenever the Makefile is |
# The defs script shouldn't be recreated whenever the Makefile is |
464 |
# We need to remove any files that the above tests created. |
# We need to remove any files that the above tests created. |
465 |
clean-local-legacy: |
clean-local-legacy: |
466 |
-cd tests; \ |
-cd tests; \ |
467 |
for dir in cdemo demo depdemo f77demo mdemo mdemo2 pdemo tagdemo; \ |
for dir in cdemo demo depdemo f77demo fcdemo mdemo mdemo2 pdemo tagdemo; \ |
468 |
do \ |
do \ |
469 |
test -f $$dir/Makefile && ( cd $$dir && $(MAKE) distclean; ); \ |
test -f $$dir/Makefile && ( cd $$dir && $(MAKE) distclean; ); \ |
470 |
done |
done |