From fc2f84bcf93a39d99e362d4b3a1b14701a7715e1 Mon Sep 17 00:00:00 2001 From: tradke Date: Mon, 17 May 2004 10:21:18 +0000 Subject: Use $(BINDINGS_DIR) to point to a bindings configuration make.configuration.defn file for a thorn. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3736 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/make.thornlib | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'lib') diff --git a/lib/make/make.thornlib b/lib/make/make.thornlib index 45fa91ac..84223bda 100644 --- a/lib/make/make.thornlib +++ b/lib/make/make.thornlib @@ -18,22 +18,23 @@ DIVIDER = $(DIVEL)$(DIVEL)$(DIVEL)$(DIVEL) # Include the main make definitions for this configuration include $(CONFIG)/make.config.defn -# Include the configuration make.code.def for the thorn if it is not cactus or cactusbindings +BINDINGS_DIR=$(TOP)/bindings + +# Include the configuration make.code.defn for the thorn +# if it is not Cactus or CactusBindings INC_DIRS = ifneq ($(THORN), CactusBindings) ifneq ($(THORN), Cactus) --include $(TOP)/bindings/Configuration/$(THORN)/make.configuration.defn +-include $(BINDINGS_DIR)/Configuration/$(THORN)/make.configuration.defn endif endif # Add appropriate include lines -INC_DIRS += $(SYS_INC_DIRS) $(SRCDIR) $(SRCDIR)/include $(CONFIG) $(TOP)/bindings/include $(CCTK_HOME)/src/include $(CCTK_HOME)/arrangements +INC_DIRS += $(SYS_INC_DIRS) $(SRCDIR) $(SRCDIR)/include $(CONFIG) $(BINDINGS_DIR)/include $(CCTK_HOME)/src/include $(CCTK_HOME)/arrangements # Allow subdirectories to inherit these include directories export INC_DIRS -BINDINGS_DIR=$(TOP)/bindings - EXTRA_DEFINES += THORN_IS_$(THORN) # Define some make variables -- cgit v1.2.3