7 my $basename = basename
($file);
9 my $header = "$dirname/$basename"; $header =~ s
/\
.et
$/.h/;
10 my $source = "$dirname/$basename"; $source =~ s
/\
.et
$/.c/;
11 print "basics:: $header\n";
12 print "$header $source: \$(heimdalsrcdir)/$file \$(ET_COMPILER)\n";
13 print "\t\@echo \"Compiling error table $file\"\n";
14 print "\t\@\$(heimdalbuildsrcdir)/et_compile_wrapper.sh \$(builddir) $dirname \$(ET_COMPILER) \$(call abspath,\$(heimdalsrcdir)/$file) $source\n\n";
17 print "\t\@rm -f $header $source\n\n";