#!/usr/bin/env python pytalloc_util = bld.pyembed_libname('pytalloc-util') bld.SAMBA_LIBRARY('samba-policy', source='gp_ldap.c gp_filesys.c gp_manage.c gp_ini.c', pc_files='samba-policy.pc', public_deps='ldb samba-net', vnum='0.0.1', public_headers='policy.h') bld.SAMBA_PYTHON( 'py_policy', source='pypolicy.c', public_deps=f'samba-policy {pytalloc_util}', realname='samba/policy.so' )