fix for new rt.jar stuff

Jim Pick kaffe@rufus.w3.org
Wed, 3 Apr 2002 08:10:55 -0800


Thanks!  I should have tested building outside of the source dirs.

Cheers,

 - Jim

(who's not the biggest automake fan either)

----- Original Message ----- 
From: "Patrick Tullmann" <tullmann@cs.utah.edu>
To: "Kaffe" <kaffe@rufus.w3.org>
Sent: Tuesday, April 02, 2002 11:33 PM
Subject: fix for new rt.jar stuff


> 
> Kaffe fails to build for me (and it failed to build in all the nightly
> tests last night).  It seems that the new rt.jar layout assumed Kaffe
> was being built in its source tree.
> 
> The attached patch fixes the problem for me, but I so distrust
> automake et. al. that I won't claim this is correct, or be the one to
> commit this patch without an okay from someone ....
> 
> -Pat
> 
> ----- ----- ---- ---  ---  --   -    -      -         -               -
> Pat Tullmann                                       tullmann@cs.utah.edu
>    ${HOME} is where the .emacs is.
> 
> RCS file: /cvs/kaffe/kaffe/libraries/javalib/Makefile.am,v
> retrieving revision 1.58
> diff -u -b -c -r1.58 Makefile.am
> *** Makefile.am 2 Apr 2002 04:52:06 -0000 1.58
> --- Makefile.am 3 Apr 2002 07:20:45 -0000
> ***************
> *** 933,938 ****
>   rm -f $(srcdir)/$(CLASSFILE)
>   cp $(LIBDIR)/$(CLASSFILE) $(srcdir)/$(CLASSFILE)
>   
> ! rt.jar: Klasses.jar
> ! cp Klasses.jar rt.jar
>   
> --- 933,938 ----
>   rm -f $(srcdir)/$(CLASSFILE)
>   cp $(LIBDIR)/$(CLASSFILE) $(srcdir)/$(CLASSFILE)
>   
> ! rt.jar: $(srcdir)/Klasses.jar
> ! cp $(srcdir)/Klasses.jar rt.jar
>   
>