summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
AgeCommit message (Collapse)AuthorFilesLines
2010-04-12build: allow target upgrades from EMPTY to SYSLIBAndrew Tridgell2-2/+2
A library may be initially set as empty if it wasn't needed for a list of functions in CHECK_FUNCS_IN(). A later check may require the library. Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-12build: cope with symlinks between build components in waf distAndrew Tridgell1-2/+50
This will allow us to have autogen-waf.sh be a symlink to ../buildtools/scripts/autogen-waf.sh in each library. That will prevent people from updating only the script in source4/, and forgetting to udpate the scripts in the other libs, as happened with commit f3f82496
2010-04-12build: added --minimum-library-version configure optionAndrew Tridgell2-0/+23
this allows the packager to override the default choice of system library version
2010-04-09build: use Logs.error() and Logs.info() instead of print()Andrew Tridgell6-27/+29
this gives appropriate colors on output, and ensures it works with compiler output
2010-04-09build: nicer error message on missing file in waf distAndrew Tridgell1-2/+6
2010-04-09build: no need to re-create the lib and bin symlinks if they existAndrew Tridgell1-0/+6
this saves a few unlink/symlink calls for null builds
2010-04-09build: added --picky-developer and --fatal-errorsAndrew Tridgell2-1/+13
Added configure options for --fatal-errors and --picky-developer. This removes -Wfatal-errors from the --enable-developer flags.
2010-04-08build: we need this isinstance() check for distcheckAndrew Tridgell1-1/+1
Jelmer, this works around a bug in waf distcheck that will be fixed soon. We really need the isinstance() check for now.
2010-04-08build: the exceptions here are not usefulAndrew Tridgell1-3/+3
they just make the failure hard to spot
2010-04-08build: make the handling of relative paths a bit sanerAndrew Tridgell6-18/+16
This should fix a problem that Anatoliy has struck with the PIDL rules. It also brings us much closer to a working build for a true out of tree build (ie. with waf configure -b /tmp/build)
2010-04-08build: allow the waf build to work with python 3.0 and 3.1Thomas Nagy5-20/+23
Python 3.x is a bit fussier about print statements and indentation. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-07s4-waf: Fix 'waf dist' app name.Jelmer Vernooij1-1/+1
2010-04-06build: use a target_in_list() function for more flexible builtin controlAndrew Tridgell1-3/+14
2010-04-06build: cope with binaries with subdir prefixes (for s3 waf build)Andrew Tridgell1-1/+1
2010-04-06s4-waf: replace TOUCH_FILE() with normal install rulesAndrew Tridgell2-14/+1
this allows it to work with 'waf uninstall'
2010-04-06build: simpler symlink_bin and symlink_lib methodsAndrew Tridgell1-22/+20
2010-04-06s4-waf: fixed waf distcheck for our standalone libs and s4Andrew Tridgell1-3/+8
2010-04-06build: fixed LOAD_ENVIRONMENT for out of tree buildsAndrew Tridgell1-1/+2
2010-04-06s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell2-12/+32
This works with both standalone lib builds and bundled builds
2010-04-06s4-waf: avoid having to run waf configure before waf distAndrew Tridgell1-13/+10
This should be useful for building tarballs from a clean checkout
2010-04-06build: nicer error msg when git ls-files failsAndrew Tridgell1-1/+5
2010-04-06s4-waf: added 'waf dist' to our standalone libs as wellAndrew Tridgell2-4/+7
2010-04-06s4-waf: added 'waf dist' to build the tarballAndrew Tridgell2-0/+70
2010-04-06build: removed some unused imports found by pyflakesAndrew Tridgell3-4/+2
thanks to Jelmer for pointing me at pyflakes
2010-04-06build: fixed the expansions in pkgconfig filesAndrew Tridgell1-1/+7
thanks to Jelmer for the hint on this
2010-04-06build: fixed DESTDIR for TOUCH_FILE()Andrew Tridgell1-1/+6
2010-04-06build: try the generic C compiler on hpux if gcc not foundAndrew Tridgell1-0/+1
2010-04-06build: added 'generic' cc support and a simple irix cc support moduleAndrew Tridgell4-1/+150
these will let us get past the 'detect cc' stage and try a build. It also makes for a reasonable template for new ports
2010-04-06build: initial version of a tru64 compiler moduleAndrew Tridgell2-0/+78
this doesn't do shared libs yet, but at least configure passes
2010-04-06pidl-waf: better handling of the man page generationAndrew Tridgell1-2/+0
we now avoid leaving build files in the source tree
2010-04-06build: don't depend on the blib/ files in SAMBA_PIDL()Andrew Tridgell1-1/+1
2010-04-06build: loop until all object reductions are completeAndrew Tridgell1-2/+14
we will issue a warning if any object duplication remains
2010-04-06build: make sure the directory exists in TOUCH_FILE()Andrew Tridgell1-0/+1
2010-04-06build: nicer display of command type for prototypes and generatorsAndrew Tridgell2-0/+12
2010-04-06s4-waf: create a blank __init__.py in samba/externalAndrew Tridgell1-0/+5
needed for the external lib loader
2010-04-06build: a bit more information for tracking --target depsAndrew Tridgell1-1/+2
2010-04-06s4-waf: updates for the new python installer from jelmerAndrew Tridgell1-5/+15
2010-04-06build: much simpler and faster rpath install handlerAndrew Tridgell3-198/+172
This avoids creating additional task generators at build time, and instead moves all the rpath logic into samba_install.py where it is triggered by the install_lib and install_bin features
2010-04-06build: only link install targets at install timeAndrew Tridgell3-25/+31
2010-04-06build: enable nothreads workaround only with WAF_NOTHREADS=1Andrew Tridgell2-6/+8
2010-04-06build: fixed the dependencies of the install targetsAndrew Tridgell2-8/+56
we want the install targets to have identical calculated dependencies to the build targets.
2010-04-06build: fixed the task counter when nothreads is usedAndrew Tridgell1-0/+1
2010-04-06build: enable 'nothreads' when JOBS=1Andrew Tridgell2-0/+220
this makes waf not use pthreads, which should fix the problems on AIX and maybe on HPUX. It looks like process handling with Python on AIX is broken if threads are used. When JOBS=1 we don't need threads anyway.
2010-04-06build: refactor the object reduction codeAndrew Tridgell1-30/+39
split it out into a separate function, and use the final_* attributes instead of the direct_* and indirect_* attributes
2010-04-06build: sys.exit is better than raise hereAndrew Tridgell1-2/+2
using raise produces a screen full of stuff the user can't understand. The message is much clearer with an exit
2010-04-06build: don't define vars in config.h for CONFIG_PATH()Andrew Tridgell1-2/+0
we don't want paths in config.h, as that just causes full rebuilds when you change --prefix. Better to use cflags= on the right subsystem
2010-04-06build: finally got LIBRARY<->LIBRARY reductions workingAndrew Tridgell1-2/+12
the install size is now 100M
2010-04-06build: add python library object reductionAndrew Tridgell1-1/+1
This reduces the install size of s4 from 393M down to 132M on my system. We had a lot of duplicate code in our python modules!
2010-04-06build: python libs need to be built shared, regardless of --disable-sharedAndrew Tridgell1-2/+2
we don't have a way to load them otherwise
2010-04-06build: add require_headers option to CHECK_BUNDLED_SYSTEM()Andrew Tridgell1-2/+6
Useful to ensure the package has usable headers