jdk/src/solaris - time to re-visit it?
Fredrik Öhrström
fredrik.ohrstrom at oracle.com
Mon Nov 28 16:20:34 UTC 2011
2011-11-28 16:46, Ulf Zibis skrev:
> I guess you meant:
> --shared
> --posix
> |--SYSV
> | |--solaris
> | |--aix
> |
> |--gnu
> | |--linux
> | |
> |--BSD
> |--darwin
> |--freebsd
>
> --winapi
> |--win32
> |--wince
>
> against current ...
> --share
> --linux
> --solaris
> --windows
>
The directory structure ought to be more flat than
the possible combinations that form a product.
For example if:
HOST_API = posix winapi
HOST_OS = solaris aix gnu linux darwin freebsd windows wince
HOST_OS_PEDIGREE = SYSV GNU BSD
then the directories are stored flat under src:
--src
|--share
|--posix
|--winapi
|--SYSV
|--GNU
|--BSD
|--solaris
|--aix
|--gnu
|--linux
|--darwin
|--freebsd
|--windows
|--wince
Then, when compiling, the union of the directories and files below
the selected src subdirectories, form the source of the product.
For example:
share,posix,BSD,darwin
share,posix,GNU,linux
share,posix,GNU,gnu
share,winapi,windows
This gives less confusion about which subdirs to src/posix
are configuration directories, and which are posix directories with code.
//Fredrik
More information about the build-dev
mailing list