Methods Summary |
---|
public java.lang.String | asmFileSuffix()
return ".asm";
|
public java.lang.String | dependentPrefix()
return "";
|
public boolean | fileNameStringEquality(java.lang.String s1, java.lang.String s2)
return s1.equalsIgnoreCase(s2);
|
public java.lang.String | fileSeparator()
return "\\";
|
public boolean | includeGIDependencies()
return false;
|
public boolean | includeGIInEachIncl()
return false;
|
public java.lang.String | objFileSuffix()
return ".obj";
|
public java.lang.String[] | outerSuffixes()
return suffixes;
|
public void | setupFileTemplates()
super.setupFileTemplates();
String stem = giFileTemplate.nameOfList();
// a funky way to clone a FileName
giMchProxyIncl = giFileTemplate.copyStem(stem);
// write grand include into a different file that is be used
// to generate the precompiled header, but is not used by the
// rest of the sources
// IMPL_NOTE: hardcoded name, must agree with the makefile
giFileTemplate = giFileTemplate.copyStem(stem + "_pch");
|
public void | writePlatformSpecificFiles(Database previousDB, Database currentDB, java.lang.String[] args)
// Generate "incls/_precompiled.incl" that is just a proxy
// include for the precompiled header.
System.out.println("\twriting MCH proxy file");
ByteArrayOutputStream baos = new ByteArrayOutputStream();
OutputStreamWriter writer = new OutputStreamWriter(baos);
PrintWriter inclFile = new PrintWriter(writer);
// IMPL_NOTE: hardcoded name, must agree with the makefile
inclFile.println("#include \"cldcvm.mch\"");
inclFile.flush();
currentDB.updateFile(giMchProxyIncl.dirPreStemSuff(), baos);
inclFile.close();
|