summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-01-14 13:26:21 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-01-14 19:53:07 +0100
commite42322848b81a36528a0af88138acb3ec997bf01 (patch)
tree3e2812ffc6a69aa39a51d965973c7751de57fc17
parent30a2a43a7546b5336058559f5ffd74b1f799c05b (diff)
downloadsamba-e42322848b81a36528a0af88138acb3ec997bf01.tar.gz
samba-e42322848b81a36528a0af88138acb3ec997bf01.tar.bz2
samba-e42322848b81a36528a0af88138acb3ec997bf01.zip
python: Start building winreg module.
(This used to be commit f1a9fad83cee7754304b3422aa273d5f64868e40)
-rw-r--r--source4/librpc/config.mk7
-rw-r--r--source4/scripting/python/modules.c1
2 files changed, 8 insertions, 0 deletions
diff --git a/source4/librpc/config.mk b/source4/librpc/config.mk
index e491f69b34..55991f4953 100644
--- a/source4/librpc/config.mk
+++ b/source4/librpc/config.mk
@@ -598,3 +598,10 @@ PUBLIC_DEPENDENCIES = LIBCLI_SMB NDR_MISC LIBSAMBA-UTIL LIBSAMBA-CONFIG dcerpc_s
[PYTHON::python_echo]
OBJ_FILES = gen_ndr/py_echo.o
PRIVATE_DEPENDENCIES = RPC_NDR_ECHO
+
+[PYTHON::python_winreg]
+OBJ_FILES = gen_ndr/py_winreg.o
+PRIVATE_DEPENDENCIES = RPC_NDR_WINREG python_misc
+
+[PYTHON::python_dcerpc_misc]
+OBJ_FILES = gen_ndr/py_misc.o
diff --git a/source4/scripting/python/modules.c b/source4/scripting/python/modules.c
index 55df51d881..5e53aadb94 100644
--- a/source4/scripting/python/modules.c
+++ b/source4/scripting/python/modules.c
@@ -35,6 +35,7 @@ extern void init_events(void);
extern void inituuid(void);
extern void init_net(void);
extern void initecho(void);
+extern void initwinreg(void);
static struct _inittab py_modules[] = { STATIC_LIBPYTHON_MODULES };