summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-04 03:44:41 -0600
committerStefan Metzmacher <metze@samba.org>2008-01-03 21:51:02 -0600
commite5f8d05f092ed39a568e567efe07d49f26b4275f (patch)
tree3abea2e0ee3d82361bbc033277f7307c6449032d
parent4ba6e6c1593bc7a9e1bd9b891a325a842e93d951 (diff)
downloadsamba-e5f8d05f092ed39a568e567efe07d49f26b4275f.tar.gz
samba-e5f8d05f092ed39a568e567efe07d49f26b4275f.tar.bz2
samba-e5f8d05f092ed39a568e567efe07d49f26b4275f.zip
r26663: Proper dependencies for pidl Python bindings.
(This used to be commit f24e5e8a2b16f2f1640cb573bdcb346cb3748f33)
-rwxr-xr-xsource4/librpc/idl-deps.pl2
-rw-r--r--source4/main.mk3
2 files changed, 4 insertions, 1 deletions
diff --git a/source4/librpc/idl-deps.pl b/source4/librpc/idl-deps.pl
index 2fffd6e452..d5bfe0b2ec 100755
--- a/source4/librpc/idl-deps.pl
+++ b/source4/librpc/idl-deps.pl
@@ -15,6 +15,8 @@ foreach(@ARGV) {
push (@{$vars{IDL_NDR_SERVER_C_FILES}}, "librpc/gen_ndr/ndr_$b\_s.c");
push (@{$vars{IDL_NDR_EJS_C_FILES}}, "librpc/gen_ndr/ndr_$b\_ejs.c");
push (@{$vars{IDL_NDR_EJS_H_FILES}}, "librpc/gen_ndr/ndr_$b\_ejs.h");
+ push (@{$vars{IDL_NDR_PY_C_FILES}}, "librpc/gen_ndr/py_$b.c");
+ push (@{$vars{IDL_NDR_PY_H_FILES}}, "librpc/gen_ndr/py_$b.h");
}
foreach (keys %vars) {
diff --git a/source4/main.mk b/source4/main.mk
index 38c76bb99c..7be6032256 100644
--- a/source4/main.mk
+++ b/source4/main.mk
@@ -216,7 +216,8 @@ $(IDL_HEADER_FILES) \
$(IDL_NDR_PARSE_H_FILES) $(IDL_NDR_PARSE_C_FILES) \
$(IDL_NDR_CLIENT_C_FILES) $(IDL_NDR_CLIENT_H_FILES) \
$(IDL_NDR_SERVER_C_FILES) $(IDL_SWIG_FILES) \
- $(IDL_NDR_EJS_C_FILES) $(IDL_NDR_EJS_H_FILES): idl
+ $(IDL_NDR_EJS_C_FILES) $(IDL_NDR_EJS_H_FILES) \
+ $(IDL_NDR_PY_C_FILES) $(IDL_NDR_PY_H_FILES): idl
idl_full: pidl/lib/Parse/Pidl/IDL.pm pidl/lib/Parse/Pidl/Expr.pm
@CPP="$(CPP)" PERL="$(PERL)" srcdir=$(srcdir) $(srcdir)/script/build_idl.sh FULL