summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/iniparser/wscript_build7
-rw-r--r--nsswitch/wscript_build12
-rw-r--r--source4/wscript_build1
3 files changed, 20 insertions, 0 deletions
diff --git a/lib/iniparser/wscript_build b/lib/iniparser/wscript_build
new file mode 100644
index 0000000000..419c232f91
--- /dev/null
+++ b/lib/iniparser/wscript_build
@@ -0,0 +1,7 @@
+#!/usr/bin/env python
+
+bld.SAMBA_SUBSYSTEM('LIBINIPARSER',
+ source='../iniparser_build/iniparser.c ../iniparser_build/dictionary.c ../iniparser_build/strlib.c',
+ deps='replace',
+ cflags=''
+ )
diff --git a/nsswitch/wscript_build b/nsswitch/wscript_build
index 80f11871c9..9303ace0da 100644
--- a/nsswitch/wscript_build
+++ b/nsswitch/wscript_build
@@ -18,3 +18,15 @@ bld.SAMBA_BINARY('wbinfo',
deps='LIBSAMBA-UTIL LIBCLI_AUTH popt POPT_SAMBA LIBWINBIND-CLIENT LIBWBCLIENT tevent UTIL_TEVENT LIBASYNC_REQ UID_WRAPPER'
)
+bld.SAMBA_LIBRARY('nsswinbind',
+ source='../nsswitch/winbind_nss_linux.c',
+ deps='LIBWINBIND-CLIENT',
+ realname='libnss_winbind.so',
+ vnum='2')
+
+bld.SAMBA_LIBRARY('pamwinbind',
+ source='../nsswitch/pam_winbind.c',
+ deps='talloc LIBWBCLIENT LIBWINBIND-CLIENT LIBINIPARSER pam',
+ cflags='-DLOCALEDIR=\"%s/locale\"' % bld.env.DATADIR,
+ realname='pam_winbind.so',
+ )
diff --git a/source4/wscript_build b/source4/wscript_build
index 6c1eac6905..c8c14bc2b3 100644
--- a/source4/wscript_build
+++ b/source4/wscript_build
@@ -56,6 +56,7 @@ bld.RECURSE('cluster')
bld.RECURSE('smbd')
bld.RECURSE('libnet')
bld.RECURSE('auth')
+bld.RECURSE('../lib/iniparser')
bld.RECURSE('../nsswitch')
bld.RECURSE('../nsswitch/libwbclient')
bld.RECURSE('lib/samba3')