net.sf.antcontrib.cpptasks.compiler

Class CommandLineFortranCompiler

Implemented Interfaces:
Cloneable, Compiler, Processor
Known Direct Subclasses:
CompaqVisualFortranCompiler

public abstract class CommandLineFortranCompiler
extends CommandLineCompiler

An abstract Compiler implementation which uses an external program to perform the compile.
Author:
Curt Arnold

Field Summary

Fields inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor

DEFAULT_DISCARD_BID, DEFAULT_PROCESS_BID

Constructor Summary

CommandLineFortranCompiler(String command, String identifierArg, String[] sourceExtensions, String[] headerExtensions, String outputSuffix, boolean libtool, CommandLineFortranCompiler libtoolCompiler, boolean newEnvironment, Environment env)

Method Summary

protected Parser
createParser(File source)

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.CommandLineCompiler

addImpliedArgs, addIncludes, addWarningSwitch, buildDefineArguments, compile, createConfiguration, getArgumentCountPerInputFile, getCommand, getDefineSwitch, getEnvironmentIncludePath, getIdentifier, getIncludeDirSwitch, getInputFileArgument, getLibtool, getLibtoolCompiler, getMaximumCommandLength, getMaximumInputFilesPerCommand, getTotalArgumentLengthForInputFile, getUndefineSwitch, runCommand, setCommand

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractCompiler

canParse, createConfiguration, createConfiguration, createParser, getBaseOutputName, getOutputFileNames, parseIncludes, resolveInclude

Methods inherited from class net.sf.antcontrib.cpptasks.compiler.AbstractProcessor

bid, changeEnvironment, clone, getHeaderExtensions, getIdentifier, getIdentifier, getOSArch, getOSName, getSourceExtensions, isDarwin, toString

Constructor Details

CommandLineFortranCompiler

protected CommandLineFortranCompiler(String command,
                                     String identifierArg,
                                     String[] sourceExtensions,
                                     String[] headerExtensions,
                                     String outputSuffix,
                                     boolean libtool,
                                     CommandLineFortranCompiler libtoolCompiler,
                                     boolean newEnvironment,
                                     Environment env)

Method Details

createParser

protected Parser createParser(File source)
Overrides:
createParser in interface AbstractCompiler

Copyright B) 2001-2006 Ant-Contrib project. All Rights Reserved.