From: wolf Date: Tue, 23 Feb 1999 17:27:15 +0000 (+0000) Subject: Automatically generate a list of all declared classes as forward declarations. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f42e1f772743bc61f1a2c7af769e640b96324f6b;p=dealii-svn.git Automatically generate a list of all declared classes as forward declarations. git-svn-id: https://svn.dealii.org/trunk@886 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/base/source/Makefile b/deal.II/base/source/Makefile index 966deb341f..776d7ea425 100644 --- a/deal.II/base/source/Makefile +++ b/deal.II/base/source/Makefile @@ -28,6 +28,10 @@ lib.g.a: ../lib/libbase.g.a($(go-files)) clean: rm -f *.o *.go *~ Makefile.dep ../lib/lib* +# rule how to make the file containing all the forward declarations +../include/base/forward-declarations.h: $(filter-out %forward-declarations.h,$(h-files)) + @echo ============================ Generating $@ + @perl ../../deal.II/Make_forward_declarations $(filter-out %forward-declarations.h,$(h-files)) > $@ .PHONY: lib lib.a lib.g.a clean diff --git a/deal.II/lac/source/Makefile b/deal.II/lac/source/Makefile index d9311df5c1..af99cdae77 100644 --- a/deal.II/lac/source/Makefile +++ b/deal.II/lac/source/Makefile @@ -34,6 +34,13 @@ clean: rm -f *.o *.go *~ Makefile.dep ../lib/lib* +# rule how to make the file containing all the forward declarations +../include/lac/forward-declarations.h: $(filter-out %forward-declarations.h,$(h-files)) + @echo ============================ Generating $@ + @perl ../../deal.II/Make_forward_declarations $(filter-out %forward-declarations.h,$(h-files)) > $@ + + + .PHONY: lib lib.a lib.g.a clean