1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
samba-mirror/source4/torture/krb5/wscript_build
Andreas Schneider a40bc1d0ee s4:torture: Migrate smbtorture to new cmdline option parser
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2021-06-16 00:34:38 +00:00

20 lines
880 B
Python

#!/usr/bin/env python
if bld.CONFIG_SET('AD_DC_BUILD_IS_ENABLED'):
if bld.CONFIG_SET('SAMBA4_USES_HEIMDAL'):
bld.SAMBA_MODULE('TORTURE_KRB5',
source='kdc-heimdal.c kdc-canon-heimdal.c',
autoproto='proto.h',
subsystem='smbtorture',
init_function='torture_krb5_init',
deps='authkrb5 torture KERBEROS_UTIL',
internal_module=True)
else:
bld.SAMBA_MODULE('TORTURE_KRB5',
source='kdc-mit.c',
autoproto='proto.h',
subsystem='smbtorture',
init_function='torture_krb5_init',
deps='authkrb5 torture KERBEROS_UTIL',
internal_module=True)