[fedora-java] Enhanced aot-compile script

Andrew Haley aph at redhat.com
Fri Nov 11 17:46:11 UTC 2005


Gary Benson writes:
 > Andrew Haley wrote:
 > > Use make.  If any .db files are added or altered, the .db gets
 > > rebuilt.  If they aren't, it isn't.  The makefile contains the
 > > commands that do the right thing.
 > > 
 > > make is designed to solve this kind of problem.
 > 
 > Can you write a makefile to do this?  I've never been able to figure
 > out how to do multiple directory stuff :-/

OK, I just checked with tromey, and we think we can write a makefile
that allows you to install a stanadrd jpackage and then do a "make".

For example, this rule does the building, where needed:

%.so: %.jar
      gcj -o $@ blah blah $<

%.db: %.so
      gcj-dbtool -o $@ db/$(basename $<).jar $<

... etc.

Andrew.




More information about the fedora-devel-java-list mailing list