public abstract class AbstractArLibrarian extends CommandLineLinker
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
Modifier | Constructor and Description |
---|---|
protected |
AbstractArLibrarian(String command,
String identificationArg,
String[] inputExtensions,
String[] ignoredExtensions,
String outputPrefix,
String outputExtension,
boolean isLibtool,
AbstractArLibrarian libtoolLibrarian) |
Modifier and Type | Method and Description |
---|---|
String |
getCommandFileSwitch(String commandFile) |
File[] |
getLibraryPath()
returns the library path for the linker
|
String[] |
getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType)
Returns a set of filename patterns corresponding to library names.
|
int |
getMaximumCommandLength() |
String[] |
getOutputFileNames(String baseName,
VersionInfo versionInfo)
Output file name (no path components) corresponding to source file
|
String[] |
getOutputFileSwitch(String outputFile) |
boolean |
isCaseSensitive()
Returns true if the linker is case-sensitive
|
void |
link(CCTask task,
File outputFile,
String[] sourceFiles,
CommandLineLinkerConfiguration config)
Performs a link using a command line linker
|
addBase, addEntry, addFixed, addImpliedArgs, addIncremental, addLibraryDirectory, addLibraryPath, addLibrarySets, addMap, addStack, createConfiguration, decorateLinkerOption, getCommand, getCommandWithPath, getIdentifier, getLibtoolLinker, getOutputFileSwitch, getStartupObject, prepareArguments, prepareFilename, prepareResponseFile, quoteFilename, runCommand, setCommand
addVersionFiles, bid, changeEnvironment, createConfiguration, getLibraryKey
clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, isWindows, toString
public String getCommandFileSwitch(String commandFile)
getCommandFileSwitch
in class CommandLineLinker
public File[] getLibraryPath()
Linker
public String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
Linker
libnames
- array of library namespublic int getMaximumCommandLength()
getMaximumCommandLength
in class CommandLineLinker
public String[] getOutputFileNames(String baseName, VersionInfo versionInfo)
Processor
getOutputFileNames
in interface Processor
getOutputFileNames
in class CommandLineLinker
baseName
- input filepublic String[] getOutputFileSwitch(String outputFile)
getOutputFileSwitch
in class CommandLineLinker
public boolean isCaseSensitive()
Linker
public void link(CCTask task, File outputFile, String[] sourceFiles, CommandLineLinkerConfiguration config) throws org.apache.tools.ant.BuildException
CommandLineLinker
link
in class CommandLineLinker
org.apache.tools.ant.BuildException
Copyright © 2005-2016 NAR Maven Plugin developers. All Rights Reserved.