waf: when USING_SYSTEM_KRB5 environment variable is set, dont configure local
[Samba/bjacke.git] / wscript_build
blobe3cacbf73488ef50e75ce90734bfab332c5c3e30
1 #!/usr/bin/env python
3 # top level waf build script for samba4
5 import os
6 srcdir = "."
8 import samba_version
10 bld.env.suffix3 = "3"
12 # create separate build groups for building the asn1 and et compiler, then
13 # building the C from ASN1 and IDL, and finally the main build process
14 bld.SETUP_BUILD_GROUPS()
15 bld.AUTOCLEANUP_STALE_FILES()
17 # enable building of public headers in the build tree
18 bld.env.build_public_headers = 'include/public'
20 # these are includes which appear in public headers, but with #ifdef conditional
21 # compilation, so they are safe
22 bld.env.public_headers_skip = ['param/param_proto.h']
24 samba_version.load_version(bld.env, is_install=bld.is_install)
25 bld.SAMBA_MKVERSION('version.h')
27 # bld.ENABLE_MAGIC_ORDERING()
29 bld.RECURSE('lib/replace')
30 bld.RECURSE('lib/socket')
31 bld.RECURSE('lib/talloc')
32 bld.RECURSE('lib/tevent')
33 bld.RECURSE('lib/addns')
34 bld.RECURSE('lib/ccan')
35 bld.RECURSE('lib/tdb_compat')
36 bld.RECURSE('lib/ldb')
37 bld.RECURSE('lib/param')
38 bld.RECURSE('dynconfig')
39 bld.RECURSE('lib/util/charset')
40 bld.RECURSE('source4/scripting/python')
41 bld.RECURSE('source4/param')
42 bld.RECURSE('source4/librpc')
43 bld.RECURSE('source4/dsdb')
44 bld.RECURSE('source4/smbd')
45 bld.RECURSE('source4/cluster')
46 bld.RECURSE('source4/smbd')
47 bld.RECURSE('source4/libnet')
48 bld.RECURSE('source4/auth')
49 bld.RECURSE('auth')
50 bld.RECURSE('auth/kerberos')
51 bld.RECURSE('lib/iniparser/src')
52 bld.RECURSE('nsswitch')
53 bld.RECURSE('nsswitch/libwbclient')
54 bld.RECURSE('source4/lib/samba3')
55 bld.RECURSE('source4/lib/socket')
56 bld.RECURSE('lib/ldb-samba')
57 bld.RECURSE('source4/lib/tls')
58 bld.RECURSE('source4/lib/registry')
59 bld.RECURSE('source4/lib/messaging')
60 bld.RECURSE('source4/lib/events')
61 bld.RECURSE('source4/lib/cmdline')
62 bld.RECURSE('lib/socket_wrapper')
63 bld.RECURSE('lib/nss_wrapper')
64 bld.RECURSE('lib/uid_wrapper')
65 bld.RECURSE('lib/popt')
66 bld.RECURSE('source4/lib/stream')
67 bld.RECURSE('lib/util')
68 bld.RECURSE('lib/tdb_wrap')
69 bld.RECURSE('lib/tdr')
70 bld.RECURSE('lib/tsocket')
71 bld.RECURSE('lib/crypto')
72 bld.RECURSE('lib/torture')
73 bld.RECURSE('lib/zlib')
74 bld.RECURSE('source4/lib')
75 bld.RECURSE('source4/lib/com')
76 bld.RECURSE('source4/dns_server')
77 bld.RECURSE('source4/echo_server')
78 bld.RECURSE('source4/smb_server')
79 bld.RECURSE('source4/rpc_server')
80 bld.RECURSE('source4/ldap_server')
81 bld.RECURSE('source4/web_server')
82 bld.RECURSE('source4/winbind')
83 bld.RECURSE('source4/nbt_server')
84 bld.RECURSE('source4/wrepl_server')
85 bld.RECURSE('source4/cldap_server')
86 bld.RECURSE('source4/ntp_signd')
87 bld.RECURSE('source4/utils')
88 bld.RECURSE('source4/ntvfs')
89 bld.RECURSE('source4/ntptr')
90 bld.RECURSE('source4/torture')
91 bld.RECURSE('librpc')
92 bld.RECURSE('source4')
93 bld.RECURSE('source4/libcli')
94 bld.RECURSE('libcli/smb')
95 bld.RECURSE('libcli/util')
96 bld.RECURSE('libcli/cldap')
97 bld.RECURSE('lib/subunit/c')
98 bld.RECURSE('source4/kdc')
99 bld.RECURSE('lib/smbconf')
100 bld.RECURSE('lib/async_req')
101 bld.RECURSE('libcli/security')
102 bld.RECURSE('libcli/ldap')
103 bld.RECURSE('libcli/nbt')
104 bld.RECURSE('libcli/netlogon')
105 bld.RECURSE('libcli/auth')
106 bld.RECURSE('libcli/lsarpc')
107 bld.RECURSE('libcli/drsuapi')
108 bld.RECURSE('libcli/echo')
109 bld.RECURSE('libcli/dns')
110 bld.RECURSE('libcli/samsync')
111 bld.RECURSE('libcli/registry')
112 bld.RECURSE('source4/lib/policy')
113 bld.RECURSE('libcli/named_pipe_auth')
114 if not bld.CONFIG_SET("USING_SYSTEM_KRB5"):
115 bld.RECURSE('source4/heimdal_build')
116 bld.RECURSE('libcli/smbreadline')
117 bld.RECURSE('codepages')
118 bld.RECURSE('source4/setup')
119 bld.RECURSE('source4/scripting')
120 bld.RECURSE('pidl')
121 bld.RECURSE('lib')
122 bld.RECURSE('libds/common')
123 bld.RECURSE('source3')
124 bld.RECURSE('dfs_server')
125 bld.RECURSE('file_server')
126 bld.RECURSE('utils')
128 bld.RECURSE('testsuite/headers')
129 bld.RECURSE('testsuite/libsmbclient/src')
131 bld.SYMBOL_CHECK()
132 bld.DUP_SYMBOL_CHECK()