1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/buildtools/wafsamba
Ian Stakenvicius 5bbcd09382 waf: disable-python - add option globally to build system
This commit adds --disable-python as an option to the build system.
It adds PYTHON_BUILD_IS_ENABLED() to bld, to be used with enabled=
on other modules, and adjusts SAMBA_PYTHON() to set enabled=False
if PYTHON_BUILD_IS_ENABLED() is false.

Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
2017-03-10 07:31:12 +01:00
..
tests wafsamba.abi: Fix abi_match with both excludes and includes. 2012-11-06 08:27:44 +11:00
__init__.py waf: Add initial unit test for samba_utils. 2012-02-12 18:44:09 +01:00
configure_file.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
generic_cc.py wafsamba: Expand tabs. 2012-02-10 00:07:56 +01:00
hpuxcc.py build: hpux didn't support -Bdynamic 2010-12-15 12:07:32 +03:00
irixcc.py wafsamba/irixcc: next try to inject '-c99' the the build 2012-06-20 12:58:57 +02:00
nothreads.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
pkgconfig.py talloc: use the system pytalloc-util for python3 as well 2017-03-10 07:31:10 +01:00
README build: tidy up the wafsamba rules a bit 2010-04-06 20:27:14 +10:00
samba3.py wafsamba: Move command line option function labelled as 'samba3' to the common set of functions 2017-02-09 20:04:12 +01:00
samba_abi.py build:wafsamba: Specify whether node objects or flat lists in ant_glob 2015-11-24 05:00:27 +01:00
samba_autoconf.py wafsamba: add -Werror=format-security to the developer build 2016-09-05 20:22:59 +02:00
samba_autoproto.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_bundled.py build:wafsamba: Remove samba_utils.runonce 2015-11-06 10:37:24 +01:00
samba_conftests.py waf: Fix a typo 2017-03-01 20:33:18 +01:00
samba_cross.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_deps.py buildtools: Work around a . being in the target name when building python3 helpers 2017-03-10 07:31:11 +01:00
samba_dist.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_git.py Factor out submodule presence checking. 2015-05-19 22:17:47 +02:00
samba_headers.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_install.py build:wafsamba: Ensure that target clones get a different name 2015-11-24 05:00:27 +01:00
samba_optimisation.py build:wafsamba: Moved samba_before_apply_obj_vars to samba_utils 2015-11-06 10:37:24 +01:00
samba_patterns.py build:wafsamba: Replace Options.is_install by bld.is_install 2015-11-16 11:48:14 +01:00
samba_perl.py build: Fix build with perl on debian sid. 2016-10-29 09:32:36 +02:00
samba_pidl.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_python.py waf: disable-python - add option globally to build system 2017-03-10 07:31:12 +01:00
samba_third_party.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
samba_utils.py wafsamba: Remove 2010 comments that seems not accurate anymore 2017-02-09 20:04:12 +01:00
samba_version.py build:wafsamba: Close file handles in the build scripts too 2015-09-02 00:47:18 +02:00
samba_wildcard.py build:wafsamba: Replace Options.is_install by bld.is_install 2015-11-16 11:48:14 +01:00
stale_files.py s4-python: Various formatting fixes. 2012-09-27 18:45:12 +02:00
symbols.py build:wafsamba: removed most import * statements 2015-10-28 12:52:17 +01:00
test_duplicate_symbol.sh test_duplicate_symbol: Use Samba subunit emitter. 2015-03-06 04:41:47 +01:00
tru64cc.py wafsamba: Expand tabs. 2012-02-10 00:07:56 +01:00
wafsamba.py talloc: use the system pytalloc-util for python3 as well 2017-03-10 07:31:10 +01:00
wscript waf: disable-python - add option globally to build system 2017-03-10 07:31:12 +01: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