Waf: Difference between revisions
From SambaWiki
(38 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
= Using waf to build Samba = |
= Using waf to build Samba = |
||
The waf build of Samba is now complete. We also |
|||
have waf build rules for libreplace, talloc, tdb, tevent |
have waf build rules for libreplace, talloc, tdb, tevent and ldb. |
||
Samba4. Kai is working on the waf build for Samba3. |
|||
Main features: |
Main features: |
||
Line 11: | Line 10: | ||
* full dependencies are checked, so much less need for make clean |
* full dependencies are checked, so much less need for make clean |
||
* wrappers are provided for ./configure and make |
* wrappers are provided for ./configure and make |
||
* builds are much smaller (around 110M versus 1.1G for the old Samba4 build) |
* builds are much smaller (around 110M versus 1.1G for the old autoconf/perl Samba4 build) |
||
* project rules are checked to ensure no object duplication |
* project rules are checked to ensure no object duplication |
||
* supports creation of working tarballs for our standalone libraries |
* supports creation of working tarballs for our standalone libraries |
||
Line 17: | Line 16: | ||
* much cleaner build rules (in wscript files). Should be easy to learn |
* much cleaner build rules (in wscript files). Should be easy to learn |
||
== |
== Buillding with waf == |
||
There are two ways to use the waf build. You can either use the |
|||
The wLETTER T WITH CARON |
|||
configure wrappers, or you can call waf directly. |
|||
0x016e: 0x00de, # LATIN CAPITAL LET #
|
|||