WHATSNEW: Update changes.
[Samba/gbeck.git] / nsswitch / wscript_build
blobd70866280193f44fd8b63da77727ab47832c886c
1 #!/usr/bin/env python
3 bld.SAMBA_SUBSYSTEM('LIBWINBIND-CLIENT',
4 source='wb_common.c',
5 deps='replace',
6 cflags='-DSOCKET_WRAPPER_DISABLE=1 -DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR
10 bld.SAMBA_BINARY('nsstest',
11 source='nsstest.c',
12 deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG NSS_WRAPPER'
16 bld.SAMBA_BINARY('wbinfo',
17 source='wbinfo.c',
18 deps='LIBSAMBA-UTIL LIBCLI_AUTH popt POPT_SAMBA LIBWINBIND-CLIENT LIBWBCLIENT tevent UTIL_TEVENT LIBASYNC_REQ UID_WRAPPER'
21 bld.SAMBA_LIBRARY('nsswinbind',
22 source='../nsswitch/winbind_nss_linux.c',
23 deps='LIBWINBIND-CLIENT',
24 realname='libnss_winbind.so',
25 vnum='2')
27 if bld.CONFIG_SET('HAVE_PAM_START'):
28 bld.SAMBA_LIBRARY('pamwinbind',
29 source='../nsswitch/pam_winbind.c',
30 deps='talloc LIBWBCLIENT LIBWINBIND-CLIENT LIBINIPARSER pam',
31 cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
32 realname='pam_winbind.so',