1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

61483 Commits

Author SHA1 Message Date
Andrew Tridgell
4731442dfa s4-waf: format-subunit and filter-subunit are in python now 2010-04-06 20:27:22 +10:00
Andrew Tridgell
fe0febcf30 s4-waf: added new install system for external python libs 2010-04-06 20:27:22 +10:00
Andrew Tridgell
60bfedb8f4 s4-waf: filter-subunit has been renamed 2010-04-06 20:27:22 +10:00
Andrew Tridgell
4fa9c3187d s4-waf: updates for the new python installer from jelmer 2010-04-06 20:27:22 +10:00
Andrew Tridgell
ba64e236d5 build: much simpler and faster rpath install handler
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-06 20:27:22 +10:00
Andrew Tridgell
6dbf576e81 build: only link install targets at install time 2010-04-06 20:27:22 +10:00
Andrew Tridgell
f189af143b build: enable nothreads workaround only with WAF_NOTHREADS=1 2010-04-06 20:27:21 +10:00
Andrew Tridgell
d06df81df2 build: fixed the dependencies of the install targets
we want the install targets to have identical calculated dependencies
to the build targets.
2010-04-06 20:27:21 +10:00
Andrew Tridgell
375277beee s4-waf: disable MAKEMAKER until a dependency problem is solved 2010-04-06 20:27:21 +10:00
Andrew Tridgell
c0b67c6e7e build: fixed the task counter when nothreads is used 2010-04-06 20:27:21 +10:00
Andrew Tridgell
a7386c9625 s4-waf: set JOBS=1 during configure.waf
this allows configure to run on AIX, which has broken threading
2010-04-06 20:27:21 +10:00
Andrew Tridgell
e42a13d1d0 build: enable 'nothreads' when JOBS=1
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-06 20:27:21 +10:00
Andrew Tridgell
fe2c1f1e7c build: refactor the object reduction code
split it out into a separate function, and use the final_* attributes
instead of the direct_* and indirect_* attributes
2010-04-06 20:27:21 +10:00
Andrew Tridgell
d830661f22 s4-waf: remove PYTHONDIR from config.h
prevent unnecessary rebuilds
2010-04-06 20:27:21 +10:00
Andrew Tridgell
aceb14f611 s4-waf: use cflags for LDB_MODULESDIR
this prevents rebuilds when it changes
2010-04-06 20:27:21 +10:00
Andrew Tridgell
9ac8899d87 build: sys.exit is better than raise here
using raise produces a screen full of stuff the user can't
understand. The message is much clearer with an exit
2010-04-06 20:27:21 +10:00
Andrew Tridgell
cd104102b9 build: don't define vars in config.h for CONFIG_PATH()
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-06 20:27:20 +10:00
Andrew Tridgell
dab7b26528 s4-waf: we don't need strerror_r from roken 2010-04-06 20:27:20 +10:00
Andrew Tridgell
30fa7da524 build: finally got LIBRARY<->LIBRARY reductions working
the install size is now 100M
2010-04-06 20:27:20 +10:00
Andrew Tridgell
3154733c33 build: add python library object reduction
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-06 20:27:20 +10:00
Andrew Tridgell
d39b44c989 build: python libs need to be built shared, regardless of --disable-shared
we don't have a way to load them otherwise
2010-04-06 20:27:19 +10:00
Andrew Tridgell
178b0d178d build: add require_headers option to CHECK_BUNDLED_SYSTEM()
Useful to ensure the package has usable headers
2010-04-06 20:27:18 +10:00
Andrew Tridgell
b498378c8f s4-waf: fixed some of the group ordering
We need to try to keep targets in the right groups
2010-04-06 20:27:18 +10:00
Andrew Tridgell
20a8574717 s4-waf: look in libintl for dgettext() 2010-04-06 20:27:18 +10:00
Andrew Tridgell
0a6a808113 s4-waf: add getaddrinfo.c replacement if needed 2010-04-06 20:27:18 +10:00
Andrew Tridgell
4854afcfa1 build: expand indirect includes to fix disable-shared build 2010-04-06 20:27:18 +10:00
Andrew Tridgell
354a76aeb3 build: fixed install target for systems with rpath disabled 2010-04-06 20:27:18 +10:00
Andrew Tridgell
385e02e9d9 build: added functions for compound configuration testing
This allows us to give a single 'Checking ...' msg for a compound
set of tests.
2010-04-06 20:27:18 +10:00
Andrew Tridgell
33d5c4a18c build: don't link when checking a C prototype 2010-04-06 20:27:18 +10:00
Andrew Tridgell
8e36daf513 s4-waf: added test for dlopen prototype 2010-04-06 20:27:18 +10:00
Andrew Tridgell
77a4fe495e s4-waf: added a --enable-selftest option as a shortcut
This is equiavalent to --enable-uid-wrapper --enable-nss-wrapper --enable-socket-wrapper
but is easier to remember!
2010-04-06 20:27:17 +10:00
Andrew Tridgell
7da57cc94b build: tweak the strategy for finding functions
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-06 20:27:17 +10:00
Andrew Tridgell
9da89b4dda s4-waf: show the fully expanded test command
this makes it easier to run it separately
2010-04-06 20:27:17 +10:00
Andrew Tridgell
8ed23a408d build: new waf version with local patches replaced by upstream changes 2010-04-06 20:27:17 +10:00
Andrew Tridgell
2277134e8e build: removed debug line 2010-04-06 20:27:17 +10:00
Andrew Tridgell
172b8c55f7 s4-waf: use the versions of perl/python found by configure 2010-04-06 20:27:17 +10:00
Andrew Tridgell
6c76919ab5 s4-waf: don't assume perl takes -W option 2010-04-06 20:27:17 +10:00
Andrew Tridgell
f0f67ebd2f build: fixed a configure error with a totally clean tree 2010-04-06 20:27:17 +10:00
Andrew Tridgell
874e39cbf0 s4-waf: added implied_deps for system libraries
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-06 20:27:17 +10:00
Andrew Tridgell
ed5522adf2 s4-waf: install in /usr/local/samba by default 2010-04-06 20:27:16 +10:00
Andrew Tridgell
b690fedef5 s4-waf: removed the AUTOGENERATED markers
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
989eb9dbdc s4-waf: added rules for rebuilding the yapp parser in pidl 2010-04-06 20:27:16 +10:00
Andrew Tridgell
8692ad4950 s4-waf: updated for new perl subunit options and filter name 2010-04-06 20:27:16 +10:00
Andrew Tridgell
1567750070 s4-waf: added --enable-fhs configure option 2010-04-06 20:27:16 +10:00
Andrew Tridgell
720742424d build: fixed the on_results problem with SAMBA_AUTOPROTO() 2010-04-06 20:27:16 +10:00
Andrew Tridgell
4256382094 talloc-waf: don't build the talloc testsuite in s4
its built into smbtorture already
2010-04-06 20:27:16 +10:00
Andrew Tridgell
7a3dd2c53f build: fixed missing nodes display on errors
when waf can't build something due to a missing file, it displayed the
whole group of files. This update makes it display only the missing
files.
2010-04-06 20:27:16 +10:00
Andrew Tridgell
3e01746420 ldb-waf: ldb needs HAVE_CONFIG_H for building a bundled popt 2010-04-06 20:27:16 +10:00
Andrew Tridgell
65edcfa016 build: added pattern option for recursive_dirlist
also added LOAD_ENVIRONMENT(), which will be used in the testsuite
2010-04-06 20:27:16 +10:00
Andrew Tridgell
cd8de15819 s4-waf: added pydoctor and wafdocs targets
these generate html documentation for the Samba python code

You need a very recent version of pydoctor
2010-04-06 20:27:15 +10:00