]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/intel/IntelWin32Aslcompiler.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Source / Cpptasks / net / sf / antcontrib / cpptasks / intel / IntelWin32Aslcompiler.java
diff --git a/Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/intel/IntelWin32Aslcompiler.java b/Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/intel/IntelWin32Aslcompiler.java
deleted file mode 100644 (file)
index 5255cb9..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-/*\r
- * \r
- * Copyright 2001-2005 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
-\r
-import java.util.Vector;\r
-\r
-import net.sf.antcontrib.cpptasks.compiler.CommandLineAslcompiler;\r
-import net.sf.antcontrib.cpptasks.compiler.LinkType;\r
-import net.sf.antcontrib.cpptasks.compiler.Linker;\r
-import net.sf.antcontrib.cpptasks.devstudio.DevStudioLinker;\r
-/**\r
- * Adapter for Intel ASL compiler\r
- *\r
- */\r
-public final class IntelWin32Aslcompiler extends CommandLineAslcompiler{\r
-   private final static String[] sourceExtensions = new String[]{".asl"};\r
-   private final static String[] headerExtensions = new String[]{};\r
-   private final static String[] defaultflags = new String[]{};\r
-   private static final IntelWin32Aslcompiler instance = new IntelWin32Aslcompiler("iasl", \r
-       sourceExtensions, headerExtensions, false);\r
-   \r
-   /**\r
-    * Gets gcc adapter\r
-    */\r
-   public static IntelWin32Aslcompiler getInstance() {\r
-       return instance;\r
-   }\r
-   \r
-   /**\r
-    * Private constructor. Use GccAssembler.getInstance() to get singleton\r
-    * instance of this class. \r
-    */\r
-   private IntelWin32Aslcompiler(String command, String[] sourceExtensions,\r
-       String[] headerExtensions, boolean isLibtool){\r
-       super(command, null, sourceExtensions, headerExtensions, \r
-               ".aml");\r
-   }\r
-   public void addImpliedArgs(Vector args, boolean debug,\r
-       Boolean defaultflag){\r
-       if (defaultflag != null && defaultflag.booleanValue()) {\r
-           for (int i = 0; i < defaultflags.length; i++) {\r
-               args.addElement(defaultflags[i]);\r
-           }\r
-       }\r
-   }\r
-   public int getMaximumCommandLength() {\r
-       return Integer.MAX_VALUE;\r
-   }\r
-   public Linker getLinker(LinkType linkType) {\r
-     return DevStudioLinker.getInstance().getLinker(linkType);\r
-   }\r
-}
\ No newline at end of file