mirror of
https://github.com/samba-team/samba.git
synced 2025-01-25 06:04:04 +03:00
build: list sources of library ads directly in sources, removing vars=locals()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
40f19d60db
commit
a21616574b
@ -3,15 +3,6 @@
|
|||||||
from samba_utils import *
|
from samba_utils import *
|
||||||
import samba_version, samba3
|
import samba_version, samba3
|
||||||
|
|
||||||
LIBADS_SRC = '''libads/ldap.c
|
|
||||||
libads/sasl.c libads/sasl_wrapping.c
|
|
||||||
libads/krb5_setpw.c
|
|
||||||
libads/kerberos_util.c
|
|
||||||
libads/ldap_user.c
|
|
||||||
libads/ads_struct.c libads/kerberos_keytab.c
|
|
||||||
libads/disp_sec.c libads/ldap_utils.c
|
|
||||||
libads/ldap_schema.c libads/util.c libads/ndr.c'''
|
|
||||||
|
|
||||||
LIBADS_SERVER_SRC = '''libads/authdata.c'''
|
LIBADS_SERVER_SRC = '''libads/authdata.c'''
|
||||||
|
|
||||||
LIBADS_PRINTER_SRC = '''libads/ldap_printer.c'''
|
LIBADS_PRINTER_SRC = '''libads/ldap_printer.c'''
|
||||||
@ -754,10 +745,21 @@ bld.SAMBA3_LIBRARY('smbldap',
|
|||||||
public_headers='include/smbldap.h include/smb_ldap.h')
|
public_headers='include/smbldap.h include/smb_ldap.h')
|
||||||
|
|
||||||
bld.SAMBA3_LIBRARY('ads',
|
bld.SAMBA3_LIBRARY('ads',
|
||||||
source=LIBADS_SRC,
|
source='''libads/ldap.c
|
||||||
|
libads/sasl.c
|
||||||
|
libads/sasl_wrapping.c
|
||||||
|
libads/krb5_setpw.c
|
||||||
|
libads/kerberos_util.c
|
||||||
|
libads/ldap_user.c
|
||||||
|
libads/ads_struct.c
|
||||||
|
libads/kerberos_keytab.c
|
||||||
|
libads/disp_sec.c
|
||||||
|
libads/ldap_utils.c
|
||||||
|
libads/ldap_schema.c
|
||||||
|
libads/util.c
|
||||||
|
libads/ndr.c''',
|
||||||
deps='cli-ldap-common krb5samba ldap lber KRBCLIENT param LIBNMB libsmb DCUTIL smbldap',
|
deps='cli-ldap-common krb5samba ldap lber KRBCLIENT param LIBNMB libsmb DCUTIL smbldap',
|
||||||
private_library=True,
|
private_library=True)
|
||||||
vars=locals())
|
|
||||||
|
|
||||||
bld.SAMBA3_SUBSYSTEM('LIBADS_SERVER',
|
bld.SAMBA3_SUBSYSTEM('LIBADS_SERVER',
|
||||||
source=LIBADS_SERVER_SRC,
|
source=LIBADS_SERVER_SRC,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user