third_party/heimdal: import lorikeet-heimdal-202404171655 (commit 28a56d818074e049f03...
[samba.git] / third_party / wscript
1 #!/usr/bin/env python
2
3 from waflib import Options
4
5 def configure(conf):
6     conf.RECURSE('cmocka')
7     conf.RECURSE('popt')
8     if conf.CONFIG_GET('ENABLE_SELFTEST'):
9         conf.RECURSE('socket_wrapper')
10         conf.RECURSE('nss_wrapper')
11         conf.RECURSE('resolv_wrapper')
12         conf.RECURSE('uid_wrapper')
13         if Options.options.with_pam:
14             conf.RECURSE('pam_wrapper')
15
16
17 def build(bld):
18     bld.RECURSE('cmocka')
19     bld.RECURSE('popt')
20     if bld.CONFIG_GET('SOCKET_WRAPPER'):
21         bld.RECURSE('socket_wrapper')
22     if bld.CONFIG_GET('NSS_WRAPPER'):
23         bld.RECURSE('nss_wrapper')
24     if bld.CONFIG_GET('RESOLV_WRAPPER'):
25         bld.RECURSE('resolv_wrapper')
26     if bld.CONFIG_GET('UID_WRAPPER'):
27         bld.RECURSE('uid_wrapper')
28     if bld.CONFIG_GET('PAM_WRAPPER'):
29         bld.RECURSE('pam_wrapper')