View Javadoc

1   /*
2    * #%L
3    * Native ARchive plugin for Maven
4    * %%
5    * Copyright (C) 2002 - 2014 NAR Maven Plugin developers.
6    * %%
7    * Licensed under the Apache License, Version 2.0 (the "License");
8    * you may not use this file except in compliance with the License.
9    * You may obtain a copy of the License at
10   * 
11   * http://www.apache.org/licenses/LICENSE-2.0
12   * 
13   * Unless required by applicable law or agreed to in writing, software
14   * distributed under the License is distributed on an "AS IS" BASIS,
15   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16   * See the License for the specific language governing permissions and
17   * limitations under the License.
18   * #L%
19   */
20  package com.github.maven_nar.cpptasks.arm;
21  
22  import java.io.File;
23  
24  import com.github.maven_nar.cpptasks.compiler.CommandLineLinker;
25  import com.github.maven_nar.cpptasks.compiler.LinkType;
26  import com.github.maven_nar.cpptasks.compiler.Linker;
27  import com.github.maven_nar.cpptasks.types.LibraryTypeEnum;
28  
29  /**
30   * Adapter for ARM Librarian
31   *
32   * @author Curt Arnold
33   */
34  public class ADSLibrarian extends CommandLineLinker {
35  
36    private static final ADSLibrarian instance = new ADSLibrarian();
37  
38    public static ADSLibrarian getInstance() {
39      return instance;
40    }
41  
42    private ADSLibrarian() {
43      super("armar", null, new String[] {
44        ".o"
45      }, new String[0], ".lib", false, null);
46    }
47  
48    @Override
49    protected String getCommandFileSwitch(final String commandFile) {
50      // TODO Auto-generated method stub
51      return null;
52    }
53  
54    @Override
55    public File[] getLibraryPath() {
56      // TODO Auto-generated method stub
57      return null;
58    }
59  
60    @Override
61    public String[] getLibraryPatterns(final String[] libnames, final LibraryTypeEnum libType) {
62      return new String[0];
63    }
64  
65    @Override
66    public Linker getLinker(final LinkType linkType) {
67      // TODO Auto-generated method stub
68      return null;
69    }
70  
71    @Override
72    protected int getMaximumCommandLength() {
73      // TODO Auto-generated method stub
74      return 0;
75    }
76  
77    @Override
78    protected String[] getOutputFileSwitch(final String outputFile) {
79      // TODO Auto-generated method stub
80      return null;
81    }
82  
83    @Override
84    public boolean isCaseSensitive() {
85      // TODO Auto-generated method stub
86      return false;
87    }
88  
89  }