s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.
[kai/samba.git] / source4 / lib / ldb-samba / wscript_build
1 #!/usr/bin/env python
2
3
4 bld.SAMBA_LIBRARY('LDBSAMBA',
5         source='ldif_handlers.c ldb_wrap.c',
6         autoproto='ldif_handlers_proto.h',
7         public_deps='ldb',
8         public_headers='ldb_wrap.h',
9         deps='LIBSECURITY SAMDB_SCHEMA LIBNDR NDR_DRSBLOBS CREDENTIALS UTIL_LDB'
10         )
11
12
13 bld.SAMBA_PYTHON('pyldbsamba', 'pyldb.c',
14                                  deps='LDBSAMBA pyparam_util',
15                                  realname='samba/_ldb.so')