From 1d6456fd6087c16bd6587768be6f8d81d94164db Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 15 Jan 2007 13:28:09 +0000 Subject: r20804: work arround HPUX and Tru64 make which don't like $$startdir we now call asn1_compile and compile_et via a wrapper script metze (This used to be commit a5b67f5c7e78d3cf74668c7c6bf9aecd8e147d41) --- source4/heimdal_build/asn1_deps.pl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'source4/heimdal_build/asn1_deps.pl') diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl index 6a4a76755a..aef34908d0 100755 --- a/source4/heimdal_build/asn1_deps.pl +++ b/source4/heimdal_build/asn1_deps.pl @@ -25,7 +25,7 @@ my $header = "$dirname/$prefix.h"; print "$header: $file bin/asn1_compile\n"; print "\t\@echo \"Compiling ASN1 file $file\"\n"; -print "\t\@startdir=`pwd` && cd $dirname && " . ' $$startdir/bin/asn1_compile ' . " $options " . '$$startdir/' . "$file $prefix\n\n"; +print "\t\@\$(builddir)/heimdal_build/asn1_compile_wrapper.sh \$(srcdir) \$(builddir) $dirname bin/asn1_compile $file $prefix $options\n\n"; open(IN,$file) or die("Can't open $file: $!"); foreach() { @@ -49,19 +49,19 @@ print '[SUBSYSTEM::HEIMDAL_'.uc($prefix).']'."\n"; print "CFLAGS = -Iheimdal_build -I$dirname\n"; print "OBJ_FILES = "; foreach $o_file (@o_files) { - print "\\\n\t$o_file "; + print "\\\n\t$o_file"; } print "\nPRIVATE_DEPENDENCIES = HEIMDAL_ASN1\n\n"; print "clean:: \n"; -print "\t\@echo \"Deleting ASN1 output files generated from $file\""; -print "\n\t\@rm -f $header"; +print "\t\@echo \"Deleting ASN1 output files generated from $file\"\n"; +print "\t\@rm -f $header\n"; foreach $c_file (@c_files) { - print "\n\t\@rm -f $c_file"; + print "\t\@rm -f $c_file\n"; } foreach $x_file (@x_files) { - print "\n\t\@rm -f $x_file"; + print "\t\@rm -f $x_file\n"; } -print "\n\t\@rm -f $dirname/$prefix\_files"; -print "\n\t\@rm -f $dirname/$prefix\.h"; -print "\n\n"; +print "\t\@rm -f $dirname/$prefix\_files\n"; +print "\t\@rm -f $dirname/$prefix\.h\n"; +print "\n"; -- cgit