mirror of
https://github.com/samba-team/samba.git
synced 2025-01-14 19:24:43 +03:00
05bc4de083
This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
61 lines
1.2 KiB
Python
61 lines
1.2 KiB
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA_SUBSYSTEM('PROVISION',
|
|
source='provision.c pyparam.c',
|
|
deps='LIBPYTHON pyparam_util ldb pytalloc-util pyldb-util',
|
|
pyext=True,
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('share',
|
|
source='share.c',
|
|
public_headers='share.h',
|
|
deps='samba-util samba-modules'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('share_classic',
|
|
source='share_classic.c',
|
|
subsystem='share',
|
|
init_function='share_classic_init',
|
|
deps='samba-util'
|
|
)
|
|
|
|
|
|
bld.SAMBA_MODULE('share_ldb',
|
|
source='share_ldb.c',
|
|
subsystem='share',
|
|
init_function='share_ldb_init',
|
|
deps='ldbsamba auth_system_session'
|
|
)
|
|
|
|
|
|
bld.SAMBA_SUBSYSTEM('SECRETS',
|
|
source='secrets.c',
|
|
deps='ldb tdb-wrap UTIL_TDB NDR_SECURITY tevent ldbwrap'
|
|
)
|
|
|
|
|
|
bld.SAMBA_PYTHON('pyparam',
|
|
source='pyparam.c',
|
|
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 samba-hostconfig',
|
|
pyext=True,
|
|
)
|
|
|
|
bld.SAMBA_LIBRARY('shares',
|
|
source=[],
|
|
deps='share',
|
|
grouping_library=True,
|
|
private_library=True)
|