summaryrefslogtreecommitdiffstats
path: root/source4/heimdal_build/et_deps.pl
blob: fef0618b5867e2dc86169c7088b7bbca3a71b96d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/perl

use File::Basename;

my $file = shift;
my $dirname = dirname($file);
my $basename = basename($file);

my $header = $file; $header =~ s/\.et$/.h/;
my $source = $file; $source =~ s/\.et$/.c/;
print "$source: $file bin/compile_et\n";
print "\t\@echo \"Compiling error table $file\"\n";
print "\t\@cd $dirname && ../../../bin/compile_et $basename\n\n";

print "$header: $source\n";