]> git.proxmox.com Git - mirror_edk2.git/blob - 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
1 /*
2 *
3 * Copyright 2003-2004 The Ant-Contrib project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package net.sf.antcontrib.cpptasks.arm;
18
19 import java.io.File;
20 import java.util.Vector;
21
22 import net.sf.antcontrib.cpptasks.compiler.CommandLineLinker;
23 import net.sf.antcontrib.cpptasks.compiler.LinkType;
24 import net.sf.antcontrib.cpptasks.compiler.Linker;
25 import net.sf.antcontrib.cpptasks.types.LibraryTypeEnum;
26
27 /**
28 * Adapter for ARM Librarian
29 *
30 * @author Curt Arnold
31 */
32 public class ADSLibrarian extends CommandLineLinker {
33
34 private static final ADSLibrarian instance = new ADSLibrarian();
35
36 public static ADSLibrarian getInstance() {
37 return instance;
38 }
39
40 private ADSLibrarian()
41 {
42 super("armar",null,
43 new String[] { ".o" }, new String[0], ".lib", false, null);
44 }
45
46 /* (non-Javadoc)
47 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addBase(long, java.util.Vector)
48 */
49 protected void addBase(long base, Vector args) {
50 // TODO Auto-generated method stub
51
52 }
53
54 /* (non-Javadoc)
55 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addFixed(java.lang.Boolean, java.util.Vector)
56 */
57 protected void addFixed(Boolean fixed, Vector args) {
58 // TODO Auto-generated method stub
59
60 }
61
62 /* (non-Javadoc)
63 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addImpliedArgs(boolean, net.sf.antcontrib.cpptasks.compiler.LinkType, java.util.Vector)
64 */
65 protected void addImpliedArgs(
66 boolean debug,
67 LinkType linkType,
68 Vector args,
69 Boolean defaultflag) {
70 // TODO Auto-generated method stub
71
72 }
73
74 /* (non-Javadoc)
75 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addIncremental(boolean, java.util.Vector)
76 */
77 protected void addIncremental(boolean incremental, Vector args) {
78 // TODO Auto-generated method stub
79
80 }
81
82 /* (non-Javadoc)
83 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addMap(boolean, java.util.Vector)
84 */
85 protected void addMap(boolean map, Vector args) {
86 // TODO Auto-generated method stub
87
88 }
89
90 /* (non-Javadoc)
91 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addStack(int, java.util.Vector)
92 */
93 protected void addStack(int stack, Vector args) {
94 // TODO Auto-generated method stub
95
96 }
97 /* (non-Javadoc)
98 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addEntry(int, java.util.Vector)
99 */
100 protected void addEntry(String entry, Vector args) {
101 // TODO Auto-generated method stub
102
103 }
104
105 /* (non-Javadoc)
106 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#getCommandFileSwitch(java.lang.String)
107 */
108 protected String getCommandFileSwitch(String commandFile) {
109 // TODO Auto-generated method stub
110 return null;
111 }
112
113 /* (non-Javadoc)
114 * @see net.sf.antcontrib.cpptasks.compiler.Linker#getLibraryPath()
115 */
116 public File[] getLibraryPath() {
117 // TODO Auto-generated method stub
118 return null;
119 }
120
121 /* (non-Javadoc)
122 * @see net.sf.antcontrib.cpptasks.compiler.Linker#getLibraryPatterns(java.lang.String[])
123 */
124 public String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType) {
125 return new String[0];
126 }
127
128 /* (non-Javadoc)
129 * @see net.sf.antcontrib.cpptasks.compiler.Processor#getLinker(net.sf.antcontrib.cpptasks.compiler.LinkType)
130 */
131 public Linker getLinker(LinkType linkType) {
132 // TODO Auto-generated method stub
133 return null;
134 }
135
136 /* (non-Javadoc)
137 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#getMaximumCommandLength()
138 */
139 protected int getMaximumCommandLength() {
140 // TODO Auto-generated method stub
141 return 0;
142 }
143
144 /* (non-Javadoc)
145 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#getOutputFileSwitch(java.lang.String)
146 */
147 protected String[] getOutputFileSwitch(String outputFile) {
148 // TODO Auto-generated method stub
149 return null;
150 }
151
152 /* (non-Javadoc)
153 * @see net.sf.antcontrib.cpptasks.compiler.Linker#isCaseSensitive()
154 */
155 public boolean isCaseSensitive() {
156 // TODO Auto-generated method stub
157 return false;
158 }
159
160 }