aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/make.configuration.deps3
-rw-r--r--src/util/VERSION1
-rwxr-xr-xsrc/util/makeblob.pl4
3 files changed, 5 insertions, 3 deletions
diff --git a/src/make.configuration.deps b/src/make.configuration.deps
index 04ec21d..2d90e35 100644
--- a/src/make.configuration.deps
+++ b/src/make.configuration.deps
@@ -32,6 +32,7 @@ FRM-LIB = $(CCTK_LIBDIR)/$(LIBNAME_PREFIX)$(CCTK_LIBNAME_PREFIX)Formaline-cactus
$(EXEDIR)$(DIRSEP)$(EXE): $(FRM-LIB)
FRM-OBJS = $(TARBALL_DIR)/cactus-meta-source.o $(TARBALL_DIR)/build-id.o $(TARBALL_DIR)/cactus-flesh-source.o $(patsubst %,$(TARBALL_DIR)/cactus-thorn-source-%.o,$(notdir $(THORNS)))
+FRM-OBJS-other = $(TARBALL_DIR)/cactus-flesh-source-????.o $(patsubst %,$(TARBALL_DIR)/cactus-thorn-source-%-????.o,$(notdir $(THORNS)))
$(FRM-LIB): $(FRM-OBJS)
# $(AR) $(ARFLAGS) $@ $^
@@ -238,7 +239,7 @@ ifeq ($(shell test $(FRM-OBJS-words) -le $(FRM-OBJS-words-max) && echo 1), 1)
.PHONY: $(FRM-LIB).objectlist.custom
$(FRM-LIB).objectlist.custom:
- echo $(FRM-OBJS) > $(FRM-LIB).objectlist
+ echo $(FRM-OBJS) $(FRM-OBJS-other) > $(FRM-LIB).objectlist
else
diff --git a/src/util/VERSION b/src/util/VERSION
index d23d03d..bdcaa7f 100644
--- a/src/util/VERSION
+++ b/src/util/VERSION
@@ -4,3 +4,4 @@ Thus, whenever this file changes, all auto-generated files are recreated.
2005-08-22: Change layout of struct sourceinfo
2010-06-23: Move thorn to a new arrangement
+2010-08-06: Correct severe error in autogeneration
diff --git a/src/util/makeblob.pl b/src/util/makeblob.pl
index 55badce..4a4fa8c 100755
--- a/src/util/makeblob.pl
+++ b/src/util/makeblob.pl
@@ -61,7 +61,7 @@ EOF
print FILE "\n";
if (! $done) {
- print FILE "struct datainfo const cactus_data_${fcount_next}_${thorn};\n";
+ print FILE "extern struct datainfo const cactus_data_${fcount_next}_${thorn};\n";
}
print FILE "struct datainfo const cactus_data_${fcount}_${thorn} =\n";
print FILE "{\n";
@@ -104,7 +104,7 @@ struct sourceinfo
char const * thorn;
};
-struct datainfo const cactus_data_0000_$thorn;
+extern struct datainfo const cactus_data_0000_$thorn;
struct sourceinfo const cactus_source_$thorn =
{
& cactus_data_0000_$thorn,