]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/LinkerEnum.java
Retiring the ANT/JAVA build and removing the older EDK II packages that required...
[mirror_edk2.git] / Tools / Java / Source / Cpptasks / net / sf / antcontrib / cpptasks / LinkerEnum.java
diff --git a/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/LinkerEnum.java b/Tools/Java/Source/Cpptasks/net/sf/antcontrib/cpptasks/LinkerEnum.java
deleted file mode 100644 (file)
index cfe8984..0000000
+++ /dev/null
@@ -1,106 +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;\r
-import net.sf.antcontrib.cpptasks.arm.ADSLinker;\r
-import net.sf.antcontrib.cpptasks.borland.BorlandLinker;\r
-import net.sf.antcontrib.cpptasks.compaq.CompaqVisualFortranLinker;\r
-import net.sf.antcontrib.cpptasks.compiler.Linker;\r
-import net.sf.antcontrib.cpptasks.devstudio.DevStudioLinker;\r
-import net.sf.antcontrib.cpptasks.gcc.GccLibrarian;\r
-import net.sf.antcontrib.cpptasks.gcc.GccLinker;\r
-import net.sf.antcontrib.cpptasks.gcc.GppLinker;\r
-import net.sf.antcontrib.cpptasks.gcc.LdLinker;\r
-import net.sf.antcontrib.cpptasks.hp.aCCLinker;\r
-import net.sf.antcontrib.cpptasks.ibm.VisualAgeLinker;\r
-import net.sf.antcontrib.cpptasks.intel.IntelLinux32Linker;\r
-import net.sf.antcontrib.cpptasks.intel.IntelLinux64Linker;\r
-import net.sf.antcontrib.cpptasks.intel.IntelWin32Linker;\r
-import net.sf.antcontrib.cpptasks.os390.OS390Linker;\r
-import net.sf.antcontrib.cpptasks.os400.IccLinker;\r
-import net.sf.antcontrib.cpptasks.sun.C89Linker;\r
-import net.sf.antcontrib.cpptasks.sun.ForteCCLinker;\r
-import net.sf.antcontrib.cpptasks.ti.ClxxLinker;\r
-import org.apache.tools.ant.types.EnumeratedAttribute;\r
-/**\r
- * Enumeration of supported linkers\r
- * \r
- * @author Curt Arnold\r
- *  \r
- */\r
-public class LinkerEnum extends EnumeratedAttribute {\r
-    private final static ProcessorEnumValue[] linkers = new ProcessorEnumValue[]{\r
-            new ProcessorEnumValue("gcc", GccLinker.getInstance()),\r
-            new ProcessorEnumValue("g++", GppLinker.getInstance()),\r
-            new ProcessorEnumValue("ld", LdLinker.getInstance()),\r
-            new ProcessorEnumValue("ar", GccLibrarian.getInstance()),\r
-            new ProcessorEnumValue("msvc", DevStudioLinker.getInstance()),\r
-            new ProcessorEnumValue("bcc", BorlandLinker.getInstance()),\r
-            new ProcessorEnumValue("df", CompaqVisualFortranLinker\r
-                    .getInstance()),\r
-            new ProcessorEnumValue("icl", IntelWin32Linker.getInstance()),\r
-            new ProcessorEnumValue("ecl", IntelWin32Linker.getInstance()),\r
-            new ProcessorEnumValue("icc", IntelLinux32Linker.getInstance()),\r
-            new ProcessorEnumValue("ecc", IntelLinux64Linker.getInstance()),\r
-            new ProcessorEnumValue("CC", ForteCCLinker.getInstance()),\r
-            new ProcessorEnumValue("aCC", aCCLinker.getInstance()),\r
-            new ProcessorEnumValue("os390", OS390Linker.getInstance()),\r
-            new ProcessorEnumValue("os390batch", OS390Linker\r
-                    .getDataSetInstance()),\r
-            new ProcessorEnumValue("os400", IccLinker.getInstance()),\r
-            new ProcessorEnumValue("sunc89", C89Linker.getInstance()),\r
-            new ProcessorEnumValue("xlC", VisualAgeLinker.getInstance()),\r
-            new ProcessorEnumValue("cl6x", ClxxLinker.getCl6xInstance()),\r
-            new ProcessorEnumValue("cl55", ClxxLinker.getCl55Instance()),\r
-            new ProcessorEnumValue("armcc", ADSLinker.getInstance()),\r
-            new ProcessorEnumValue("armcpp", ADSLinker.getInstance()),\r
-            new ProcessorEnumValue("tcc", ADSLinker.getInstance()),\r
-            new ProcessorEnumValue("tcpp", ADSLinker.getInstance()),\r
-            // gcc cross compilers\r
-            new ProcessorEnumValue(\r
-                    "sparc-sun-solaris2-gcc",\r
-                    net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2.GccLinker\r
-                            .getInstance()),\r
-            new ProcessorEnumValue(\r
-                    "sparc-sun-solaris2-g++",\r
-                    net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2.GppLinker\r
-                            .getInstance()),\r
-            new ProcessorEnumValue(\r
-                    "sparc-sun-solaris2-ld",\r
-                    net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2.LdLinker\r
-                            .getInstance()),\r
-            new ProcessorEnumValue(\r
-                    "sparc-sun-solaris2-ar",\r
-                    net.sf.antcontrib.cpptasks.gcc.cross.sparc_sun_solaris2.GccLibrarian\r
-                            .getInstance()),\r
-            new ProcessorEnumValue("gcc-cross",\r
-                    net.sf.antcontrib.cpptasks.gcc.cross.GccLinker\r
-                            .getInstance()),\r
-            new ProcessorEnumValue("g++-cross",\r
-                    net.sf.antcontrib.cpptasks.gcc.cross.GppLinker\r
-                            .getInstance()),\r
-            new ProcessorEnumValue("ld-cross",\r
-                    net.sf.antcontrib.cpptasks.gcc.cross.LdLinker.getInstance()),\r
-            new ProcessorEnumValue("ar-cross",\r
-                    net.sf.antcontrib.cpptasks.gcc.cross.GccLibrarian\r
-                            .getInstance()),};\r
-    public Linker getLinker() {\r
-        return (Linker) linkers[getIndex()].getProcessor();\r
-    }\r
-    public String[] getValues() {\r
-        return ProcessorEnumValue.getValues(linkers);\r
-    }\r
-}\r