From 0db7f2f986bb199271e125a96cd7c68954c961de Mon Sep 17 00:00:00 2001 From: Bradley Nicholes Date: Wed, 21 Sep 2005 21:32:14 +0000 Subject: [PATCH] Fix a make problem that occurred due to the removal of the other submakefiles. Referencing example.nlm twice is just a hack to fix the problem for now. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@290836 13f79535-47bb-0310-9956-ffa450edef68 --- modules/experimental/NWGNUmakefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/experimental/NWGNUmakefile b/modules/experimental/NWGNUmakefile index 78e453e990..16af52c8f5 100644 --- a/modules/experimental/NWGNUmakefile +++ b/modules/experimental/NWGNUmakefile @@ -151,7 +151,16 @@ XDCDATA = # # If there is an NLM target, put it here # +# We are referencing example.nlm twice to get around a known issue with the +# makefiles. Normally if there is only one element to be built within a +# directory, the makefile for the single element would be called NWGNUmakefile. +# But if there are multiples, the parent NWGNUmakefile must reference more +# than one submakefile. Because the experimental directory might vary in the +# number of submakefiles, but for the moment only contains one, we reference +# it twice to allow it parent NWGNUmakefile to work properly. If another +# submakefile is added, the extra reference to example.nlm should be removed. TARGET_nlm = \ + $(OBJDIR)/example.nlm \ $(OBJDIR)/example.nlm \ $(EOLIST) -- 2.40.0