dns server: move very verbose debug to higher level 2 -> 8
[Samba/bb.git] / nsswitch / wscript_build
blobf740fdf25f0956d59f8a08cf0f96c3340024356a
1 #!/usr/bin/env python
3 bld.SAMBA_LIBRARY('winbind-client',
4 source='wb_common.c',
5 deps='replace',
6 cflags='-DSOCKET_WRAPPER_DISABLE=1 -DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR,
7 private_library=True
11 bld.SAMBA_BINARY('nsstest',
12 source='nsstest.c',
13 deps='replace dl'
17 bld.SAMBA_LIBRARY('nss_winbind',
18 source='winbind_nss_linux.c',
19 deps='winbind-client',
20 realname='libnss_winbind.so.2',
21 vnum='2')
24 if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
25 bld.SAMBA_LIBRARY('pamwinbind',
26 source='pam_winbind.c',
27 deps='intl talloc wbclient winbind-client LIBINIPARSER pam',
28 cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
29 realname='pam_winbind.so',
30 install_path='${PAMMODULESDIR}'
33 if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
34 bld.SAMBA_LIBRARY('winbind_krb5_locator',
35 source='winbind_krb5_locator.c',
36 deps='wbclient krb5 com_err',
37 realname='winbind_krb5_locator.so')
39 bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
40 source='wb_reqtrans.c',
41 deps='talloc tevent LIBASYNC_REQ'
44 bld.SAMBA_BINARY('wbinfo',
45 source='wbinfo.c',
46 deps='samba-util LIBCLI_AUTH popt POPT_SAMBA wbclient LIBAFS_SETTOKEN'