]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/compaq/CompaqVisualFortranLibrarian.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Source / Cpptasks / net / sf / antcontrib / cpptasks / compaq / CompaqVisualFortranLibrarian.java
diff --git a/Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/compaq/CompaqVisualFortranLibrarian.java b/Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/compaq/CompaqVisualFortranLibrarian.java
deleted file mode 100644 (file)
index eb4a407..0000000
+++ /dev/null
@@ -1,82 +0,0 @@
-/*\r
- * \r
- * Copyright 2002-2004 The Ant-Contrib project\r
- *\r
- *  Licensed under the Apache License, Version 2.0 (the "License");\r
- *  you may not use this file except in compliance with the License.\r
- *  You may obtain a copy of the License at\r
- *\r
- *      http://www.apache.org/licenses/LICENSE-2.0\r
- *\r
- *  Unless required by applicable law or agreed to in writing, software\r
- *  distributed under the License is distributed on an "AS IS" BASIS,\r
- *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
- *  See the License for the specific language governing permissions and\r
- *  limitations under the License.\r
- */\r
-package net.sf.antcontrib.cpptasks.compaq;\r
-import java.io.File;\r
-import java.util.Vector;\r
-\r
-import net.sf.antcontrib.cpptasks.compiler.CommandLineLinker;\r
-import net.sf.antcontrib.cpptasks.compiler.LinkType;\r
-import net.sf.antcontrib.cpptasks.compiler.Linker;\r
-import net.sf.antcontrib.cpptasks.devstudio.DevStudioLibrarian;\r
-import net.sf.antcontrib.cpptasks.devstudio.DevStudioProcessor;\r
-import net.sf.antcontrib.cpptasks.types.LibraryTypeEnum;\r
-\r
-/**\r
- * Adapter for the Compaq(r) Visual Fortran Librarian\r
- * \r
- * @author Curt Arnold\r
- */\r
-public class CompaqVisualFortranLibrarian extends CommandLineLinker {\r
-    private static final CompaqVisualFortranLibrarian instance = new CompaqVisualFortranLibrarian();\r
-    public static CompaqVisualFortranLibrarian getInstance() {\r
-        return instance;\r
-    }\r
-    private CompaqVisualFortranLibrarian() {\r
-        super("lib", "/bogus", new String[]{".obj"}, new String[0], ".lib",\r
-                false, null);\r
-    }\r
-    protected void addBase(long base, Vector args) {\r
-    }\r
-    protected void addFixed(Boolean fixed, Vector args) {\r
-    }\r
-    protected void addImpliedArgs(boolean debug, LinkType linkType, Vector args, Boolean defaultflag) {\r
-        args.addElement("/nologo");\r
-    }\r
-    protected void addIncremental(boolean incremental, Vector args) {\r
-    }\r
-    protected void addMap(boolean map, Vector args) {\r
-    }\r
-    protected void addStack(int stack, Vector args) {\r
-    }\r
-    /* (non-Javadoc)\r
-     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addEntry(int, java.util.Vector)\r
-     */\r
-    protected void addEntry(String entry, Vector args) {\r
-    }\r
-    \r
-    protected String getCommandFileSwitch(String commandFile) {\r
-        return DevStudioProcessor.getCommandFileSwitch(commandFile);\r
-    }\r
-    public File[] getLibraryPath() {\r
-        return new File[0];\r
-    }\r
-    public String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType) {\r
-        return new String[0];\r
-    }\r
-    public Linker getLinker(LinkType type) {\r
-        return CompaqVisualFortranLinker.getInstance().getLinker(type);\r
-    }\r
-    protected int getMaximumCommandLength() {\r
-        return DevStudioLibrarian.getInstance().getMaximumCommandLength();\r
-    }\r
-    protected String[] getOutputFileSwitch(String outputFile) {\r
-        return DevStudioLibrarian.getInstance().getOutputFileSwitch(outputFile);\r
-    }\r
-    public boolean isCaseSensitive() {\r
-        return false;\r
-    }\r
-}\r