diff options
author | eschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f> | 2010-08-06 21:45:20 +0000 |
---|---|---|
committer | eschnett <eschnett@83718e91-0e4f-0410-abf4-91180603181f> | 2010-08-06 21:45:20 +0000 |
commit | ce20f4b59e5d8edbb41380e2405e21b271a60b1b (patch) | |
tree | 846d4f5c105a912dc0ca9690e592362cc8360f41 | |
parent | c36bf320da429160ff61f2772f1a3fc0ddb7fc58 (diff) |
Correct error in autogeneration of tarballs.
Not all files were compiled, leading to zero-length tarballs when output.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@189 83718e91-0e4f-0410-abf4-91180603181f
-rw-r--r-- | src/make.configuration.deps | 3 | ||||
-rw-r--r-- | src/util/VERSION | 1 | ||||
-rwxr-xr-x | src/util/makeblob.pl | 4 |
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, |