diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-08-09 03:04:47 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:31:33 -0500 |
commit | c0e8144c5d1e402b36ebe04b843eba62e7ab9958 (patch) | |
tree | 1b885ceee1a88e8cb2822051690b023c8f8acb78 /source4/heimdal_build/asn1_deps.pl | |
parent | 4b93e377cd9809199487e20fa53d8a2c98ad32ea (diff) | |
download | samba-c0e8144c5d1e402b36ebe04b843eba62e7ab9958.tar.gz samba-c0e8144c5d1e402b36ebe04b843eba62e7ab9958.tar.bz2 samba-c0e8144c5d1e402b36ebe04b843eba62e7ab9958.zip |
r9221: Try to merge Heimdal across from lorikeet-heimdal to samba4.
This is my first attempt at this, so there may be a few rough edges.
Andrew Bartlett
(This used to be commit 9a1d2f2fec67930975da856a2d365345cec46216)
Diffstat (limited to 'source4/heimdal_build/asn1_deps.pl')
-rwxr-xr-x | source4/heimdal_build/asn1_deps.pl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source4/heimdal_build/asn1_deps.pl b/source4/heimdal_build/asn1_deps.pl index 962aadfdad..11e6bad706 100755 --- a/source4/heimdal_build/asn1_deps.pl +++ b/source4/heimdal_build/asn1_deps.pl @@ -7,18 +7,22 @@ use File::Basename; my $file = shift; my $prefix = shift; +my $options = shift; my $x_file, @x_files; my $c_file, @c_files; if (not defined ($prefix)) { $prefix = "asn1"; } $dirname = dirname($file); $basename = basename($file); +if (not defined $options) { + $options = ""; +} my $header = "$dirname/$prefix.h"; print "$header: $file bin/asn1_compile\n"; print "\t\@echo \"Compiling ASN1 file $file\"\n"; -print "\t\@cd $dirname && ../../../bin/asn1_compile $basename $prefix\n\n"; +print "\t\@cd $dirname && ../../../bin/asn1_compile $options $basename $prefix\n\n"; open(IN,$file) or die("Can't open $file: $!"); foreach(<IN>) { |