1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/buildtools/wafsamba
Alexander Bokovoy 311e1eb673 wafsamba/samba_autoconf: when setting undefined result, use empty tuple
A difference between waf 1.x and 2.x is that we gained 0 as an undefined
variable in the cache file. This does not allow to differentiate unset
and set to 0 defines.

Force to use empty tuple () to signify unset defines.

Also, fix handling of extra cflags in case of 'strict=True': if
extra_cflags were not defined, we'd append None to the cflags list and
it confuses conf.check() later. 'None' is added to the command line of a
tool executed by the conf.check() which, depending on a tool, may be
treated as an error and cause wrong test result.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2018-09-07 11:37:23 +02:00
..
tests wafsamba/samba_abi: always hide ABI symbols which must be local 2018-07-13 17:45:35 +02:00
__init__.py waf: Add initial unit test for samba_utils. 2012-02-12 18:44:09 +01:00
configure_file.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
generic_cc.py wafsamba: Support clang as C compiler 2018-09-06 12:06:05 +02:00
hpuxcc.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
irixcc.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
nothreads.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
pkgconfig.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
README build: tidy up the wafsamba rules a bit 2010-04-06 20:27:14 +10:00
samba3.py buildtools/wafsamba: reduce imports 2018-09-05 06:37:25 +02:00
samba_abi.py buildtools/wafsamba/samba_abi: always_run helper was deprecated in waf 2.0 2018-09-05 06:37:26 +02:00
samba_autoconf.py wafsamba/samba_autoconf: when setting undefined result, use empty tuple 2018-09-07 11:37:23 +02:00
samba_autoproto.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
samba_bundled.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
samba_conftests.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
samba_cross.py buildtools/wafsamba: use context instead of options for cross-compile checks for waf 2.0 2018-09-05 06:37:27 +02:00
samba_deps.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
samba_dist.py buildtools/wafsamba: use top for waf 2.0 2018-09-05 06:37:26 +02:00
samba_git.py build:wafsamba: Build on waf 1.9 2018-09-05 06:37:21 +02:00
samba_headers.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
samba_install.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
samba_patterns.py buildtools/wafsamba: generate build options output with waf 2.0 2018-09-05 06:37:27 +02:00
samba_perl.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
samba_pidl.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
samba_python.py wafsamba: install Python modules back to bin/python, not bin/python_modules 2018-09-05 06:37:27 +02:00
samba_third_party.py buildtools/wafsamba: use top and out for waf 2.0 2018-09-05 06:37:26 +02:00
samba_utils.py buildtools/wafsamba: use CACHE_SUFFIX instead of a hard-coded name 2018-09-05 06:37:27 +02:00
samba_version.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
samba_waf18.py wafsamba/samba_autoconf: when setting undefined result, use empty tuple 2018-09-07 11:37:23 +02:00
samba_wildcard.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
stale_files.py buildtools/wafsamba: port stale_files to waf 2.0 2018-09-05 06:37:27 +02:00
symbols.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
test_duplicate_symbol.sh test_duplicate_symbol: Use Samba subunit emitter. 2015-03-06 04:41:47 +01:00
tru64cc.py third_party:waf: update to upstream 2.0.4 release 2018-09-05 06:37:22 +02:00
wafsamba.py wafsamba: install Python modules back to bin/python, not bin/python_modules 2018-09-05 06:37:27 +02:00
wscript wafsamba: use correct context for APPNAME 2018-09-05 06:37:26 +02:00

This is a set of waf 'tools' to help make building the Samba
components easier, by having common functions in one place. This gives
us a more consistent build, and ensures that our project rules are
obeyed


TODO:
	see http://wiki.samba.org/index.php/Waf