A couple of questions about the new build system

David Holmes david.holmes at oracle.com
Fri Mar 29 12:26:01 UTC 2013


On 29/03/2013 7:29 AM, Phil Race wrote:
> 1. Why do we have both --with-cups and --with-cups-include ?
> All we use is the header files so the latter is what matters and
> I'm not sure which one the build system prefers if both are set.
>
> 2. In the old build I could do
>     cd make/sun/font
>     make clean
>     make all
>
> Is there anything analagous to 'make clean' here,where I can have a
> level of comfort
> that all generated files related to building just a particular area are
> removed.

The new build doesn't work on "particular areas" to that granularity.

For each of the main targets in the new build there is a corresponding 
"clean" target eg:

jdk clean-jdk
langtools clean-langtools
hotspot clean-hotspot
images clean-images

David
-----

> This was useful after I touched a header file.
> Now when I touch a header file, the new build system doesn't notice,
> so I have to manually purge, but  nor does it (as far as I can see) give me
> a target to purge that component. To do this I need to go hunt down
> the directory with the object files and remove them.
> Is there something better I can do ?
>
> -phil.
>



More information about the build-dev mailing list