/[libtool]/libtool/Makefile.am
ViewVC logotype

Diff of /libtool/Makefile.am

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.154 by rwild, Fri Jul 8 15:54:57 2005 UTC revision 1.155 by rwild, Mon Aug 8 09:23:57 2005 UTC
# Line 312  TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$ Line 312  TESTS_ENVIRONMENT = MAKE="$(MAKE)" CC="$
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)
# Line 379  F77_TESTS = \ Line 380  F77_TESTS = \
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 \
# Line 420  COMMON_TESTS = \ Line 428  COMMON_TESTS = \
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
# Line 459  $(srcdir)/tests/defs.in: config/general. Line 464  $(srcdir)/tests/defs.in: config/general.
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

Legend:
Removed from v.1.154  
changed lines
  Added in v.1.155

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26