3 # top level waf build script for samba4
10 # mark this as a top level build, for source3 rules
11 bld
.env
.toplevel_build
= True
12 bld
.env
.use_intree_heimdal
= True
15 # create separate build groups for building the asn1 and et compiler, then
16 # building the C from ASN1 and IDL, and finally the main build process
17 bld
.SETUP_BUILD_GROUPS()
18 bld
.AUTOCLEANUP_STALE_FILES()
20 # enable building of public headers in the build tree
21 bld
.env
.build_public_headers
= 'include/public'
23 samba_version
.load_version(bld
.env
)
24 bld
.SAMBA_MKVERSION('version.h')
26 # bld.ENABLE_MAGIC_ORDERING()
28 bld
.RECURSE('lib/replace')
29 bld
.RECURSE('lib/talloc')
30 bld
.RECURSE('lib/tdb')
31 bld
.RECURSE('lib/tevent')
32 bld
.RECURSE('source4/lib/ldb')
33 bld
.RECURSE('source4/dynconfig')
34 bld
.RECURSE('lib/util/charset')
35 bld
.RECURSE('source4/scripting/python')
36 bld
.RECURSE('source4/param')
37 bld
.RECURSE('source4/librpc')
38 bld
.RECURSE('source4/dsdb')
39 bld
.RECURSE('source4/smbd')
40 bld
.RECURSE('source4/cluster')
41 bld
.RECURSE('source4/smbd')
42 bld
.RECURSE('source4/libnet')
43 bld
.RECURSE('source4/auth')
45 bld
.RECURSE('lib/iniparser/src')
46 bld
.RECURSE('nsswitch')
47 bld
.RECURSE('nsswitch/libwbclient')
48 bld
.RECURSE('source4/lib/samba3')
49 bld
.RECURSE('source4/lib/socket')
50 bld
.RECURSE('source4/lib/ldb-samba')
51 bld
.RECURSE('source4/lib/tls')
52 bld
.RECURSE('source4/lib/registry')
53 bld
.RECURSE('source4/lib/messaging')
54 bld
.RECURSE('source4/lib/events')
55 bld
.RECURSE('source4/lib/cmdline')
56 bld
.RECURSE('lib/socket_wrapper')
57 bld
.RECURSE('lib/nss_wrapper')
58 bld
.RECURSE('lib/uid_wrapper')
59 bld
.RECURSE('lib/popt')
60 bld
.RECURSE('source4/lib/stream')
61 bld
.RECURSE('lib/util')
62 bld
.RECURSE('lib/tdr')
63 bld
.RECURSE('lib/tsocket')
64 bld
.RECURSE('lib/crypto')
65 bld
.RECURSE('lib/torture')
66 bld
.RECURSE('lib/zlib')
67 bld
.RECURSE('source4/lib')
68 bld
.RECURSE('source4/lib/com')
69 bld
.RECURSE('source4/dns_server')
70 bld
.RECURSE('source4/echo_server')
71 bld
.RECURSE('source4/smb_server')
72 bld
.RECURSE('source4/rpc_server')
73 bld
.RECURSE('source4/ldap_server')
74 bld
.RECURSE('source4/web_server')
75 bld
.RECURSE('source4/winbind')
76 bld
.RECURSE('source4/nbt_server')
77 bld
.RECURSE('source4/wrepl_server')
78 bld
.RECURSE('source4/cldap_server')
79 bld
.RECURSE('source4/ntp_signd')
80 bld
.RECURSE('source4/samba_tool')
81 bld
.RECURSE('source4/utils')
82 bld
.RECURSE('source4/ntvfs')
83 bld
.RECURSE('source4/ntptr')
84 bld
.RECURSE('source4/torture')
86 bld
.RECURSE('source4/client')
87 bld
.RECURSE('source4/libcli')
88 bld
.RECURSE('libcli/smb')
89 bld
.RECURSE('libcli/cldap')
90 bld
.RECURSE('lib/subunit/c')
91 bld
.RECURSE('source4/kdc')
92 bld
.RECURSE('lib/smbconf')
93 bld
.RECURSE('lib/async_req')
94 bld
.RECURSE('libcli/security')
95 bld
.RECURSE('libcli/ldap')
96 bld
.RECURSE('libcli/nbt')
97 bld
.RECURSE('libcli/netlogon')
98 bld
.RECURSE('libcli/auth')
99 bld
.RECURSE('libcli/drsuapi')
100 bld
.RECURSE('libcli/echo')
101 bld
.RECURSE('libcli/samsync')
102 bld
.RECURSE('libcli/registry')
103 bld
.RECURSE('source4/lib/policy')
104 bld
.RECURSE('libcli/named_pipe_auth')
105 bld
.RECURSE('source4/heimdal_build')
106 bld
.RECURSE('libcli/smbreadline')
107 bld
.RECURSE('codepages')
108 bld
.RECURSE('source4/setup')
109 bld
.RECURSE('source4/scripting')
112 bld
.RECURSE('libds/common')
113 if bld
.env
.enable_s3build
:
114 bld
.RECURSE('source3')
116 bld
.RECURSE('testsuite/headers')
118 # install some extra empty directories
119 bld
.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")