From d032cdf60f39e7a2df252264655a45b2981e55bb Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Thu, 9 Mar 2000 23:55:43 +0000 Subject: [PATCH] configure subdirectories git-svn-id: https://svn.dealii.org/trunk@2573 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/Makefile.in | 20 ++++++++++---------- tests/base/{Makefile => Makefile.in} | 7 ++++--- tests/big-tests/{Makefile => Makefile.in} | 12 +++++++++++- tests/configure | 4 ++-- tests/configure.in | 2 +- tests/deal.II/{Makefile => Makefile.in} | 7 ++++--- tests/fe/{Makefile => Makefile.in} | 7 ++++--- tests/lac/{Makefile => Makefile.in} | 7 ++++--- 8 files changed, 40 insertions(+), 26 deletions(-) rename tests/base/{Makefile => Makefile.in} (97%) rename tests/big-tests/{Makefile => Makefile.in} (67%) rename tests/deal.II/{Makefile => Makefile.in} (98%) rename tests/fe/{Makefile => Makefile.in} (96%) rename tests/lac/{Makefile => Makefile.in} (97%) diff --git a/tests/Makefile.in b/tests/Makefile.in index b2878be7d9..13ac9378c5 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -4,36 +4,36 @@ all: base lac fe deal.II big-tests base: - cd base ; $(MAKE) D=@DEAL2_DIR@ + cd base ; $(MAKE) lac: - cd lac ; $(MAKE) D=@DEAL2_DIR@ + cd lac ; $(MAKE) fe: - cd fe ; $(MAKE) D=@DEAL2_DIR@ + cd fe ; $(MAKE) deal.II: - cd deal.II ; $(MAKE) D=@DEAL2_DIR@ + cd deal.II ; $(MAKE) big-tests: - cd big-tests ; $(MAKE) D=@DEAL2_DIR@ + cd big-tests ; $(MAKE) clean: clean-base clean-lac clean-deal.II clean-fe clean-base: - cd base ; $(MAKE) clean D=@DEAL2_DIR@ + cd base ; $(MAKE) clean clean-lac: - cd lac ; $(MAKE) clean D=@DEAL2_DIR@ + cd lac ; $(MAKE) clean clean-fe: - cd fe ; $(MAKE) clean D=@DEAL2_DIR@ + cd fe ; $(MAKE) clean clean-deal.II: - cd deal.II ; $(MAKE) clean D=@DEAL2_DIR@ + cd deal.II ; $(MAKE) clean clean-big: - cd big-tests ; $(MAKE) clean D=@DEAL2_DIR@ + cd big-tests ; $(MAKE) clean .PHONY : all base lac fe deal.II big-tests clean clean-base clean-lac clean-fe clean-deal.II clean-big diff --git a/tests/base/Makefile b/tests/base/Makefile.in similarity index 97% rename from tests/base/Makefile rename to tests/base/Makefile.in index ecaebd8e79..ba942a050e 100644 --- a/tests/base/Makefile +++ b/tests/base/Makefile.in @@ -1,13 +1,14 @@ ############################################################ -# $D contains the root of the deal distribution and should -# be supplied as a command line argument D=../../... +# $Id$ +# Copyright (C) 2000 by the deal.II authors ############################################################ - ############################################################ # Include general settings for including DEAL libraries ############################################################ +D = @DEAL2_DIR@ + include $D/common/Make.global_options diff --git a/tests/big-tests/Makefile b/tests/big-tests/Makefile.in similarity index 67% rename from tests/big-tests/Makefile rename to tests/big-tests/Makefile.in index 30b64a8390..aea74b5b66 100644 --- a/tests/big-tests/Makefile +++ b/tests/big-tests/Makefile.in @@ -1,5 +1,15 @@ +############################################################ # $Id$ -# Copyright W. Bangerth, University of Heidelberg, 1998 +# Copyright (C) 2000 by the deal.II authors +############################################################ + +############################################################ +# Include general settings for including DEAL libraries +############################################################ + +D = @DEAL2_DIR@ + +include $D/common/Make.global_options # list the directories we want to visit diff --git a/tests/configure b/tests/configure index 7cacedf07f..bda0e01e07 100755 --- a/tests/configure +++ b/tests/configure @@ -601,7 +601,7 @@ done ac_given_srcdir=$srcdir -trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 +trap 'rm -fr `echo "Makefile base/Makefile lac/Makefile fe/Makefile deal.II/Makefile big-tests/Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 EOF cat >> $CONFIG_STATUS <> $CONFIG_STATUS <> $CONFIG_STATUS <<\EOF for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then diff --git a/tests/configure.in b/tests/configure.in index 317fc4e73a..bfdeb75dba 100644 --- a/tests/configure.in +++ b/tests/configure.in @@ -23,4 +23,4 @@ AC_ARG_WITH(deal, fi) AC_SUBST(DEAL2_DIR) -AC_OUTPUT(Makefile) +AC_OUTPUT(Makefile base/Makefile lac/Makefile fe/Makefile deal.II/Makefile big-tests/Makefile) diff --git a/tests/deal.II/Makefile b/tests/deal.II/Makefile.in similarity index 98% rename from tests/deal.II/Makefile rename to tests/deal.II/Makefile.in index cdf79fadcc..d9a50cd784 100644 --- a/tests/deal.II/Makefile +++ b/tests/deal.II/Makefile.in @@ -1,13 +1,14 @@ ############################################################ -# $D contains the root of the deal distribution and should -# be supplied as a command line argument D=../../... +# $Id$ +# Copyright (C) 2000 by the deal.II authors ############################################################ - ############################################################ # Include general settings for including DEAL libraries ############################################################ +D = @DEAL2_DIR@ + include $D/common/Make.global_options diff --git a/tests/fe/Makefile b/tests/fe/Makefile.in similarity index 96% rename from tests/fe/Makefile rename to tests/fe/Makefile.in index 93799a31fd..4cb0be8314 100644 --- a/tests/fe/Makefile +++ b/tests/fe/Makefile.in @@ -1,13 +1,14 @@ ############################################################ -# $D contains the root of the deal distribution and should -# be supplied as a command line argument D=../../... +# $Id$ +# Copyright (C) 2000 by the deal.II authors ############################################################ - ############################################################ # Include general settings for including DEAL libraries ############################################################ +D = @DEAL2_DIR@ + include $D/common/Make.global_options diff --git a/tests/lac/Makefile b/tests/lac/Makefile.in similarity index 97% rename from tests/lac/Makefile rename to tests/lac/Makefile.in index 7284a51bf1..b89fe4e864 100644 --- a/tests/lac/Makefile +++ b/tests/lac/Makefile.in @@ -1,13 +1,14 @@ ############################################################ -# $D contains the root of the deal distribution and should -# be supplied as a command line argument D=../../... +# $Id$ +# Copyright (C) 2000 by the deal.II authors ############################################################ - ############################################################ # Include general settings for including DEAL libraries ############################################################ +D = @DEAL2_DIR@ + include $D/common/Make.global_options -- 2.39.5