build: autogenerate heimdal basics
[metze/samba/wip.git] / source / heimdal_build / asn1_deps.pl
index 612178176074143767e732f9c76082b87a7a14a9..6c4d10d262b9c7c193971c1789ddb6d984c92af5 100755 (executable)
@@ -29,9 +29,10 @@ if (not defined $options) {
 
 my $header = "$dirname/$prefix.h";
 
+print "basics:: $header\n";
 print "$header: \$(heimdalsrcdir)/$file \$(ASN1C)\n";
 print "\t\@echo \"Compiling ASN1 file \$(heimdalsrcdir)/$file\"\n";
-print "\t\@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname \$(ASN1C) \$(abspath \$(heimdalsrcdir)/$file) $prefix $options\n\n";
+print "\t\@\$(heimdalbuildsrcdir)/asn1_compile_wrapper.sh \$(builddir) $dirname \$(ASN1C) \$(call abspath,\$(heimdalsrcdir)/$file) $prefix $options\n\n";
 
 open(IN,"heimdal/$file") or die("Can't open heimdal/$file: $!");
 my @lines = <IN>;