summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-06-16 20:15:19 +0200
committerJelmer Vernooij <jelmer@samba.org>2010-06-18 23:51:40 +0200
commitebd0bca555f13f19bebdb220088c97a3473daa61 (patch)
tree27820cf14a9576a7a8bebf3c8a40da8b12fa0664 /source4
parent8e8496208b4fa5bf69fcc884fdb054352060e21e (diff)
downloadsamba-ebd0bca555f13f19bebdb220088c97a3473daa61.tar.gz
samba-ebd0bca555f13f19bebdb220088c97a3473daa61.tar.bz2
samba-ebd0bca555f13f19bebdb220088c97a3473daa61.zip
s4: Build more python convenience files as subsystems rather than as python modules.
Diffstat (limited to 'source4')
-rw-r--r--source4/param/wscript_build10
-rw-r--r--source4/scripting/python/wscript_build5
2 files changed, 9 insertions, 6 deletions
diff --git a/source4/param/wscript_build b/source4/param/wscript_build
index 47d82f73ea..25efaba06f 100644
--- a/source4/param/wscript_build
+++ b/source4/param/wscript_build
@@ -10,9 +10,10 @@ bld.SAMBA_LIBRARY('LIBSAMBA-HOSTCONFIG',
)
-bld.SAMBA_PYTHON('PROVISION',
+bld.SAMBA_SUBSYSTEM('PROVISION',
source='provision.c pyparam.c',
- deps='LIBPYTHON pyparam_util ldb'
+ deps='LIBPYTHON pyparam_util ldb',
+ needs_python=True,
)
@@ -52,8 +53,9 @@ bld.SAMBA_PYTHON('param',
)
-bld.SAMBA_PYTHON('pyparam_util',
+bld.SAMBA_SUBSYSTEM('pyparam_util',
source='pyparam_util.c',
- deps='LIBPYTHON'
+ deps='LIBPYTHON',
+ needs_python=True
)
diff --git a/source4/scripting/python/wscript_build b/source4/scripting/python/wscript_build
index af3c6ed917..445012f3af 100644
--- a/source4/scripting/python/wscript_build
+++ b/source4/scripting/python/wscript_build
@@ -8,9 +8,10 @@ bld.SAMBA_PYTHON('LIBPYTHON',
)
-bld.SAMBA_PYTHON('PYTALLOC',
+bld.SAMBA_SUBSYSTEM('PYTALLOC',
source='../../../lib/talloc/pytalloc.c',
- public_deps='EXT_LIB_PYTHON talloc'
+ public_deps='EXT_LIB_PYTHON talloc',
+ needs_python=True,
)