summaryrefslogtreecommitdiff
path: root/examples/libsmbclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-10-19 13:56:42 +0200
committerGünther Deschner <gd@samba.org>2011-10-19 20:42:51 +0200
commitce45ae122ee7f5f10c003dd5832a43fa1d65804d (patch)
tree15cc7a0b1594d35db2656f371ecc4e104bcf5bf3 /examples/libsmbclient
parentd825a2add6c6b80a7cf516d726d27ab2be2c90e8 (diff)
downloadsamba-ce45ae122ee7f5f10c003dd5832a43fa1d65804d.tar.gz
samba-ce45ae122ee7f5f10c003dd5832a43fa1d65804d.tar.bz2
samba-ce45ae122ee7f5f10c003dd5832a43fa1d65804d.zip
s3-waf: make sure we always compile (not install) our libsmbclient testcode.
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Oct 19 20:42:52 CEST 2011 on sn-devel-104
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)