1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#!/usr/bin/env python
import Utils
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 dl'
)
if Utils.unversioned_sys_platform() == 'linux':
bld.SAMBA_LIBRARY('nss_winbind',
source='winbind_nss_linux.c',
deps='winbind-client',
realname='libnss_winbind.so.2',
vnum='2')
if Utils.unversioned_sys_platform() == 'sunos':
bld.SAMBA_LIBRARY('nss_winbind',
source='winbind_nss_solaris.c winbind_nss_linux.c',
deps='winbind-client',
realname='libnss_winbind.so.2',
vnum='2')
if bld.CONFIG_SET('WITH_PAM_MODULES') and bld.CONFIG_SET('HAVE_PAM_START'):
bld.SAMBA_LIBRARY('pamwinbind',
source='pam_winbind.c',
deps='intl talloc wbclient winbind-client iniparser pam',
cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
realname='pam_winbind.so',
install_path='${PAMMODULESDIR}'
)
if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'):
bld.SAMBA_LIBRARY('winbind_krb5_locator',
source='winbind_krb5_locator.c',
deps='wbclient krb5 com_err',
realname='winbind_krb5_locator.so')
bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
source='wb_reqtrans.c',
deps='talloc tevent LIBASYNC_REQ'
)
bld.SAMBA_BINARY('wbinfo',
source='wbinfo.c',
deps='samba-util LIBCLI_AUTH popt POPT_SAMBA wbclient LIBAFS_SETTOKEN'
)
|