1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/nsswitch/wscript_build
Stefan Metzmacher b79c0e1adb Revert "nsswitch Add talloc depencency for nsstest"
This reverts commit 640028d158.

This is not needed anymore.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Tue Jan  4 09:38:57 CET 2011 on sn-devel-104
2011-01-04 09:38:57 +01:00

35 lines
878 B
Python

#!/usr/bin/env python
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
)
bld.SAMBA_BINARY('nsstest',
source='nsstest.c',
deps='replace'
)
bld.SAMBA_BINARY('wbinfo',
source='wbinfo.c',
deps='samba-util LIBCLI_AUTH popt POPT_SAMBA winbind-client wbclient tevent UTIL_TEVENT LIBASYNC_REQ security ndr NDR_SECURITY'
)
bld.SAMBA_LIBRARY('nss_winbind',
source='../nsswitch/winbind_nss_linux.c',
deps='winbind-client',
realname='libnss_winbind.so.2',
vnum='2')
if bld.CONFIG_SET('HAVE_PAM_START'):
bld.SAMBA_LIBRARY('pamwinbind',
source='../nsswitch/pam_winbind.c',
deps='intl talloc wbclient winbind-client LIBINIPARSER pam',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_winbind.so',
)