From 4349331c31908ef2330a93ddb5d0a96f0bff6f03 Mon Sep 17 00:00:00 2001 From: eschnett Date: Thu, 23 Sep 2010 23:29:44 +0000 Subject: Correct building thorn source tarballs on systems with a small command line length limit (e.g. AIX) git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@190 83718e91-0e4f-0410-abf4-91180603181f --- src/make.configuration.deps | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/make.configuration.deps b/src/make.configuration.deps index 2d90e35..dfb7d81 100644 --- a/src/make.configuration.deps +++ b/src/make.configuration.deps @@ -166,10 +166,10 @@ $(TARBALL_DIR)/cactus-flesh-source.ccldeps: $(TARBALL_DIR)/cactus-thorn-source-%.o: $(TARBALL_DIR)/cactus-thorn-source-%.c @echo "Creating Formaline tarball for thorn $*" - cd $(TARBALL_DIR) && $(CC) $(CFLAGS) -c $^ $(^:%.c=%-????.c) + cd $(TARBALL_DIR) && $(CC) $(CFLAGS) -c $(patsubst $(TARBALL_DIR)/%, %, $^ $(^:%.c=%-????.c)) $(TARBALL_DIR)/cactus-thorn-source-%.c: $(TARBALL_DIR)/cactus-thorn-source-%.tar.gz $(CCTK_HOME)/arrangements/CactusUtils/Formaline/src/util/VERSION - $(RM) -f $(@:%.c=%-????.c) + cd $(TARBALL_DIR) && $(RM) -f $(@:$(TARBALL_DIR)/%.c=%-????.c) $(FORMALINE_BIN_DIR)/makeblob.pl $(@:%.c=%) $(patsubst %/,%,$(dir $(filter %/$(@:$(TARBALL_DIR)/cactus-thorn-source-%.c=%),$(THORNS)))) $(@:$(TARBALL_DIR)/cactus-thorn-source-%.c=%) < $< $(TARBALL_DIR)/cactus-thorn-source-%.tar.gz: $(TARBALL_DIR)/cactus-thorn-source-%.files @@ -246,7 +246,7 @@ else # The list is long. Create the file via a set of rules, one rule per # object file. -FRM-OBJS-added = $(FRM-OBJS:%=%.added) +FRM-OBJS-added = $(FRM-OBJS:%=%.added) $(FRM-OBJS-other:%=%.added) .PHONY: $(FRM-LIB).objectlist.custom $(FRM-LIB).objectlist.custom: $(FRM-OBJS-added) -- cgit v1.2.3