s4:drsuapi: move struct drsuapi_getncchanges_state to the top of getncchanges.c
[Samba/bb.git] / source4 / heimdal_build / et_deps.pl
blob59144259987a463c2bb61c08d40d653d309421c6
1 #!/usr/bin/perl
3 use File::Basename;
5 my $file = shift;
6 my $dirname = shift;
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";
16 print "clean:: \n";
17 print "\t\@rm -f $header $source\n\n";