#!/usr/bin/env python

bld.SAMBA3_SUBSYSTEM('PTHREADPOOL',
                     source='pthreadpool.c',
                     deps='pthread rt',
                     enabled=bld.env.WITH_PTHREADPOOL)

bld.SAMBA3_BINARY('pthreadpooltest',
                  source='tests.c',
                  deps='PTHREADPOOL',
                  enabled=bld.env.WITH_PTHREADPOOL)