small fix for makefile for building on linux

Dalibor Topic robilad at kaffe.org
Mon May 28 18:58:15 PDT 2007


hi,

the attached fix is a small fixlet that lets me use the makefile again 
for building javac.

the patch does three things:

* setting SRC_CLASSES to the relative path of the source directories, and

* setting ECHO to printf, as that's more useful for posixy systems (and 
avoids having the build fail due to a spurious -e in the javac.srcfiles 
file when using bash 3.2.17), and

* using BUILD_CLASSES as the location of properties on the classpath, 
rather than SRC_CLASSES, to avoid wasting time rebuilding the transitive 
closure of the class library used by javac (and adapting the makefile to 
deal with things like native or generated classes in that).

cheers,
dalibor topic
-------------- next part --------------
A non-text attachment was scrubbed...
Name: javac-makefile-revival.patch
Type: text/x-patch
Size: 1285 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20070529/5c9f2cff/javac-makefile-revival.patch 


More information about the compiler-dev mailing list