summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authortradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-12-21 14:20:26 +0000
committertradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac>2004-12-21 14:20:26 +0000
commit556035ea3846978f9b8686cc7e6eee5f5dbf6714 (patch)
tree69c4417f934d722821401fdcfa05a9e476a2235c /lib
parenta9f75615e2366654077b22f799a092f28d2cf2d3 (diff)
When building utility programs, include makefile definitions generated
from a thorn's configuration.ccl. git-svn-id: http://svn.cactuscode.org/flesh/trunk@3942 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r--lib/make/make.configuration8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/make/make.configuration b/lib/make/make.configuration
index 836a2129..b115d6a4 100644
--- a/lib/make/make.configuration
+++ b/lib/make/make.configuration
@@ -92,6 +92,14 @@ ifeq ($(strip $(MAKECMDGOALS)), build)
-include $(CONFIG)/make.thornlist
endif
+# When building utility programs, include makefile definitions
+# generated from a thorn's configuration.ccl
+ifeq ($(strip $(UTILS)),)
+ifneq ($(strip $(THORN_LINKLIST)),)
+-include $(THORN_LINKLIST:%=$(BINDINGS_DIR)/Configuration/%/make.configuration.defn)
+endif
+endif
+
# Allow each thorn to include some global definitions
ifneq ($(strip $(THORNS)),)
-include $(THORNS:%=$(PACKAGE_DIR)/%/src/make.configuration.defn)