summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba
AgeCommit message (Collapse)AuthorFilesLines
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
2010-04-06s4-waf: fixed some of the group orderingAndrew Tridgell2-10/+27
We need to try to keep targets in the right groups
2010-04-06build: expand indirect includes to fix disable-shared buildAndrew Tridgell1-3/+32
2010-04-06build: fixed install target for systems with rpath disabledAndrew Tridgell1-3/+3
2010-04-06build: added functions for compound configuration testingAndrew Tridgell2-16/+69
This allows us to give a single 'Checking ...' msg for a compound set of tests.
2010-04-06build: don't link when checking a C prototypeAndrew Tridgell1-0/+2
2010-04-06build: tweak the strategy for finding functionsAndrew Tridgell1-4/+9
Based on a problem with res_ndestroy() on sunx in the build farm, I've changed the default strategy for finding functions with CHECK_FUNC(). It now accepts either a macro of a linked function, but won't accept a declaration only unless you set link=False.
2010-04-06build: removed debug lineAndrew Tridgell1-1/+0
2010-04-06build: fixed a configure error with a totally clean treeAndrew Tridgell1-1/+1
2010-04-06s4-waf: added implied_deps for system librariesAndrew Tridgell2-2/+19
when we use a system version of a library such as talloc, then we no longer get the automtica dependency propogation of talloc implying libreplace. That means we don't get the includes for libreplace, which means things can fail to build. To fix this this change adds an implied_deps option to CHECK_BUNDLED_SYSTEM(), which tells the samba_deps module to add an implied dependency on the listed targets if the system library is chosen.
2010-04-06s4-waf: added rules for rebuilding the yapp parser in pidlAndrew Tridgell1-0/+9
2010-04-06build: added pattern option for recursive_dirlistAndrew Tridgell1-2/+12
also added LOAD_ENVIRONMENT(), which will be used in the testsuite
2010-04-06build: nicer progress display for a standard buildAndrew Tridgell3-17/+37
2010-04-06build: override PACKAGE_VERSION in pkg-config generation for librariesAndrew Tridgell1-6/+8
we should use the vnum
2010-04-06build: reuse SAMBA_LIBRARY() to build python modulesAndrew Tridgell2-42/+47
This allows the rpath logic to be shared, and simplifies the install logic
2010-04-06build: fixed progress displayAndrew Tridgell1-4/+6
2010-04-06build: use 'Compiling foo.c' and 'Linking foo' like old build systemAndrew Tridgell1-0/+19
When -p is not used, display compilation messages similarly to the old build system, but with a progress indicator
2010-04-06s4-waf: ensure we don't end up with mixed versions of talloc/tdb/teventAndrew Tridgell1-1/+15
2010-04-06build: tidy up the wafsamba rules a bitAndrew Tridgell9-170/+84
use python string conventions for function comments
2010-04-06s4-waf: added auto-detection of perl manpage extensionsAndrew Tridgell1-16/+77
some systems produce pidl.1p, others pidl.1. We need to know which one to use.
2010-04-06build: work around missing defaults from gnu_dirs.pyAndrew Tridgell1-12/+3
2010-04-06build: fixed popt subsystem on systems without poptAndrew Tridgell2-7/+9
2010-04-06s4-waf: merge in the latest changes from masterAndrew Tridgell1-0/+12
The heimdal changes mean the asn1 compiler produces a 2nd header file
2010-04-06build: auto-detect platforms which don't support shared libsAndrew Tridgell2-7/+32
2010-04-06build: only add -fPIC if it is supportedAndrew Tridgell1-1/+1
2010-04-06s4-waf: cleanup use of LIBPOPT vs popt dependencyAndrew Tridgell1-1/+13
2010-04-06s4-waf: support the use of system librariesAndrew Tridgell3-8/+30
distros can set --bundled-libraries=NONE to force use of all system libraries. If the right version isn't found then configure will fail. Users may choose which libraries to use from the system, and which to use bundled libs. The default is to try system libs, and use them if their version matches the one in the source tree.
2010-04-06build: better control over bundled library extensionsAndrew Tridgell2-16/+38