Apache OpenOffice (AOO) Bugzilla – Issue 81628
dmake 4.11 finds lots of virtual targets with corresponding files
Last modified: 2013-08-07 15:34:52 UTC
The new dmake411 finds lots of warnings (200+ on W32) like this: dmake: Warning: -- Found file corresponding to virtual target [../wntmsci10.pro/inc/cppuhelper/com/sun/star/beans/PropertyAttribute.hpp]. It seems that the *.hpp (target $(UNOUCRHEADER) ) are generated by the $(UNOUCRTARGET) target in target.mk, but there is also a "virtual" target like this: $(UNOUCRHEADER) : $(UNOUCRTARGET) The following patch might be a way to fix this: +++ solenv/inc/target.mk 17 Sep 2007 04:02:10 -0000 @@ -1298,7 +1298,7 @@ @-$(MKDIRHIER) $(@:d) @$(TOUCH) $@ -$(UNOUCRTARGET) : $(UNOUCRDEP) $(UNOUCRTYPEFLAGS) +$(UNOUCRTARGET) $(UNOUCRHEADER) : $(UNOUCRDEP) $(UNOUCRTYPEFLAGS) .IF "$(XML2MK_FILES)"!="" @@-$(RM) $(foreach,i,$(XML2MK_FILES) $(MISC)$/$(i).mk) .ENDIF # "$(XML2MK_FILES)"!=""
Created attachment 52831 [details] avoid warnings caused by "one call for all" header generation
i just wondering if the minimal change might work as well because of the dependency of $(UNOUCRTARGET) and $(UNOUCRDEP) stated some line above in the makefile. will check that...
nope. the first suggested solution fails here because the generated files still have a timestamp of 0 here. thus cppumaker is started again several times. i also found that $(UNOUCRTYPEFLAGS) seems to be no longer usefull. cppumaker works fine without, once its base output dir exists. will kick that too...
Created attachment 52997 [details] proposed fix
committed proposed fix...
verified
.