~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to source4/heimdal_build/et_deps.pl

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/perl
 
2
 
 
3
use File::Basename;
 
4
 
 
5
my $file = shift;
 
6
my $dirname = shift;
 
7
my $basename = basename($file);
 
8
 
 
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";
 
15
 
 
16
print "clean:: \n";
 
17
print "\t\@rm -f $header $source\n\n";