summaryrefslogtreecommitdiffstats
path: root/libcli/ldap/wscript_build
blob: a646685c751054259f322e7ab6cdfb7a58d0dd02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env python

bld.SAMBA_LIBRARY('cli-ldap-common',
                  source='ldap_message.c ldap_ndr.c',
                  public_deps='samba-errors talloc ldb',
                  private_headers='ldap_message.h ldap_errors.h ldap_ndr.h',
                  deps='samba-util asn1util NDR_SECURITY tevent',
                  private_library=True)

bld.SAMBA_BINARY(
    'test_ldap_message',
    source='tests/ldap_message_test.c',
    deps='''
        cmocka
        talloc
        ldb
        samba-util
        asn1util
        NDR_SECURITY
        cli-ldap
    ''',
    for_selftest=True
)