summaryrefslogtreecommitdiffstats
path: root/source4/torture/krb5/wscript_build
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/krb5/wscript_build')
-rw-r--r--source4/torture/krb5/wscript_build19
1 files changed, 19 insertions, 0 deletions
diff --git a/source4/torture/krb5/wscript_build b/source4/torture/krb5/wscript_build
new file mode 100644
index 0000000..f59aa88
--- /dev/null
+++ b/source4/torture/krb5/wscript_build
@@ -0,0 +1,19 @@
+#!/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)