summaryrefslogtreecommitdiff
path: root/source3/lib/pthreadpool/wscript_build
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-27 13:16:59 +0200
committerGünther Deschner <gd@samba.org>2011-04-27 17:57:32 +0200
commit66b26195d21f0889e7ccd0de25a5827bb3722196 (patch)
tree4216f0bffd71b33d2b2981c4b314d61396afff9c /source3/lib/pthreadpool/wscript_build
parentcad8fafa0391e9f13c2958c45ca5ec57f93f1e7b (diff)
downloadsamba-66b26195d21f0889e7ccd0de25a5827bb3722196.tar.gz
samba-66b26195d21f0889e7ccd0de25a5827bb3722196.tar.bz2
samba-66b26195d21f0889e7ccd0de25a5827bb3722196.zip
s3-waf: add pthreadpool support.
Volker, please check. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Apr 27 17:57:32 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/lib/pthreadpool/wscript_build')
-rw-r--r--source3/lib/pthreadpool/wscript_build11
1 files changed, 11 insertions, 0 deletions
diff --git a/source3/lib/pthreadpool/wscript_build b/source3/lib/pthreadpool/wscript_build
new file mode 100644
index 0000000000..7679b58c44
--- /dev/null
+++ b/source3/lib/pthreadpool/wscript_build
@@ -0,0 +1,11 @@
+#!/usr/bin/env python
+
+bld.SAMBA3_SUBSYSTEM('PTHREADPOOL',
+ source='pthreadpool.c',
+ deps='pthread',
+ enabled=bld.env.WITH_PTHREADPOOL)
+
+bld.SAMBA3_BINARY('pthreadpooltest',
+ source='tests.c',
+ deps='PTHREADPOOL',
+ enabled=bld.env.WITH_PTHREADPOOL)