librpc: fix builds without IPv6 suport (HP-UX 11.00)
[Samba/gbeck.git] / nsswitch / wscript_build
blobacb7313a63baec118a0fd887a5d7452d61786fc2
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='samba-util samba-hostconfig'
17 bld.SAMBA_BINARY('wbinfo',
18 source='wbinfo.c',
19 deps='samba-util LIBCLI_AUTH popt POPT_SAMBA winbind-client wbclient tevent UTIL_TEVENT LIBASYNC_REQ security ndr NDR_SECURITY'
22 bld.SAMBA_LIBRARY('nss_winbind',
23 source='../nsswitch/winbind_nss_linux.c',
24 deps='winbind-client',
25 realname='libnss_winbind.so.2',
26 vnum='2')
28 if bld.CONFIG_SET('HAVE_PAM_START'):
29 bld.SAMBA_LIBRARY('pamwinbind',
30 source='../nsswitch/pam_winbind.c',
31 deps='talloc wbclient winbind-client LIBINIPARSER pam',
32 cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
33 realname='pam_winbind.so',