1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

168 Commits

Author SHA1 Message Date
Andrew Tridgell
d87b77e649 build: reuse SAMBA_LIBRARY() to build python modules
This allows the rpath logic to be shared, and simplifies the install
logic
2010-04-06 20:27:15 +10:00
Andrew Tridgell
6dc2b16859 build: fixed progress display 2010-04-06 20:27:15 +10:00
Andrew Tridgell
3d4c99207d build: use 'Compiling foo.c' and 'Linking foo' like old build system
When -p is not used, display compilation messages similarly to the old
build system, but with a progress indicator
2010-04-06 20:27:15 +10:00
Andrew Tridgell
a2b4d7e8eb s4-waf: ensure we don't end up with mixed versions of talloc/tdb/tevent 2010-04-06 20:27:15 +10:00
Andrew Tridgell
b7ff06b904 build: tidy up the wafsamba rules a bit
use python string conventions for function comments
2010-04-06 20:27:14 +10:00
Andrew Tridgell
88b6b86c59 s4-waf: added auto-detection of perl manpage extensions
some systems produce pidl.1p, others pidl.1. We need to know which one
to use.
2010-04-06 20:27:14 +10:00
Andrew Tridgell
06e10a2904 build: work around missing defaults from gnu_dirs.py 2010-04-06 20:27:14 +10:00
Andrew Tridgell
20146b3fe0 build: fixed popt subsystem on systems without popt 2010-04-06 20:27:13 +10:00
Andrew Tridgell
32ac04c028 s4-waf: merge in the latest changes from master
The heimdal changes mean the asn1 compiler produces a 2nd header file
2010-04-06 20:27:13 +10:00
Andrew Tridgell
ab1b096538 build: auto-detect platforms which don't support shared libs 2010-04-06 20:27:13 +10:00
Andrew Tridgell
28a7348294 build: only add -fPIC if it is supported 2010-04-06 20:27:13 +10:00
Andrew Tridgell
b9aa63887c s4-waf: cleanup use of LIBPOPT vs popt dependency 2010-04-06 20:27:13 +10:00
Andrew Tridgell
bfbf43cc36 s4-waf: support the use of system libraries
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-06 20:27:13 +10:00
Andrew Tridgell
3b380ea7ac build: better control over bundled library extensions 2010-04-06 20:27:12 +10:00
Andrew Tridgell
f6a7d5b907 build: added support for controlling library types
added:
 --bundled-library-extension   : control library extension for bundled libraries
 --builtin-libraries           : force a list of libraries to be builtin (non-shared)
