To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=62118 Issue #:|62118 Summary:|dmake complains about circular dependencies when |using infered .INCLUDE targets Component:|tools Version:|current Platform:|All URL:| OS/Version:|All Status:|NEW Status whiteboard:| Keywords:| Resolution:| Issue type:|DEFECT Priority:|P3 Subcomponent:|code Assigned to:|vq Reported by:|vq
------- Additional comments from [EMAIL PROTECTED] Wed Feb 15 16:46:11 -0800 2006 ------- This is asically issue 44902 but working on issue 61969 showed some interesting new aspects of the issue. The folowing makefile - - - inc_circ.mk - - - SHELL*:=/bin/sh SHELLFLAGS*:=-ce TARGET=mytarget %.dpcc : %.cpp @echo making: $@ # @+echo $@ : > $@ @+echo AA=123 > $@ .INCLUDE : $(TARGET).dpcc ALL : $(TARGET).dpcc - - - inc_circ.mk - - - shows the following output: $ rm -f mytarget.dpcc ; dmake/dmake.exe -r -f inc_circ.mk making: mytarget.dpcc dmake: inc_circ.mk: line 13: Error: -- Detected circular dependency in graph at [mytarget.dpcc] But if one moves the comment from line 8 to 9 the error vanishes. Or adding an empty target rule mytarget : after the .INCLUDE also helps. It's not a circular dependency, the problem is that F_VISITED and F_USED both have the same value but are used in different contexts. Making the include sets F_VISITED and thus creates the apparent circular dependency in the F_USED check. Having the included file as a target in an additional rule resets the F_USED setting. A lot of the *.dp* rules are "self healing" as they include something like: @+echo $@ : <something> >> $@ --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]