s4: popt: Add set/get/free functions for cmdline_credentials.
[Samba.git] / lib / pthreadpool / wscript_build
blobd5304635915b14364d0e07b3f0f6b42f2430a864
1 #!/usr/bin/env python
3 if bld.env.WITH_PTHREADPOOL:
4 bld.SAMBA_SUBSYSTEM('PTHREADPOOL',
5 source='''pthreadpool.c
6 pthreadpool_pipe.c
7 pthreadpool_tevent.c
8 ''',
9 deps='pthread rt replace tevent-util')
10 else:
11 bld.SAMBA_SUBSYSTEM('PTHREADPOOL',
12 source='''pthreadpool_sync.c
13 pthreadpool_pipe.c
14 pthreadpool_tevent.c
15 ''',
16 deps='replace tevent-util')
19 bld.SAMBA_BINARY('pthreadpooltest',
20 source='tests.c',
21 deps='PTHREADPOOL',
22 enabled=bld.env.WITH_PTHREADPOOL,
23 install=False)