summaryrefslogtreecommitdiff
path: root/examples/libsmbclient
diff options
context:
space:
mode:
Diffstat (limited to 'examples/libsmbclient')
-rw-r--r--examples/libsmbclient/testutime.c1
-rw-r--r--examples/libsmbclient/wscript_build86
2 files changed, 87 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)