From: Bradley Nicholes Date: Wed, 21 Sep 2005 21:32:14 +0000 (+0000) Subject: Fix a make problem that occurred due to the removal of the other submakefiles. Refer... X-Git-Tag: 2.3.0~2957 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0db7f2f986bb199271e125a96cd7c68954c961de;p=apache 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 --- 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)