]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/arm/ADSLibrarian.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Java / Source / Cpptasks / net / sf / antcontrib / cpptasks / arm / ADSLibrarian.java
diff --git a/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/arm/ADSLibrarian.java b/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/arm/ADSLibrarian.java
new file mode 100644 (file)
index 0000000..0ff53d3
--- /dev/null
@@ -0,0 +1,160 @@
+/*\r
+ * \r
+ * Copyright 2003-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.arm;\r
+\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.types.LibraryTypeEnum;\r
+\r
+/**\r
+ * Adapter for ARM Librarian\r
+ *\r
+ * @author Curt Arnold\r
+ */\r
+public class ADSLibrarian extends CommandLineLinker {\r
+\r
+    private static final ADSLibrarian instance = new ADSLibrarian();\r
+\r
+    public static ADSLibrarian getInstance() {\r
+      return instance;\r
+    }\r
+\r
+    private ADSLibrarian()\r
+    {\r
+        super("armar",null,\r
+          new String[] { ".o" }, new String[0], ".lib", false, null);\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addBase(long, java.util.Vector)\r
+     */\r
+    protected void addBase(long base, Vector args) {\r
+        // TODO Auto-generated method stub\r
+\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addFixed(java.lang.Boolean, java.util.Vector)\r
+     */\r
+    protected void addFixed(Boolean fixed, Vector args) {\r
+        // TODO Auto-generated method stub\r
+\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addImpliedArgs(boolean, net.sf.antcontrib.cpptasks.compiler.LinkType, java.util.Vector)\r
+     */\r
+    protected void addImpliedArgs(\r
+        boolean debug,\r
+        LinkType linkType,\r
+        Vector args,\r
+        Boolean defaultflag) {\r
+        // TODO Auto-generated method stub\r
+\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addIncremental(boolean, java.util.Vector)\r
+     */\r
+    protected void addIncremental(boolean incremental, Vector args) {\r
+        // TODO Auto-generated method stub\r
+\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addMap(boolean, java.util.Vector)\r
+     */\r
+    protected void addMap(boolean map, Vector args) {\r
+        // TODO Auto-generated method stub\r
+\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addStack(int, java.util.Vector)\r
+     */\r
+    protected void addStack(int stack, Vector args) {\r
+        // TODO Auto-generated method stub\r
+\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
+        // TODO Auto-generated method stub\r
+\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#getCommandFileSwitch(java.lang.String)\r
+     */\r
+    protected String getCommandFileSwitch(String commandFile) {\r
+        // TODO Auto-generated method stub\r
+        return null;\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.Linker#getLibraryPath()\r
+     */\r
+    public File[] getLibraryPath() {\r
+        // TODO Auto-generated method stub\r
+        return null;\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.Linker#getLibraryPatterns(java.lang.String[])\r
+     */\r
+    public String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType) {\r
+        return new String[0];\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.Processor#getLinker(net.sf.antcontrib.cpptasks.compiler.LinkType)\r
+     */\r
+    public Linker getLinker(LinkType linkType) {\r
+        // TODO Auto-generated method stub\r
+        return null;\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#getMaximumCommandLength()\r
+     */\r
+    protected int getMaximumCommandLength() {\r
+        // TODO Auto-generated method stub\r
+        return 0;\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#getOutputFileSwitch(java.lang.String)\r
+     */\r
+    protected String[] getOutputFileSwitch(String outputFile) {\r
+        // TODO Auto-generated method stub\r
+        return null;\r
+    }\r
+\r
+    /* (non-Javadoc)\r
+     * @see net.sf.antcontrib.cpptasks.compiler.Linker#isCaseSensitive()\r
+     */\r
+    public boolean isCaseSensitive() {\r
+        // TODO Auto-generated method stub\r
+        return false;\r
+    }\r
+\r
+}\r