Re: [fedora-java] Enhanced aot-compile script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux