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