summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/libsmbclient/testutime.c1
-rw-r--r--examples/libsmbclient/wscript_build86
-rwxr-xr-xsource3/wscript_build1
3 files changed, 88 insertions, 0 deletions
diff --git a/examples/libsmbclient/testutime.c b/examples/libsmbclient/testutime.c
index 2ad395f862..8624ca108b 100644
--- a/examples/libsmbclient/testutime.c
+++ b/examples/libsmbclient/testutime.c
@@ -1,3 +1,4 @@
+#include "config.h"
#include <stdio.h>
#include <unistd.h>
#include <string.h>
diff --git a/examples/libsmbclient/wscript_build b/examples/libsmbclient/wscript_build
new file mode 100644
index 0000000000..bb67158551
--- /dev/null
+++ b/examples/libsmbclient/wscript_build
@@ -0,0 +1,86 @@
+#!/usr/bin/env python
+
+bld.SAMBA3_BINARY('testsmbc',
+ source='testsmbc.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testacl',
+ source='testacl.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testacl2',
+ source='testacl2.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testacl3',
+ source='testacl3.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testbrowse',
+ source='testbrowse.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testbrowse2',
+ source='testbrowse2.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('teststat',
+ source='teststat.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('teststat2',
+ source='teststat2.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('teststat3',
+ source='teststat3.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('teststatvfs',
+ source='teststatvfs.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testfstatvfs',
+ source='testfstatvfs.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testtruncate',
+ source='testtruncate.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testchmod',
+ source='testchmod.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testutime',
+ source='testutime.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testread',
+ source='testread.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testwrite',
+ source='testwrite.c',
+ deps='smbclient',
+ install=False)
+
+bld.SAMBA3_BINARY('testctx',
+ source='testctx.c',
+ deps='smbclient',
+ install=False)
diff --git a/source3/wscript_build b/source3/wscript_build
index c9e60c043e..77678d6a7d 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -1409,6 +1409,7 @@ bld.RECURSE('passdb')
bld.RECURSE('rpc_server')
bld.RECURSE('winbindd')
bld.RECURSE('../examples/auth')
+bld.RECURSE('../examples/libsmbclient')
bld.RECURSE('../examples/pdb')
bld.RECURSE('../examples/VFS')