2011-02-03 13:08:37 +11:00
#!/usr/bin/env python
# top level waf build script for samba4
import os
srcdir = "."
import samba_version
2011-02-21 11:18:21 +11:00
bld.env.suffix3 = "3"
2011-02-03 13:08:37 +11:00
# create separate build groups for building the asn1 and et compiler, then
# building the C from ASN1 and IDL, and finally the main build process
bld.SETUP_BUILD_GROUPS()
bld.AUTOCLEANUP_STALE_FILES()
2011-02-28 15:48:25 +11:00
# enable building of public headers in the build tree
bld.env.build_public_headers = 'include/public'
2011-03-03 16:34:57 +11:00
# these are includes which appear in public headers, but with #ifdef conditional
# compilation, so they are safe
2011-07-05 10:14:12 +10:00
bld.env.public_headers_skip = ['param/param_proto.h']
2011-03-03 16:34:57 +11:00
2011-06-17 15:21:39 +10:00
samba_version.load_version(bld.env, is_install=bld.is_install)
2011-02-03 13:08:37 +11:00
bld.SAMBA_MKVERSION('version.h')
# bld.ENABLE_MAGIC_ORDERING()
bld.RECURSE('lib/replace')
2011-05-02 13:02:17 +10:00
bld.RECURSE('lib/socket')
2011-02-03 13:08:37 +11:00
bld.RECURSE('lib/talloc')
bld.RECURSE('lib/tevent')
2011-09-01 12:45:38 +10:00
bld.RECURSE('lib/addns')
2011-06-20 16:54:15 +09:30
bld.RECURSE('lib/ccan')
2011-06-20 16:58:15 +09:30
bld.RECURSE('lib/tdb_compat')
2011-07-05 10:01:32 +10:00
bld.RECURSE('lib/ldb')
2011-07-08 09:19:43 +10:00
bld.RECURSE('lib/param')
2011-06-21 12:48:22 +10:00
bld.RECURSE('dynconfig')
2011-02-03 13:08:37 +11:00
bld.RECURSE('lib/util/charset')
bld.RECURSE('source4/scripting/python')
bld.RECURSE('source4/param')
bld.RECURSE('source4/librpc')
bld.RECURSE('source4/dsdb')
bld.RECURSE('source4/smbd')
bld.RECURSE('source4/cluster')
bld.RECURSE('source4/smbd')
bld.RECURSE('source4/libnet')
bld.RECURSE('source4/auth')
2011-02-09 16:05:54 +11:00
bld.RECURSE('auth')
2011-04-16 15:41:50 +10:00
bld.RECURSE('auth/kerberos')
2011-02-03 13:08:37 +11:00
bld.RECURSE('lib/iniparser/src')
bld.RECURSE('nsswitch')
bld.RECURSE('nsswitch/libwbclient')
bld.RECURSE('source4/lib/samba3')
bld.RECURSE('source4/lib/socket')
2011-07-05 10:01:32 +10:00
bld.RECURSE('lib/ldb-samba')
2011-02-03 13:08:37 +11:00
bld.RECURSE('source4/lib/tls')
bld.RECURSE('source4/lib/registry')
bld.RECURSE('source4/lib/messaging')
bld.RECURSE('source4/lib/events')
bld.RECURSE('source4/lib/cmdline')
bld.RECURSE('lib/socket_wrapper')
bld.RECURSE('lib/nss_wrapper')
bld.RECURSE('lib/uid_wrapper')
bld.RECURSE('lib/popt')
bld.RECURSE('source4/lib/stream')
bld.RECURSE('lib/util')
bld.RECURSE('lib/tdr')
bld.RECURSE('lib/tsocket')
bld.RECURSE('lib/crypto')
bld.RECURSE('lib/torture')
bld.RECURSE('lib/zlib')
bld.RECURSE('source4/lib')
bld.RECURSE('source4/lib/com')
bld.RECURSE('source4/dns_server')
bld.RECURSE('source4/echo_server')
bld.RECURSE('source4/smb_server')
bld.RECURSE('source4/rpc_server')
bld.RECURSE('source4/ldap_server')
bld.RECURSE('source4/web_server')
bld.RECURSE('source4/winbind')
bld.RECURSE('source4/nbt_server')
bld.RECURSE('source4/wrepl_server')
bld.RECURSE('source4/cldap_server')
bld.RECURSE('source4/ntp_signd')
bld.RECURSE('source4/utils')
bld.RECURSE('source4/ntvfs')
bld.RECURSE('source4/ntptr')
bld.RECURSE('source4/torture')
bld.RECURSE('librpc')
2011-09-15 12:52:49 +02:00
bld.RECURSE('source4')
2011-02-03 13:08:37 +11:00
bld.RECURSE('source4/libcli')
bld.RECURSE('libcli/smb')
2011-04-29 16:57:41 +10:00
bld.RECURSE('libcli/util')
2011-02-03 13:08:37 +11:00
bld.RECURSE('libcli/cldap')
bld.RECURSE('lib/subunit/c')
bld.RECURSE('source4/kdc')
bld.RECURSE('lib/smbconf')
bld.RECURSE('lib/async_req')
bld.RECURSE('libcli/security')
bld.RECURSE('libcli/ldap')
bld.RECURSE('libcli/nbt')
bld.RECURSE('libcli/netlogon')
bld.RECURSE('libcli/auth')
2011-12-07 16:03:04 +11:00
bld.RECURSE('libcli/lsarpc')
2011-02-03 13:08:37 +11:00
bld.RECURSE('libcli/drsuapi')
bld.RECURSE('libcli/echo')
bld.RECURSE('libcli/samsync')
2011-02-24 13:01:27 +11:00
bld.RECURSE('libcli/registry')
2011-02-03 13:08:37 +11:00
bld.RECURSE('source4/lib/policy')
bld.RECURSE('libcli/named_pipe_auth')
bld.RECURSE('source4/heimdal_build')
bld.RECURSE('libcli/smbreadline')
bld.RECURSE('codepages')
bld.RECURSE('source4/setup')
bld.RECURSE('source4/scripting')
bld.RECURSE('pidl')
bld.RECURSE('lib')
2011-02-24 11:23:53 +11:00
bld.RECURSE('libds/common')
2011-05-09 11:00:18 +02:00
bld.RECURSE('source3')
2011-10-04 13:08:50 +02:00
bld.RECURSE('dfs_server')
2011-02-03 13:08:37 +11:00
2011-02-28 18:57:25 +11:00
bld.RECURSE('testsuite/headers')
2011-10-20 20:40:58 +11:00
bld.RECURSE('testsuite/libsmbclient/src')
2011-02-28 18:57:25 +11:00
2011-02-03 13:08:37 +11:00
bld.SYMBOL_CHECK()
2011-09-08 19:07:47 +10:00
bld.DUP_SYMBOL_CHECK()