#!/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',
- needs_python=True,
+ deps='LIBPYTHON pyparam_util ldb pytalloc-util pyldb-util',
+ pyext=True,
)
bld.SAMBA_SUBSYSTEM('share',
source='share.c',
public_headers='share.h',
- deps='LIBSAMBA-UTIL'
+ deps='samba-util samba-modules'
)
source='share_classic.c',
subsystem='share',
init_function='share_classic_init',
- deps='LIBSAMBA-UTIL'
+ deps='samba-util'
)
source='share_ldb.c',
subsystem='share',
init_function='share_ldb_init',
- deps='LDBSAMBA'
+ deps='ldbsamba auth_system_session'
)
bld.SAMBA_SUBSYSTEM('SECRETS',
source='secrets.c',
- deps='ldb TDB_WRAP UTIL_TDB NDR_SECURITY tevent'
+ deps='ldb tdb-wrap UTIL_TDB NDR_SECURITY tevent ldbwrap'
)
-bld.SAMBA_PYTHON('param',
+bld.SAMBA_PYTHON('pyparam',
source='pyparam.c',
- deps='LIBSAMBA-HOSTCONFIG PYTALLOC',
+ deps='samba-hostconfig pytalloc-util',
realname='samba/param.so'
)
+bld.SAMBA_SUBSYSTEM('param_options',
+ source='loadparm.c',
+ deps='samba-hostconfig')
+
bld.SAMBA_SUBSYSTEM('pyparam_util',
source='pyparam_util.c',
- deps='LIBPYTHON LIBSAMBA-HOSTCONFIG',
- needs_python=True
+ deps='LIBPYTHON samba-hostconfig',
+ pyext=True,
)
+bld.SAMBA_LIBRARY('shares',
+ source=[],
+ deps='share',
+ grouping_library=True,
+ private_library=True)