From 3c68259e3ac7b4886dc64f97510b6c61e95e5a83 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 26 Apr 2006 00:46:10 +0000 Subject: r15263: Remove another use of patsubst (should make tru64 happy) (This used to be commit 559ae256e133777e77bfe7a683f1c441cd6007b0) --- source4/build/smb_build/TODO | 1 + source4/heimdal_build/config.mk | 2 +- source4/heimdal_build/hcrypto-deps.pl | 9 +++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100755 source4/heimdal_build/hcrypto-deps.pl (limited to 'source4') diff --git a/source4/build/smb_build/TODO b/source4/build/smb_build/TODO index be79bd984d..aa1b3ce3ce 100644 --- a/source4/build/smb_build/TODO +++ b/source4/build/smb_build/TODO @@ -1,3 +1,4 @@ +- let the build system implement some make functions($(patsubst),$(wildcard),...) - make --enable-dso the default - fix module loading for selftest during non-developer builds - clearer distinction between dcerpc and ndr. seperate interface tables? 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"; +} -- cgit