1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source4/param/wscript_build

61 lines
1.0 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'
)
bld.SAMBA_PYTHON('PROVISION',
source='provision.c pyparam.c',
deps='LIBPYTHON pyparam_util ldb'
)
bld.SAMBA_SUBSYSTEM('share',
source='share.c',
autoproto='share_proto.h',
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='ldb LDB_WRAP'
)
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_PYTHON('pyparam_util',
source='pyparam_util.c',
deps='LIBPYTHON'
)