frysk.config
Class PrefixFactory

java.lang.Object
  extended by frysk.config.PrefixFactory

public class PrefixFactory
extends Object

Standard directory prefixes, as specified by autoconf. To complicate things, this can be set to specify either the in-tree build-time prefix, or the install-tree prefix.


Constructor Summary
PrefixFactory()
           
 
Method Summary
static Prefix createBuildPrefix(String rootSrcDir, String absBuildDir)
          Create the "native" build-tree configuration; all possible paths, including 32-on-64 when applicable, are enabled.
static Prefix createBuildPrefix32(String rootSrcDir, String absBuildDir)
          Create a 32-bit specific build-tree configuration; return NULL if this is not supported by this build.
static Prefix createBuildPrefix64(String rootSrcDir, String absBuildDir)
          Create a 64-bit specific build-tree configuration; return NULL if this is not supported by this build.
static Prefix createInstallPrefix()
          Create the "native" install tree configuration; all possible paths, including 32-on-64 when applicable, are defined.
static Prefix createInstallPrefix32()
          Create a 32-bit specific install configuration; return NULL if this is not supported.
static Prefix createInstallPrefix64()
          Create a 64-bit specific install configuration; return NULL if if this is not supported.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefixFactory

public PrefixFactory()
Method Detail

createInstallPrefix

public static Prefix createInstallPrefix()
Create the "native" install tree configuration; all possible paths, including 32-on-64 when applicable, are defined.


createInstallPrefix32

public static Prefix createInstallPrefix32()
Create a 32-bit specific install configuration; return NULL if this is not supported.


createInstallPrefix64

public static Prefix createInstallPrefix64()
Create a 64-bit specific install configuration; return NULL if if this is not supported.


createBuildPrefix

public static Prefix createBuildPrefix(String rootSrcDir,
                                       String absBuildDir)
Create the "native" build-tree configuration; all possible paths, including 32-on-64 when applicable, are enabled.


createBuildPrefix32

public static Prefix createBuildPrefix32(String rootSrcDir,
                                         String absBuildDir)
Create a 32-bit specific build-tree configuration; return NULL if this is not supported by this build.


createBuildPrefix64

public static Prefix createBuildPrefix64(String rootSrcDir,
                                         String absBuildDir)
Create a 64-bit specific build-tree configuration; return NULL if this is not supported by this build.