mirror of
https://github.com/samba-team/samba.git
synced 2024-12-30 13:18:05 +03:00
3f073b4c6b
in code generated from et_compile
metze
(This used to be commit 8757b09052
)
17 lines
517 B
Perl
Executable File
17 lines
517 B
Perl
Executable File
#!/usr/bin/perl
|
|
|
|
use File::Basename;
|
|
|
|
my $file = shift;
|
|
my $dirname = shift;
|
|
my $basename = basename($file);
|
|
|
|
my $header = "$dirname/$basename"; $header =~ s/\.et$/.h/;
|
|
my $source = "$dirname/$basename"; $source =~ s/\.et$/.c/;
|
|
print "$header $source: $file bin/compile_et\n";
|
|
print "\t\@echo \"Compiling error table $file\"\n";
|
|
print "\t\@\$(builddir)/heimdal_build/et_compile_wrapper.sh \$(srcdir) \$(builddir) $dirname bin/compile_et $file $source\n\n";
|
|
|
|
print "clean:: \n";
|
|
print "\t\@rm -f $header $source\n\n";
|