-
Enhancement
-
Resolution: Fixed
-
P4
-
5.0
-
b42
-
generic
-
generic
The j2se/java/java/Makefile contains some rules that
are triggered on every `make', even if no source files
have changed.
Consider this excerpt from the Makefile
$(GENSRCDIR)/java/lang:
$(MKDIR) -p $@
$(GENSRCDIR)/java/lang/UNIXProcess.java: $(GENSRCDIR)/java/lang
@# try to remove it just in case there is a clock-skew
@# problem that would force a second copy...
-$(RM) $@
$(CP) $(PLATFORM_SRC)/classes/java/lang/$(@F).$(PLATFORM) $@
The problem with this is that the rule that updates the target
also updates the timestamp on the dependency, causing the target
to be rebuilt every time.
The null build of a j2se workspace takes far too long. There are
likely many such cases in the source code.
###@###.### 2003-08-22
are triggered on every `make', even if no source files
have changed.
Consider this excerpt from the Makefile
$(GENSRCDIR)/java/lang:
$(MKDIR) -p $@
$(GENSRCDIR)/java/lang/UNIXProcess.java: $(GENSRCDIR)/java/lang
@# try to remove it just in case there is a clock-skew
@# problem that would force a second copy...
-$(RM) $@
$(CP) $(PLATFORM_SRC)/classes/java/lang/$(@F).$(PLATFORM) $@
The problem with this is that the rule that updates the target
also updates the timestamp on the dependency, causing the target
to be rebuilt every time.
The null build of a j2se workspace takes far too long. There are
likely many such cases in the source code.
###@###.### 2003-08-22