1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/param/wscript_build
Jelmer Vernooij c15e919a09 wafsamba: Clarify needs_python argument name, use pyembed/pyext where
applicable.

Allow using both pyembed and pyext, to prevent unresolved symbols.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
2010-10-10 03:54:01 +00:00

63 lines
1.1 KiB
Python

#!/usr/bin/env python
bld.SAMBA_LIBRARY('LIBSAMBA-HOSTCONFIG',
source='loadparm.c generic.c util.c',
pc_files='samba-hostconfig.pc',
vnum='0.0.1',
deps='DYNCONFIG CHARSET',
public_deps='LIBSAMBA-UTIL',
public_headers='param.h',
autoproto='param_proto.h',
)
bld.SAMBA_SUBSYSTEM('PROVISION',
source='provision.c pyparam.c',
deps='LIBPYTHON pyparam_util ldb PYTALLOC',
pyembed=True,
)
bld.SAMBA_SUBSYSTEM('share',
source='share.c',
public_headers='share.h',
deps='LIBSAMBA-UTIL'
)
bld.SAMBA_MODULE('share_classic',
source='share_classic.c',
subsystem='share',
init_function='share_classic_init',
deps='LIBSAMBA-UTIL'
)
bld.SAMBA_MODULE('share_ldb',
source='share_ldb.c',
subsystem='share',
init_function='share_ldb_init',
deps='LDBSAMBA'
)
bld.SAMBA_SUBSYSTEM('SECRETS',
source='secrets.c',
deps='ldb TDB_WRAP UTIL_TDB NDR_SECURITY tevent'
)
bld.SAMBA_PYTHON('param',
source='pyparam.c',
deps='LIBSAMBA-HOSTCONFIG PYTALLOC',
realname='samba/param.so'
)
bld.SAMBA_SUBSYSTEM('pyparam_util',
source='pyparam_util.c',
deps='LIBPYTHON LIBSAMBA-HOSTCONFIG',
pyembed=True
)