2010-04-06 20:27:12 +10:00
Andrew Tridgell
92de30dcab build: fixed build group for the PIDL tables generation 2010-04-06 20:27:11 +10:00
Andrew Tridgell
f9eae32f4b s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them 2010-04-06 20:27:11 +10:00
Andrew Tridgell
c64ce3cd03 build: mark python rules as being part of the "main" group 2010-04-06 20:27:11 +10:00
Andrew Tridgell
9875be5511 build: throw an error on all bad variable substitutions 2010-04-06 20:27:11 +10:00
Andrew Tridgell
1ee19592f0 s4-waf: move the gnu dirs check to the generic wafsamba code 2010-04-06 20:27:11 +10:00
Andrew Tridgell
91d604add3 build: substitute @VAR@ variables in pkgconfig .pc.in files 2010-04-06 20:27:11 +10:00
Andrew Tridgell
5b572f1bd8 build: fixed the python path in installed python scripts 2010-04-06 20:27:11 +10:00
Andrew Tridgell
7c8b20037e build: fixed destination name for pc_files 2010-04-06 20:27:10 +10:00
Andrew Tridgell
1750bd4b36 build: added support for pc_files= for pkgconfig files 2010-04-06 20:27:10 +10:00
Andrew Tridgell
5c6e8371b2 build: a hack to get perl to put its generated blib files in the build directory
perl wants to put generated files in the source directory, whereas waf wants
them in the build directory. Use a symlink to trick perl into putting them
in the right place
2010-04-06 20:27:10 +10:00
Andrew Tridgell
723e9b87ce build: only depend on the actual pidl source files in the pidl rule
We don't need to depend on the wscript files, or any backup editor
files.
2010-04-06 20:27:10 +10:00
Andrew Tridgell
85a11c4fb7 build: support wildcard excludes in INSTALL_WILDCARD() 2010-04-06 20:27:09 +10:00
Andrew Tridgell
307ac977a2 build: install build python modules correctly 2010-04-06 20:27:09 +10:00
Andrew Tridgell
97ce609393 build: support wildcard mappings for header_path
this allows a public_headers attribute to put different headers in
different install directories
2010-04-06 20:27:09 +10:00
Andrew Tridgell
03998d0970 s4-waf: started adding auto-install of include files 2010-04-06 20:27:09 +10:00
Andrew Tridgell
11ca0c7b9d build: fixed EXPAND_VARIABLES() for env expansion 2010-04-06 20:27:09 +10:00
Andrew Tridgell
cfeaed22c5 build: these chdir() calls break waf on HPUX. They are not needed 2010-04-06 20:27:08 +10:00
Andrew Tridgell
2201d3d232 build: added quote option to conf.DEFINE()
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06 20:27:08 +10:00
Andrew Tridgell
6b3a72dd45 s3-waf: fixed tests for charsets
Pair-Programmed-With: Kai
2010-04-06 20:27:08 +10:00
Andrew Tridgell
9ddd9de59b build: fixed copy_script typo 2010-04-06 20:27:07 +10:00
Andrew Tridgell
6d268e4a82 build: improved exception handling for systems without rpath 2010-04-06 20:27:07 +10:00
Andrew Tridgell
eb776a80b5 build: much better rpath test function
This creates a full shared lib, and a binary that uses it. Then it
tests that the binary runs correctly, relying on rpath

Thanks to Thomas for the code for this!
2010-04-06 20:27:07 +10:00
Andrew Tridgell
5e94bca62e build: a better way of calculating syslib dependencies 2010-04-06 20:27:07 +10:00
Kai Blin
6663f78256 build: Import conf decorator in samba_conftests.py 2010-04-06 20:27:07 +10:00
Andrew Tridgell
2cac0c27cf build: started a library of common config tests for s3/s4
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06 20:27:07 +10:00
Andrew Tridgell
239cdb53f4 build: support variable expansion in source= arguments to build rules
This makes it much easier to follow the s3 approach to lists of
source files in the top level wscript

Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06 20:27:06 +10:00
Andrew Tridgell
7bb5be1324 build: solaris8 doesn't honor the -f flag to ln.
It's in the man page, but it doesn't work!
2010-04-06 20:27:06 +10:00
Andrew Tridgell
6c3b69be9b build: honor existing LD_LIBRARY_PATH settings when adding shared lib paths 2010-04-06 20:27:06 +10:00
Andrew Tridgell
12e6a920a7 build: old versions of perl don't understand the -W option 2010-04-06 20:27:06 +10:00
Andrew Tridgell
14fc71fc27 build: we need to replace md5 in Task as well 2010-04-06 20:27:06 +10:00
Andrew Tridgell
2454baf83b build: need to set h_file on Utils 2010-04-06 20:27:06 +10:00
Thomas Nagy
81f5efba91 build: replace h_file when replacing md5
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-06 20:27:05 +10:00
Andrew Tridgell
eba9a54927 build: a few more build rules that should have on_results=True 2010-04-06 20:27:05 +10:00
Andrew Tridgell
742cb4547a build: fixed case of system library deps 2010-04-06 20:27:05 +10:00
Stefan Metzmacher
988bc0cdc2 build: make use on_results=True for some build rules
This makes sure we generate a checksum over the result.
In practice it means we no longer recompile when a proto header
is triggers a rebuild if it hasn't changed its md5sum.

metze
2010-04-06 20:27:05 +10:00