summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-26 00:46:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:28 -0500
commit3c68259e3ac7b4886dc64f97510b6c61e95e5a83 (patch)
treeed77653af175598b50c8e842744c1fd5362ca4e4 /source4
parentb995f263f8fe052062f0597ef4eb936a1d2c5c4f (diff)
downloadsamba-3c68259e3ac7b4886dc64f97510b6c61e95e5a83.tar.gz
samba-3c68259e3ac7b4886dc64f97510b6c61e95e5a83.tar.bz2
samba-3c68259e3ac7b4886dc64f97510b6c61e95e5a83.zip
r15263: Remove another use of patsubst (should make tru64 happy)
(This used to be commit 559ae256e133777e77bfe7a683f1c441cd6007b0)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/smb_build/TODO1
-rw-r--r--source4/heimdal_build/config.mk2
-rwxr-xr-xsource4/heimdal_build/hcrypto-deps.pl9
3 files changed, 11 insertions, 1 deletions
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";
+}