s4 dns: Split up the code into multiple files for easier development
[Samba/gebeck_regimport.git] / nsswitch / wscript_build
blobf783f3ac2c2ec1228ea0e5dbcb2f2e0be74e12cf
1 #!/usr/bin/env python
3 bld.SAMBA_LIBRARY('LIBWINBIND-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
11 bld.SAMBA_BINARY('nsstest',
12 source='nsstest.c',
13 deps='LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG NSS_WRAPPER'
17 bld.SAMBA_BINARY('wbinfo',
18 source='wbinfo.c',
19 deps='LIBSAMBA-UTIL LIBCLI_AUTH popt POPT_SAMBA LIBWINBIND-CLIENT LIBWBCLIENT tevent UTIL_TEVENT LIBASYNC_REQ UID_WRAPPER LIBSECURITY LIBNDR NDR_SECURITY'
22 bld.SAMBA_LIBRARY('nss_winbind',
23 source='../nsswitch/winbind_nss_linux.c',
24 deps='LIBWINBIND-CLIENT',
25 realname='libnss_winbind.so.2',
26 vnum='2')
28 if bld.CONFIG_SET('HAVE_PAM_START'):
29 bld.SAMBA_LIBRARY('pamwinbind',
30 source='../nsswitch/pam_winbind.c',
31 deps='talloc LIBWBCLIENT LIBWINBIND-CLIENT LIBINIPARSER pam',
32 cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
33 realname='pam_winbind.so',