summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-01-08 17:13:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:52 -0500
commit022553500b75d13631a7838e93631ce8b6b458cc (patch)
tree501e5b4e402b0bdebc5450020f5f2d4b19a0418a /source4/librpc
parentb589ac5d863e171429d5ee620615a2920a82e04d (diff)
downloadsamba-022553500b75d13631a7838e93631ce8b6b458cc.tar.gz
samba-022553500b75d13631a7838e93631ce8b6b458cc.tar.bz2
samba-022553500b75d13631a7838e93631ce8b6b458cc.zip
r12772: - create variables for the %(patsubst ...) statements for the idl files
- this also fixes the build on BSD systems metze (This used to be commit 31ff172773f1700bfd7ff24fc764d37d9b6e82c1)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/config.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index 52f9a7589b..a42c1b8e03 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -296,9 +296,8 @@ OBJ_FILES = gen_ndr/ndr_winsrepl.o
NOPROTO = YES
REQUIRED_SUBSYSTEMS = LIBNDR NDR_NBT
-librpc/gen_ndr/tables.c: $(patsubst librpc/idl/%.idl,librpc/gen_ndr/ndr_%.h,$(IDL_FILES))
- @$(PERL) librpc/tables.pl --output=librpc/gen_ndr/tables.c $^
-
+librpc/gen_ndr/tables.c: $(IDL_NDR_HEADER_FILES)
+ @$(PERL) $(srcdir)/librpc/tables.pl --output=librpc/gen_ndr/tables.c $(IDL_NDR_HEADER_FILES)
[SUBSYSTEM::NDR_IFACE_TABLE]
OBJ_FILES = gen_ndr/tables.o