summaryrefslogtreecommitdiff
path: root/source3/pam_smbpass/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-28 08:54:39 +0200
committerGünther Deschner <gd@samba.org>2010-09-28 09:41:54 +0200
commit5fcd0471e59c35d0769628fa8d1a021bf78b714c (patch)
tree49339e765a63a3c5abb1ff4319382f39272298de /source3/pam_smbpass/wscript_build
parent07697fa053099a01035a30f4d05dffeafff96c75 (diff)
downloadsamba-5fcd0471e59c35d0769628fa8d1a021bf78b714c.tar.gz
samba-5fcd0471e59c35d0769628fa8d1a021bf78b714c.tar.bz2
samba-5fcd0471e59c35d0769628fa8d1a021bf78b714c.zip
s3-waf: add pam_smbpass.
Guenther
Diffstat (limited to 'source3/pam_smbpass/wscript_build')
-rw-r--r--source3/pam_smbpass/wscript_build13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/pam_smbpass/wscript_build b/source3/pam_smbpass/wscript_build
new file mode 100644
index 0000000000..39e615e811
--- /dev/null
+++ b/source3/pam_smbpass/wscript_build
@@ -0,0 +1,13 @@
+#!/usr/bin/env python
+
+if bld.CONFIG_SET('HAVE_PAM_START'):
+ bld.SAMBA_LIBRARY('pamsmbpass',
+ source='''pam_smb_auth.c
+ pam_smb_passwd.c
+ pam_smb_acct.c
+ support.c''',
+ deps='''tdb talloc pam libwbclient cap ASN1_UTIL PARAM LIB_NONSMBD PASSDB GROUPDB SMBLDAP
+ LIBSAMBA LIBTSOCKET''',
+ cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
+ realname='pam_smbpass.so',
+ )