diff options
author | Günther Deschner <gd@samba.org> | 2011-02-17 00:11:18 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2011-02-17 00:52:42 +0100 |
commit | 743b13b8e0bb1a79219d4cd89a4c3e3f75344d2c (patch) | |
tree | 3c540d931457fb7f752e5b9f61f634e2b1b91005 /nsswitch/wscript_build | |
parent | 9867b7bf34c80a12b936682ab6cb686ab45ca51c (diff) | |
download | samba-743b13b8e0bb1a79219d4cd89a4c3e3f75344d2c.tar.gz samba-743b13b8e0bb1a79219d4cd89a4c3e3f75344d2c.tar.bz2 samba-743b13b8e0bb1a79219d4cd89a4c3e3f75344d2c.zip |
s3-waf: make most of the nsswitch common.
Guenther
Diffstat (limited to 'nsswitch/wscript_build')
-rw-r--r-- | nsswitch/wscript_build | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build index 691f82f160..a81b01bcbd 100644 --- a/nsswitch/wscript_build +++ b/nsswitch/wscript_build @@ -15,15 +15,22 @@ bld.SAMBA_BINARY('nsstest', bld.SAMBA_LIBRARY('nss_winbind', - source='../nsswitch/winbind_nss_linux.c', + source='winbind_nss_linux.c', deps='winbind-client', realname='libnss_winbind.so.2', vnum='2') -if bld.CONFIG_SET('HAVE_PAM_START'): + +if bld.CONFIG_SET('WITH_PAM_MODULES') or bld.CONFIG_SET('HAVE_PAM_START'): bld.SAMBA_LIBRARY('pamwinbind', - source='../nsswitch/pam_winbind.c', + source='pam_winbind.c', deps='intl talloc wbclient winbind-client LIBINIPARSER pam', cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR, realname='pam_winbind.so', ) + +if bld.CONFIG_SET('HAVE_KRB5_LOCATE_PLUGIN_H'): + bld.SAMBA_LIBRARY('winbind_krb5_locator', + source='winbind_krb5_locator.c', + deps='wbclient krb5', + realname='winbind_krb5_locator.so') |