mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
1d6456fd60
we now call asn1_compile and compile_et via a wrapper script
metze
(This used to be commit a5b67f5c7e
)
17 lines
509 B
Perl
Executable File
17 lines
509 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\n\n";
|
|
|
|
print "clean:: \n";
|
|
print "\t\@rm -f $header $source\n\n";
|