]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/os390/OS390Processor.java
Restructuring for better separation of Tool packages.
[mirror_edk2.git] / Tools / Source / Cpptasks / net / sf / antcontrib / cpptasks / os390 / OS390Processor.java
diff --git a/Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/os390/OS390Processor.java b/Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/os390/OS390Processor.java
deleted file mode 100644 (file)
index 2c209dd..0000000
+++ /dev/null
@@ -1,71 +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.os390;\r
-import java.util.Vector;\r
-/**\r
- * A add-in class for IBM (r) OS/390 compilers and linkers\r
- * \r
- * @author Hiram Chirino (cojonudo14@hotmail.com)\r
- */\r
-public class OS390Processor {\r
-    public static void addWarningSwitch(Vector args, int level) {\r
-        switch (level) {\r
-        /*\r
-         * case 0: args.addElement("/W0"); break;\r
-         * \r
-         * case 1: args.addElement("/W1"); break;\r
-         * \r
-         * case 2: break;\r
-         * \r
-         * case 3: args.addElement("/W3"); break;\r
-         * \r
-         * case 4: args.addElement("/W4"); break;\r
-         */\r
-        }\r
-    }\r
-    public static String getCommandFileSwitch(String cmdFile) {\r
-        StringBuffer buf = new StringBuffer("@");\r
-        if (cmdFile.indexOf(' ') >= 0) {\r
-            buf.append('\"');\r
-            buf.append(cmdFile);\r
-            buf.append('\"');\r
-        } else {\r
-            buf.append(cmdFile);\r
-        }\r
-        return buf.toString();\r
-    }\r
-    public static String getIncludeDirSwitch(String includeDir) {\r
-        return "-I" + includeDir;\r
-    }\r
-    public static String[] getOutputFileSwitch(String outPath) {\r
-        StringBuffer buf = new StringBuffer("-o ");\r
-        if (outPath.indexOf(' ') >= 0) {\r
-            buf.append('\"');\r
-            buf.append(outPath);\r
-            buf.append('\"');\r
-        } else {\r
-            buf.append(outPath);\r
-        }\r
-        String[] retval = new String[]{buf.toString()};\r
-        return retval;\r
-    }\r
-    public static boolean isCaseSensitive() {\r
-        return true;\r
-    }\r
-    private OS390Processor() {\r
-    }\r
-}\r