#!/usr/bin/env python
-bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP_MESSAGE',
- source='ldap_message.c',
- public_deps='LIBSAMBA-ERRORS talloc ldb',
- public_headers='ldap_message.h ldap_errors.h',
- deps='LIBSAMBA-UTIL ASN1_UTIL'
- )
-
-
-bld.SAMBA_SUBSYSTEM('LIBCLI_LDAP_NDR',
- source='ldap_ndr.c',
- public_deps='LIBSAMBA-ERRORS talloc',
- public_headers='ldap_ndr.h',
- deps='LIBSAMBA-UTIL ldb NDR_SECURITY tevent'
- )
-
+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)