2010-03-28 01:48:49 +03:00
#!/usr/bin/env python
2010-10-24 03:23:53 +04:00
bld.SAMBA_LIBRARY('winbind-client',
source='wb_common.c',
deps='replace',
cflags='-DSOCKET_WRAPPER_DISABLE=1 -DWINBINDD_SOCKET_DIR=\"%s\"' % bld.env.WINBINDD_SOCKET_DIR,
private_library=True
)
2010-03-17 14:07:42 +03:00
bld.SAMBA_BINARY('nsstest',
source='nsstest.c',
2011-02-17 06:13:42 +03:00
deps='replace dl'
2010-03-17 14:07:42 +03:00
)
2010-09-14 14:48:57 +04:00
bld.SAMBA_LIBRARY('nss_winbind',
2011-02-17 02:11:18 +03:00
source='winbind_nss_linux.c',
2010-10-24 03:23:53 +04:00
deps='winbind-client',
realname='libnss_winbind.so.2',
vnum='2')
2010-06-05 19:16:20 +04:00
2011-02-17 02:11:18 +03:00
2011-05-08 23:50:34 +04:00
if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
2010-10-24 03:23:53 +04:00
bld.SAMBA_LIBRARY('pamwinbind',
2011-02-17 02:11:18 +03:00
source='pam_winbind.c',
2012-05-09 17:33:04 +04:00
deps='intl talloc wbclient winbind-client iniparser pam',
2010-10-24 03:23:53 +04:00
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_winbind.so',
2011-09-06 11:39:16 +04:00
install_path='${PAMMODULESDIR}'
2010-10-24 03:23:53 +04:00
)
2011-02-17 02:11:18 +03:00
if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
bld.SAMBA_LIBRARY('winbind_krb5_locator',
source='winbind_krb5_locator.c',
2011-10-06 02:36:46 +04:00
deps='wbclient krb5 com_err',
2011-02-17 02:11:18 +03:00
realname='winbind_krb5_locator.so')
2011-02-17 02:43:05 +03:00
bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
source='wb_reqtrans.c',
deps='talloc tevent LIBASYNC_REQ'
)
2011-10-08 04:19:35 +04:00
bld.SAMBA_BINARY('wbinfo',
source='wbinfo.c',
deps='samba-util LIBCLI_AUTH popt POPT_SAMBA wbclient LIBAFS_SETTOKEN'
)