source: trunk/server/nsswitch/wscript_build

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 1.0 KB
Line 
1#!/usr/bin/env python
2
3bld.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
8 )
9
10
11bld.SAMBA_BINARY('nsstest',
12 source='nsstest.c',
13 deps='replace dl'
14 )
15
16
17bld.SAMBA_LIBRARY('nss_winbind',
18 source='winbind_nss_linux.c',
19 deps='winbind-client',
20 realname='libnss_winbind.so.2',
21 vnum='2')
22
23
24if 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',
30 )
31
32if 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')
37
38bld.SAMBA_SUBSYSTEM('WB_REQTRANS',
39 source='wb_reqtrans.c',
40 deps='talloc tevent LIBASYNC_REQ'
41 )
Note: See TracBrowser for help on using the repository browser.