r15263: Remove another use of patsubst (should make tru64 happy)
authorJelmer Vernooij <jelmer@samba.org>
Wed, 26 Apr 2006 00:46:10 +0000 (00:46 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:28 +0000 (14:04 -0500)
source/build/smb_build/TODO
source/heimdal_build/config.mk
source/heimdal_build/hcrypto-deps.pl [new file with mode: 0755]

index be79bd984da7d0032468bfae6212bf8935989edc..aa1b3ce3ceace0a84c85a00ce1b94ef4ff9fc4df 100644 (file)
@@ -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?
index 213101890691f8bc30cb1fc553adb5605d6e4445..481e82818ebcbc56524915c80949316738fc20fa 100644 (file)
@@ -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/source/heimdal_build/hcrypto-deps.pl b/source/heimdal_build/hcrypto-deps.pl
new file mode 100755 (executable)
index 0000000..89054bf
--- /dev/null
@@ -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";
+}