public abstract class AbstractLinker extends AbstractProcessor implements Linker
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID| Constructor and Description |
|---|
AbstractLinker(String[] objExtensions,
String[] ignoredExtensions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addVersionFiles(VersionInfo versionInfo,
LinkType linkType,
File outputFile,
boolean isDebug,
File objDir,
TargetMatcher matcher)
Adds source or object files to the bidded fileset to
support version information.
|
int |
bid(String inputFile)
Returns the bid of the processor for the file.
|
Processor |
changeEnvironment(boolean newEnvironment,
org.apache.tools.ant.types.Environment env) |
protected abstract LinkerConfiguration |
createConfiguration(CCTask task,
LinkType linkType,
ProcessorDef[] baseConfigs,
LinkerDef specificConfig,
TargetDef targetPlatform,
VersionInfo versionInfo) |
ProcessorConfiguration |
createConfiguration(CCTask task,
LinkType linkType,
ProcessorDef[] baseConfigs,
ProcessorDef specificConfig,
TargetDef targetPlatform,
VersionInfo versionInfo)
Returns the compiler configuration for
|
String |
getLibraryKey(File libfile)
Extracts the significant part of a library name to ensure there aren't
collisions
|
abstract String[] |
getOutputFileNames(String fileName,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file
|
clone, getHeaderExtensions, getIdentifier, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toStringequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLibraryPath, getLibraryPatterns, getLinker, isCaseSensitivegetIdentifierpublic void addVersionFiles(VersionInfo versionInfo, LinkType linkType, File outputFile, boolean isDebug, File objDir, TargetMatcher matcher) throws IOException
addVersionFiles in interface LinkerversionInfo - version informationlinkType - link typeisDebug - true if debug buildoutputFile - name of generated executableobjDir - directory for generated filesmatcher - bidded filesetIOExceptionpublic int bid(String inputFile)
bid in interface Processorbid in class AbstractProcessorinputFile - filename of input filepublic Processor changeEnvironment(boolean newEnvironment, org.apache.tools.ant.types.Environment env)
changeEnvironment in interface ProcessorchangeEnvironment in class AbstractProcessorprotected abstract LinkerConfiguration createConfiguration(CCTask task, LinkType linkType, ProcessorDef[] baseConfigs, LinkerDef specificConfig, TargetDef targetPlatform, VersionInfo versionInfo)
public ProcessorConfiguration createConfiguration(CCTask task, LinkType linkType, ProcessorDef[] baseConfigs, ProcessorDef specificConfig, TargetDef targetPlatform, VersionInfo versionInfo)
ProcessorcreateConfiguration in interface ProcessorbaseConfigs - When specificConfig corresponds to a specificConfig - A public String getLibraryKey(File libfile)
LinkergetLibraryKey in interface Linkerpublic abstract String[] getOutputFileNames(String fileName, VersionInfo versionInfo)
ProcessorgetOutputFileNames in interface ProcessorfileName - input fileCopyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.