Apache OpenOffice (AOO) Bugzilla – Issue 65415
dmake 4.5 complains about .NULL target
Last modified: 2006-06-16 13:23:30 UTC
Previous dmake versions just silently ignored AUGMAKE style .<suffix> meta targets if no prerequisite was given, see issue 65360, and treated them as ordinary targets. The new dmake started to complain about this and produces a lot of warnings like this when building OOo: dmake: /cygdrive/d/w1/tin_ws/solenv/inc/tg_hxx.mk: line 94: Warning: -- Ignoring AUGMAKE meta-target [.NULL] because prerequisites are present. The reason is that .NULL is used in several makefiles in solenv/inc as a dummy target to prevent that something like this: $(SOMEMACRO) .NULL : myprereq would abort with an error if $(SOMEMACRO) is empty Easy solution to get rid of the warnings: Rename all occurences of .NULL to _NULL . Complicated solution: Rewrite the makefiles and unroll them. I'll provide a patch for the first option soon.
the second solution isn't that complicated: cat <makefile> | mkunroll | _<makefile> and change the include lines in "target.mk" accordongly (see e.g. "[_]tg_shl.mk") the tool mkunroll is delivered from "tools". the makefiles requiring this treatment are "tg_hxx.mk" and "tg_sdi.mk". this also would allow to remove the ancient recursive multitarget approach still found the "unroll" templates in a second step.
Created attachment 36554 [details] patch for solenv/inc
The previous patch + unrolling should work if $(HXX11TARGETN) to $(HXX39TARGETN) are unused.
Created attachment 36601 [details] Patch for solenv/inc
Commtted previous patch to vq32.
Yeah, and that fails. :( I committed the following patch + entrolling, but someone who knows what this sdi stuff is doing ;) should carefully check that. A few questions: What is dttt ? Who needs $(HIDSID$(TNR)PARTICLE) ? I mean did I put the dependency right?
Created attachment 36622 [details] patch for solenv/inc
Created attachment 36626 [details] Patch for solenv/inc
Forget the question about $(HIDSID$(TNR)PARTICLE), I committed the previous patch and changed SDIXXXXX to SDI1XXXXX in sfx2.
Changed SDIXXXXX to SDI1XXXXX also in basctl, binfilter, sc, sch, starmath, svx and sw. WARNUNG!!!! SDINAME is also used in chart, sim2 and sip but these modules are not tagged for m169.
Tested sucessfully with W32-tcsh and W32-4nt. Be carefull with non-OOo projets. Please verify.
.