summaryrefslogtreecommitdiff
path: root/source4/lib/ldb-samba/wscript_build
blob: 7a07bc524ee0d128223b1eb31f122aff23f45bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/env python

# LDBSAMBA gets included in the ldb build when we are building ldb_ildap 
# as a built-in module and this delutes the symbols in the ldb library with 
# the symbols of all of ldb_ildap's dependencies. 

bld.SAMBA_LIBRARY('LDBSAMBA',
                  source='ldif_handlers.c',
                  autoproto='ldif_handlers_proto.h',
                  public_deps='ldb',
                  public_headers='ldb_wrap.h',
                  deps='security ndr NDR_DRSBLOBS NDR_DNSP ldbwrap samdb-common SAMDB_SCHEMA',
                  private_library=True
                  )

bld.SAMBA_SUBSYSTEM('ldbwrap',
                    source='ldb_wrap.c',
                    public_headers='ldb_wrap.h',
                    deps='ldb samba-util LDBSAMBA samba-hostconfig'
                    )


bld.SAMBA_PYTHON('python_samba__ldb', 'pyldb.c',
                 deps='LDBSAMBA pyparam_util ldbwrap',
                 realname='samba/_ldb.so')