1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/lib/pthreadpool/wscript_build
Andrew Bartlett f22e15d9d5 build: Do not install testing binaries
These binaries are for developer or selftest use, and are not
supported for installation onto the system.  The autoconf build does
not install these binaries, and so neither should the waf build.

Andrew Bartlett

Reviewed-by: Andreas Schneider <asn@samba.org>

Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date(master): Thu Nov 22 12:00:36 CET 2012 on sn-devel-104
2012-11-22 12:00:36 +01:00

18 lines
532 B
Python

#!/usr/bin/env python
if bld.env.WITH_PTHREADPOOL:
bld.SAMBA3_SUBSYSTEM('PTHREADPOOL',
source='pthreadpool.c',
deps='pthread rt replace')
else:
bld.SAMBA3_SUBSYSTEM('PTHREADPOOL',
source='pthreadpool_sync.c',
deps='replace')
bld.SAMBA3_BINARY('pthreadpooltest',
source='tests.c',
deps='PTHREADPOOL',
enabled=bld.env.WITH_PTHREADPOOL,
install=False)