$(patsubst %.o,%_4d.o,$(filter %data_out_base.o, $(o-files-base1)))
o-files-base3= $(sort $(o-files-base2))
o-files = $(o-files-base3)
-go-files = $(o-files-base3:.o=.go)
+go-files = $(o-files-base3:.o=.g.o)
h-files = $(sort $(shell echo include/base/*.h))
forward-declarations = $D/base/include/base/forward_declarations.h
MT = ==
endif
-$(LIBDIR)/base/%.go :
+$(LIBDIR)/base/%.g.o :
@echo =====base=============debug======$(MT)== $(<F) \
" " $(patsubst -Ddata_out_dimension=%,dimension=%,$(maybe-define-dimension))
@$(CXX) $(CXXFLAGS.g) $(maybe-define-dimension) -c $< -o $@
Makefile.dep: $(cc-files) $(forward-declarations) $(h-files) Makefile
@echo ============================ Remaking Makefile
@$(PERL) $D/common/scripts/make_dependencies.pl $(INCLUDE) "-B\$$(LIBDIR)/base" $(cc-files) \
- | $(PERL) -p -e 's!(.*/base/data_out_base)(.g?o)!$$1_1d$$2 $$1_2d$$2 $$1_3d$$2 $$1_4d$$2!g;' \
+ | $(PERL) -p -e 's!(.*/base/data_out_base)((.g)?.o)!$$1_1d$$2 $$1_2d$$2 $$1_3d$$2 $$1_4d$$2!g;' \
> Makefile.dep
#number of pathes). The output looks like this:
#
#lib/o/.o-file: file included_files
-#lib/go/.go-file: file included_files
+#lib/go/.g.o-file: file included_files
#Author: Wolfgang Bangerth, 1998, 1999, 2000, 2001, 2002
print "\n";
# write rule for the .go file
- print "$basepath/$basename.go:";
+ print "$basepath/$basename.g.o:";
print "\\\n $file";
foreach $f (@include_file_list) {
print "\\\n $f";
# don't care about different directories
tmp1 = $(notdir $(cc-files))
o-files-1d = $(addprefix $(LIBDIR)/1d/, $(tmp1:.cc=_1d.o) )
-go-files-1d = $(addprefix $(LIBDIR)/1d/, $(tmp1:.cc=_1d.go))
+go-files-1d = $(addprefix $(LIBDIR)/1d/, $(tmp1:.cc=_1d.g.o))
o-files-2d = $(addprefix $(LIBDIR)/2d/, $(tmp1:.cc=_2d.o) )
-go-files-2d = $(addprefix $(LIBDIR)/2d/, $(tmp1:.cc=_2d.go))
+go-files-2d = $(addprefix $(LIBDIR)/2d/, $(tmp1:.cc=_2d.g.o))
o-files-3d = $(addprefix $(LIBDIR)/3d/, $(tmp1:.cc=_3d.o) )
-go-files-3d = $(addprefix $(LIBDIR)/3d/, $(tmp1:.cc=_3d.go))
+go-files-3d = $(addprefix $(LIBDIR)/3d/, $(tmp1:.cc=_3d.g.o))
o-files = $(o-files-1d) $(o-files-2d) $(o-files-3d)
go-files = $(go-files-1d) $(go-files-2d) $(go-files-3d)
MT = ==
endif
-$(LIBDIR)/1d/%.go :
+$(LIBDIR)/1d/%.g.o :
@echo =====deal.II====1d====debug======$(MT)== $(<:source/%=%)
@$(CXX) $(CXXFLAGS.g) -Ddeal_II_dimension=1 -c $< -o $@
$(LIBDIR)/1d/%.o :
@echo =====deal.II====1d====optimized==$(MT)== $(<:source/%=%)
@$(CXX) $(CXXFLAGS.o) -Ddeal_II_dimension=1 -c $< -o $@
-$(LIBDIR)/2d/%.go :
+$(LIBDIR)/2d/%.g.o :
@echo =====deal.II====2d====debug======$(MT)== $(<:source/%=%)
@$(CXX) $(CXXFLAGS.g) -Ddeal_II_dimension=2 -c $< -o $@
$(LIBDIR)/2d/%.o :
@echo =====deal.II====2d====optimized==$(MT)== $(<:source/%=%)
@$(CXX) $(CXXFLAGS.o) -Ddeal_II_dimension=2 -c $< -o $@
-$(LIBDIR)/3d/%.go :
+$(LIBDIR)/3d/%.g.o :
@echo =====deal.II====3d====debug======$(MT)== $(<:source/%=%)
@$(CXX) $(CXXFLAGS.g) -Ddeal_II_dimension=3 -c $< -o $@
$(LIBDIR)/3d/%.o :
@echo ============================ Remaking Makefile
@$(PERL) $D/common/scripts/make_dependencies.pl $(INCLUDE) "-B\$$(LIBDIR)" $(cc-files) \
| $(PERL) -p -e 's!LIBDIR\)/(.*):!LIBDIR)/DIM_PLACEHOLDER/$$1:!g;' \
- | $(PERL) -pe 's!(\.g?o):!_DIM_PLACEHOLDER$$1:!g;' \
+ | $(PERL) -pe 's!((\.g)?.o):!_DIM_PLACEHOLDER$$1:!g;' \
| $(PERL) -pe 's!^(.*)/DIM_PLACEHOLDER/(.*)_DIM_PLACEHOLDER(\..*):!$$1/1d/$$2_1d$$3 $$1/2d/$$2_2d$$3 $$1/3d/$$2_3d$$3:!g;'\
> Makefile.dep
<h3>General</h3>
<ol>
+ <li> <p> Changed: The build system was entirely revised. Object
+ files in debug more now have the suffix <code>.g.o</code>
+ instead of <code>.go</code>. All object files from the
+ subdirectories are now placed into the <code>/lib</code>
+ top-level directory, rather than in library directories in the
+ individual subdirs.
+ <br>
+ (WB 2002/02/1)
+ </p>
</ol>
o-files-base2= $(filter-out %data_out_base.o, $(o-files-base1))
o-files-base3= $(sort $(o-files-base2))
o-files = $(o-files-base3)
-go-files = $(o-files-base3:.o=.go)
+go-files = $(o-files-base3:.o=.g.o)
h-files = $(sort $(shell echo include/lac/*.h))
forward-declarations = $D/lac/include/lac/forward_declarations.h
MT = ==
endif
-$(LIBDIR)/lac/%.go :
+$(LIBDIR)/lac/%.g.o :
@echo =====lac==============debug======$(MT)== $(<F)
@$(CXX) $(CXXFLAGS.g) -c $< -o $@
$(LIBDIR)/lac/%.o :