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