]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/intel/IntelWin32Linker.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Source / Cpptasks / net / sf / antcontrib / cpptasks / intel / IntelWin32Linker.java
diff --git a/Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/intel/IntelWin32Linker.java b/Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/intel/IntelWin32Linker.java
deleted file mode 100644 (file)
index 51258e2..0000000
+++ /dev/null
@@ -1,46 +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.intel;\r
-import net.sf.antcontrib.cpptasks.compiler.LinkType;\r
-import net.sf.antcontrib.cpptasks.compiler.Linker;\r
-import net.sf.antcontrib.cpptasks.devstudio.DevStudioCompatibleLinker;\r
-/**\r
- * Adapter for the Intel (r) linker for 32-bit applications\r
- * \r
- * @author Curt Arnold\r
- */\r
-public final class IntelWin32Linker extends DevStudioCompatibleLinker {\r
-    private static final IntelWin32Linker dllLinker = new IntelWin32Linker(\r
-            ".dll");\r
-    private static final IntelWin32Linker instance = new IntelWin32Linker(\r
-            ".exe");\r
-    public static IntelWin32Linker getInstance() {\r
-        return instance;\r
-    }\r
-    private IntelWin32Linker(String outputSuffix) {\r
-        super("xilink", "/bogus", outputSuffix);\r
-    }\r
-    public Linker getLinker(LinkType type) {\r
-        if (type.isStaticLibrary()) {\r
-            return IntelWin32Librarian.getInstance();\r
-        }\r
-        if (type.isSharedLibrary()) {\r
-            return dllLinker;\r
-        }\r
-        return instance;\r
-    }\r
-}\r