summaryrefslogtreecommitdiff
path: root/source4/heimdal_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal_build')
-rw-r--r--source4/heimdal_build/config.mk2
-rwxr-xr-xsource4/heimdal_build/hcrypto-deps.pl9
2 files changed, 10 insertions, 1 deletions
diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk
index 2131018906..481e82818e 100644
--- a/source4/heimdal_build/config.mk
+++ b/source4/heimdal_build/config.mk
@@ -455,7 +455,7 @@ include perl_path_wrapper.sh et_deps.pl heimdal/lib/krb5/krb5_err.et|
heimdal/lib/roken/vis.h: heimdal/lib/roken/vis.hin
heimdal/lib/roken/err.h: heimdal/lib/roken/err.hin
-$(patsubst heimdal/lib/des/%.h,heimdal/lib/des/hcrypto/%.h,$(wildcard heimdal/lib/des/*.h)): heimdal/lib/des/hcrypto
+include hcrypto-deps.pl heimdal/lib/des/*.h|
heimdal/lib/des/hcrypto:
rm -f $@; ln -s ./../des $@
diff --git a/source4/heimdal_build/hcrypto-deps.pl b/source4/heimdal_build/hcrypto-deps.pl
new file mode 100755
index 0000000000..89054bf1fa
--- /dev/null
+++ b/source4/heimdal_build/hcrypto-deps.pl
@@ -0,0 +1,9 @@
+#!/usr/bin/perl
+use strict;
+
+foreach (@ARGV) {
+ my $old = $_;
+ my $new = $old; $new =~ s/des/des\/hcrypto/g;
+ my $dir = $old;
+ print "$new: $old heimdal/lib/des/hcrypto\n";
+}