2010-06-23 23:03:09 -05:00
|
|
|
|
|
|
|
// -*- rust -*-
|
|
|
|
|
|
|
|
use std;
|
|
|
|
|
|
|
|
mod fe {
|
2010-08-12 12:27:50 -05:00
|
|
|
mod ast;
|
2010-06-23 23:03:09 -05:00
|
|
|
mod lexer;
|
|
|
|
mod parser;
|
|
|
|
}
|
|
|
|
|
|
|
|
mod driver {
|
|
|
|
mod rustc;
|
|
|
|
}
|
|
|
|
|
2010-07-12 19:47:40 -05:00
|
|
|
mod lib {
|
2010-08-16 15:02:46 -05:00
|
|
|
alt (target_os) {
|
|
|
|
case ("win32") {
|
|
|
|
let (llvm_lib = "llvm-2.8svn.dll") {
|
|
|
|
mod llvm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
case ("macos") {
|
|
|
|
let (llvm_lib = "libllvm-2.8svn.dylib") {
|
|
|
|
mod llvm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else {
|
|
|
|
let (llvm_lib = "libllvm-2.8svn.so") {
|
|
|
|
mod llvm;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2010-07-12 19:47:40 -05:00
|
|
|
}
|
|
|
|
|
2010-06-23 23:03:09 -05:00
|
|
|
// Local Variables:
|
|
|
|
// fill-column: 78;
|
|
|
|
// indent-tabs-mode: nil
|
|
|
|
// buffer-file-coding-system: utf-8-unix
|
|
|
|
// compile-command: "make -k -C .. 2>&1 | sed -e 's/\\/x\\//x:\\//g'";
|
|
|
|
// End:
|