From: Godmar Back (gback@cs.utah.edu)
Date: Mon Jan 18 1999 - 16:02:41 EST
>
> On Jan 18, 1999, Tim Wilkinson <tim@transvirtual.com> wrote:
>
> > One odd thing however - after I build the sources I did a 'make
> > install' and off it went building stuff again
>
> Ok, I figured it out. In the `include' directory, $(KAFFEH_HDRS)
> depend on $(KLASSES_JAR). However, they will only be rebuilt if
> $(KAFFEH_FOR_BUILD) exists. If not, they'll remain intact.
>
For those of us who are wondering:
KAFFEH_HDRS is a variable in include/Makefile.am:
KAFFEH_HDRS = \
java_lang_Throwable.h \
java_lang_Thread.h \
java_lang_ThreadGroup.h
> Then, when you run make again (both check and install depend on all),
> $(KAFFEH_FOR_BUILD) will exist, and the header files will be updated,
> causing a lot of recompilation.
KAFFEH_FOR_BUILD = $(top_builddir)/kaffe/kaffeh/kaffeh$(EXEEXT)
>
> Assuming we can't build kaffeh before KAFFEH_HDRS are built (can we?),
> we should probably just touch KAFFEH_HDRS if they appear to be
> out-of-date but no KAFFEH_HDRS exists. If we can build KAFFEH without
> KAFFEH_HDRS, though, I'll arrange that we do that.
>
You have to build kaffeh first before you use it to create the
files contained in KAFFEH_HDRS. And kaffeh does not depend (or at
least should not depend, it's a bug if it does) on them.
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:46 EDT