1 # top level waf build script for samba4
6 # create separate build groups for building the asn1 and et compiler, then
7 # building the C from ASN1 and IDL, and finally the main build process
8 bld.SETUP_BUILD_GROUPS()
10 bld.SAMBA_MKVERSION('version.h')
12 # bld.ENABLE_MAGIC_ORDERING()
14 # we don't always use consistent names for our subsystems.
15 # this sets up some aliases
16 bld.TARGET_ALIAS('attr', 'XATTR')
17 bld.TARGET_ALIAS('execinfo', 'EXECINFO')
18 bld.TARGET_ALIAS('tevent', 'LIBTEVENT_EXT')
19 bld.TARGET_ALIAS('z', 'ZLIB')
20 bld.TARGET_ALIAS('pam', 'PAM')
21 bld.TARGET_ALIAS('sasl2', 'SASL')
22 bld.TARGET_ALIAS('crypt', 'CRYPT')
23 bld.TARGET_ALIAS('RPC_NDR_SRVSVC', 'NDR_SRVSVC')
24 bld.TARGET_ALIAS('RPC_NDR_MGMT', 'dcerpc_mgmt')
25 bld.TARGET_ALIAS('iconv', 'ICONV')
27 # missing subsystems - need looking at
28 bld.SAMBA_SUBSYSTEM('INTL', '') # external gettext library
29 bld.SAMBA_SUBSYSTEM('NETAPI', '') # for external libnet
30 bld.SAMBA_SUBSYSTEM('OPENPTY', '') # external openpty library
31 bld.SAMBA_SUBSYSTEM('SMBCLIENT', '') # for external libsmbclient
32 bld.SAMBA_SUBSYSTEM('BLKID', '') # blkid library from e2fsprogs
33 bld.SAMBA_SUBSYSTEM('SETPROCTITLE', '') # external setproctitle library
35 # subsystems that are confirmed to be missing. These should
36 # be removed from the build completely when we only have
38 bld.SAMBA_SUBSYSTEM('DCOM_PROXY_DCOM', '')
39 bld.SAMBA_SUBSYSTEM('smbcalls', '')
40 bld.SAMBA_SUBSYSTEM('HDB_LDB', '')
41 bld.SAMBA_SUBSYSTEM('NDR_MISC', '')
42 bld.SAMBA_SUBSYSTEM('NDR_SAMR', '')
43 bld.SAMBA_SUBSYSTEM('SCHANNELDB', '')
44 bld.SAMBA_SUBSYSTEM('pyldb_util', '')
45 bld.SAMBA_SUBSYSTEM('TORTURE_LDB_MODULE', '')
48 bld.BUILD_SUBDIR('../lib/replace')
49 bld.BUILD_SUBDIR('../lib/talloc')
50 bld.BUILD_SUBDIR('../lib/tdb')
51 bld.BUILD_SUBDIR('../lib/tevent')
52 bld.BUILD_SUBDIR('lib/ldb')
53 bld.BUILD_SUBDIR('dynconfig')
54 bld.BUILD_SUBDIR('../lib/util/charset')
55 bld.BUILD_SUBDIR('scripting/python')
56 bld.BUILD_SUBDIR('../lib/subunit/python')
57 bld.BUILD_SUBDIR('param')
58 bld.BUILD_SUBDIR('librpc')
59 bld.BUILD_SUBDIR('dsdb')
60 bld.BUILD_SUBDIR('smbd')
61 bld.BUILD_SUBDIR('cluster')
62 bld.BUILD_SUBDIR('smbd')
63 bld.BUILD_SUBDIR('libnet')
64 bld.BUILD_SUBDIR('auth')
65 bld.BUILD_SUBDIR('../nsswitch')
66 bld.BUILD_SUBDIR('../nsswitch/libwbclient')
67 bld.BUILD_SUBDIR('lib/samba3')
68 bld.BUILD_SUBDIR('lib/socket')
69 bld.BUILD_SUBDIR('lib/ldb-samba')
70 bld.BUILD_SUBDIR('lib/tls')
71 bld.BUILD_SUBDIR('lib/registry')
72 bld.BUILD_SUBDIR('lib/messaging')
73 bld.BUILD_SUBDIR('lib/events')
74 bld.BUILD_SUBDIR('lib/cmdline')
75 bld.BUILD_SUBDIR('../lib/socket_wrapper')
76 bld.BUILD_SUBDIR('../lib/nss_wrapper')
77 bld.BUILD_SUBDIR('../lib/uid_wrapper')
78 bld.BUILD_SUBDIR('../lib/popt')
79 bld.BUILD_SUBDIR('lib/stream')
80 bld.BUILD_SUBDIR('../lib/util')
81 bld.BUILD_SUBDIR('../lib/tdr')
82 bld.BUILD_SUBDIR('../lib/tsocket')
83 bld.BUILD_SUBDIR('../lib/crypto')
84 bld.BUILD_SUBDIR('../lib/torture')
85 bld.BUILD_SUBDIR('lib')
86 bld.BUILD_SUBDIR('lib/com')
87 bld.BUILD_SUBDIR('smb_server')
88 bld.BUILD_SUBDIR('rpc_server')
89 bld.BUILD_SUBDIR('ldap_server')
90 bld.BUILD_SUBDIR('web_server')
91 bld.BUILD_SUBDIR('winbind')
92 bld.BUILD_SUBDIR('nbt_server')
93 bld.BUILD_SUBDIR('wrepl_server')
94 bld.BUILD_SUBDIR('cldap_server')
95 bld.BUILD_SUBDIR('ntp_signd')
96 bld.BUILD_SUBDIR('utils/net')
97 bld.BUILD_SUBDIR('utils')
98 bld.BUILD_SUBDIR('ntvfs')
99 bld.BUILD_SUBDIR('ntptr')
100 bld.BUILD_SUBDIR('torture')
101 bld.BUILD_SUBDIR('../librpc')
102 bld.BUILD_SUBDIR('client')
103 bld.BUILD_SUBDIR('libcli')
104 bld.BUILD_SUBDIR('../libcli/smb')
105 bld.BUILD_SUBDIR('../libcli/cldap')
106 bld.BUILD_SUBDIR('kdc')
107 bld.BUILD_SUBDIR('../lib/smbconf')
108 bld.BUILD_SUBDIR('../lib/async_req')
109 bld.BUILD_SUBDIR('../libcli/security')
110 bld.BUILD_SUBDIR('../libcli/ldap')
111 bld.BUILD_SUBDIR('../libcli/nbt')
112 bld.BUILD_SUBDIR('../libcli/auth')
113 bld.BUILD_SUBDIR('../libcli/drsuapi')
114 bld.BUILD_SUBDIR('../libcli/samsync')
115 bld.BUILD_SUBDIR('../libgpo')
116 bld.BUILD_SUBDIR('../libcli/named_pipe_auth')
117 bld.BUILD_SUBDIR('heimdal_build')
118 bld.BUILD_SUBDIR('lib/smbreadline')
119 bld.BUILD_SUBDIR('../codepages')
121 bld.ENFORCE_GROUP_ORDERING()