diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2005-08-03 05:28:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:31:04 -0500 |
commit | 7facdcc161b75c7a3a85a0f6380f5b83394183c4 (patch) | |
tree | e14c0fb17019471f0c67b0d8a323a9809983043e /source4/heimdal_build/et_deps.pl | |
parent | 4fd6c8e9cfc69821f574f30f8e6c1eaa781594fc (diff) | |
download | samba-7facdcc161b75c7a3a85a0f6380f5b83394183c4.tar.gz samba-7facdcc161b75c7a3a85a0f6380f5b83394183c4.tar.xz samba-7facdcc161b75c7a3a85a0f6380f5b83394183c4.zip |
r8985: Automatically generate make dependency rules for
the asn1 and error table files.
This removes the need for HEIMDAL_EXTERNAL
(This used to be commit 2f481ac93c0151b82dab737d49ae8d0d3cbbbbbe)
Diffstat (limited to 'source4/heimdal_build/et_deps.pl')
-rwxr-xr-x | source4/heimdal_build/et_deps.pl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/heimdal_build/et_deps.pl b/source4/heimdal_build/et_deps.pl new file mode 100755 index 00000000000..d7be6074fe8 --- /dev/null +++ b/source4/heimdal_build/et_deps.pl @@ -0,0 +1,14 @@ +#!/usr/bin/perl + +use File::Basename; + +my $file = shift; +my $dirname = dirname($file); +my $basename = basename($file); + +my $header = $file; $header =~ s/\.et$/.h/; +my $source = $file; $source =~ s/\.et$/.c/; +print "$source: $file bin/compile_et\n"; +print "\t\@cd $dirname && ../../../bin/compile_et $basename\n\n"; + +print "$header: $source\n"; |