diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
commit | 4f5791ebd03eaec1c7da0865a383175b05102712 (patch) | |
tree | 8ce7b00f7a76baa386372422adebbe64510812d4 /third_party/wscript | |
parent | Initial commit. (diff) | |
download | samba-4f5791ebd03eaec1c7da0865a383175b05102712.tar.xz samba-4f5791ebd03eaec1c7da0865a383175b05102712.zip |
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'third_party/wscript')
-rw-r--r-- | third_party/wscript | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/third_party/wscript b/third_party/wscript new file mode 100644 index 0000000..a17c15b --- /dev/null +++ b/third_party/wscript @@ -0,0 +1,33 @@ +#!/usr/bin/env python + +from waflib import Options + +def configure(conf): + conf.RECURSE('cmocka') + conf.RECURSE('popt') + if not conf.CONFIG_SET('HAVE_GNUTLS_AES_CMAC'): + conf.RECURSE('aesni-intel') + if conf.CONFIG_GET('ENABLE_SELFTEST'): + conf.RECURSE('socket_wrapper') + conf.RECURSE('nss_wrapper') + conf.RECURSE('resolv_wrapper') + conf.RECURSE('uid_wrapper') + if Options.options.with_pam: + conf.RECURSE('pam_wrapper') + + +def build(bld): + bld.RECURSE('cmocka') + bld.RECURSE('popt') + if not bld.CONFIG_SET('HAVE_GNUTLS_AES_CMAC'): + bld.RECURSE('aesni-intel') + if bld.CONFIG_GET('SOCKET_WRAPPER'): + bld.RECURSE('socket_wrapper') + if bld.CONFIG_GET('NSS_WRAPPER'): + bld.RECURSE('nss_wrapper') + if bld.CONFIG_GET('RESOLV_WRAPPER'): + bld.RECURSE('resolv_wrapper') + if bld.CONFIG_GET('UID_WRAPPER'): + bld.RECURSE('uid_wrapper') + if bld.CONFIG_GET('PAM_WRAPPER'): + bld.RECURSE('pam_wrapper') |