Class OpenWatcomFortranCompiler
- java.lang.Object
-
- net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
-
- net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
-
- net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
-
- net.sf.antcontrib.cpptasks.openwatcom.OpenWatcomCompiler
-
- net.sf.antcontrib.cpptasks.openwatcom.OpenWatcomFortranCompiler
-
public final class OpenWatcomFortranCompiler extends OpenWatcomCompiler
Adapter for the OpenWatcom Fortran compiler.
-
-
Field Summary
Fields Modifier and Type Field Description private static OpenWatcomFortranCompiler[]
INSTANCE
Singleton.-
Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID
-
-
Constructor Summary
Constructors Modifier Constructor Description private
OpenWatcomFortranCompiler(java.lang.String command, boolean newEnvironment, org.apache.tools.ant.types.Environment env)
Constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Parser
createParser(java.io.File source)
Create dependency parser.static OpenWatcomFortranCompiler
getInstance()
Get instance.Linker
getLinker(LinkType type)
Get linker.-
Methods inherited from class net.sf.antcontrib.cpptasks.openwatcom.OpenWatcomCompiler
addImpliedArgs, addWarningSwitch, changeEnvironment, getDefineSwitch, getEnvironmentIncludePath, getIncludeDirSwitch, getMaximumCommandLength, getUndefineSwitch
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler
addIncludes, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getIdentifier, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, runCommand, setCommand
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler
canParse, createConfiguration, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude
-
Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor
bid, clone, getHeaderExtensions, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString
-
-
-
-
Field Detail
-
INSTANCE
private static final OpenWatcomFortranCompiler[] INSTANCE
Singleton.
-
-
Method Detail
-
getInstance
public static OpenWatcomFortranCompiler getInstance()
Get instance.- Returns:
- OpenWatcomFortranCompiler compiler instance
-
createParser
public Parser createParser(java.io.File source)
Create dependency parser.- Specified by:
createParser
in classAbstractCompiler
- Parameters:
source
- File source file- Returns:
- Parser parser
-
-