]>
git.proxmox.com Git - mirror_edk2.git/blob - Tools/Source/Cpptasks/net/sf/antcontrib/cpptasks/arm/ADSLibrarian.java
3 * Copyright 2003-2004 The Ant-Contrib project
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
9 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package net
.sf
.antcontrib
.cpptasks
.arm
;
20 import java
.util
.Vector
;
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
;
28 * Adapter for ARM Librarian
32 public class ADSLibrarian
extends CommandLineLinker
{
34 private static final ADSLibrarian instance
= new ADSLibrarian();
36 public static ADSLibrarian
getInstance() {
40 private ADSLibrarian()
43 new String
[] { ".o" }, new String
[0], ".lib", false, null);
47 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addBase(long, java.util.Vector)
49 protected void addBase(long base
, Vector args
) {
50 // TODO Auto-generated method stub
55 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addFixed(java.lang.Boolean, java.util.Vector)
57 protected void addFixed(Boolean fixed
, Vector args
) {
58 // TODO Auto-generated method stub
63 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addImpliedArgs(boolean, net.sf.antcontrib.cpptasks.compiler.LinkType, java.util.Vector)
65 protected void addImpliedArgs(
69 Boolean defaultflag
) {
70 // TODO Auto-generated method stub
75 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addIncremental(boolean, java.util.Vector)
77 protected void addIncremental(boolean incremental
, Vector args
) {
78 // TODO Auto-generated method stub
83 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addMap(boolean, java.util.Vector)
85 protected void addMap(boolean map
, Vector args
) {
86 // TODO Auto-generated method stub
91 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addStack(int, java.util.Vector)
93 protected void addStack(int stack
, Vector args
) {
94 // TODO Auto-generated method stub
98 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#addEntry(int, java.util.Vector)
100 protected void addEntry(String entry
, Vector args
) {
101 // TODO Auto-generated method stub
106 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#getCommandFileSwitch(java.lang.String)
108 protected String
getCommandFileSwitch(String commandFile
) {
109 // TODO Auto-generated method stub
114 * @see net.sf.antcontrib.cpptasks.compiler.Linker#getLibraryPath()
116 public File
[] getLibraryPath() {
117 // TODO Auto-generated method stub
122 * @see net.sf.antcontrib.cpptasks.compiler.Linker#getLibraryPatterns(java.lang.String[])
124 public String
[] getLibraryPatterns(String
[] libnames
, LibraryTypeEnum libType
) {
125 return new String
[0];
129 * @see net.sf.antcontrib.cpptasks.compiler.Processor#getLinker(net.sf.antcontrib.cpptasks.compiler.LinkType)
131 public Linker
getLinker(LinkType linkType
) {
132 // TODO Auto-generated method stub
137 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#getMaximumCommandLength()
139 protected int getMaximumCommandLength() {
140 // TODO Auto-generated method stub
145 * @see net.sf.antcontrib.cpptasks.compiler.CommandLineLinker#getOutputFileSwitch(java.lang.String)
147 protected String
[] getOutputFileSwitch(String outputFile
) {
148 // TODO Auto-generated method stub
153 * @see net.sf.antcontrib.cpptasks.compiler.Linker#isCaseSensitive()
155 public boolean isCaseSensitive() {
156 // TODO Auto-generated method stub