s3-printing: return talloced print jobs
[Samba.git] / nsswitch / wscript_build
blob83b10a7969f226ec68454a7d63e8d898498f68bf
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') or 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',
32 if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
33 bld.SAMBA_LIBRARY('winbind_krb5_locator',
34 source='winbind_krb5_locator.c',
35 deps='wbclient krb5',
36 realname='winbind_krb5_locator.so')
38 bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
39 source='wb_reqtrans.c',
40 deps='talloc tevent LIBASYNC_REQ'