mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
adabc3d082
this adds checking of the symbols in all our object files, libraries and syslibs. It will form the basis in future for a lot more checks, but for now it just checks basic rules like not allowing us to use symbols that are in system libs. Currently this is enabled only if you use the --symbol-check option, (or use make with SYMBOLCHECK=1) but I intend to make this always enabled once it has had more testing. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
101 lines
2.6 KiB
Python
101 lines
2.6 KiB
Python
#!/usr/bin/env python
|
|
|
|
# top level waf build script for samba4
|
|
|
|
import os
|
|
srcdir = ".."
|
|
|
|
# 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()
|
|
|
|
bld.SAMBA_MKVERSION('version.h')
|
|
|
|
# bld.ENABLE_MAGIC_ORDERING()
|
|
|
|
bld.RECURSE('../lib/replace')
|
|
bld.RECURSE('../lib/talloc')
|
|
bld.RECURSE('../lib/tdb')
|
|
bld.RECURSE('../lib/tevent')
|
|
bld.RECURSE('lib/ldb')
|
|
bld.RECURSE('dynconfig')
|
|
bld.RECURSE('../lib/util/charset')
|
|
bld.RECURSE('scripting/python')
|
|
bld.RECURSE('param')
|
|
bld.RECURSE('librpc')
|
|
bld.RECURSE('dsdb')
|
|
bld.RECURSE('smbd')
|
|
bld.RECURSE('cluster')
|
|
bld.RECURSE('smbd')
|
|
bld.RECURSE('libnet')
|
|
bld.RECURSE('auth')
|
|
bld.RECURSE('../lib/iniparser/src')
|
|
bld.RECURSE('../nsswitch')
|
|
bld.RECURSE('../nsswitch/libwbclient')
|
|
bld.RECURSE('lib/samba3')
|
|
bld.RECURSE('lib/socket')
|
|
bld.RECURSE('lib/ldb-samba')
|
|
bld.RECURSE('lib/tls')
|
|
bld.RECURSE('lib/registry')
|
|
bld.RECURSE('lib/messaging')
|
|
bld.RECURSE('lib/events')
|
|
bld.RECURSE('lib/cmdline')
|
|
bld.RECURSE('../lib/socket_wrapper')
|
|
bld.RECURSE('../lib/nss_wrapper')
|
|
bld.RECURSE('../lib/uid_wrapper')
|
|
bld.RECURSE('../lib/popt')
|
|
bld.RECURSE('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('lib')
|
|
bld.RECURSE('lib/com')
|
|
bld.RECURSE('dns_server')
|
|
bld.RECURSE('smb_server')
|
|
bld.RECURSE('rpc_server')
|
|
bld.RECURSE('ldap_server')
|
|
bld.RECURSE('web_server')
|
|
bld.RECURSE('winbind')
|
|
bld.RECURSE('nbt_server')
|
|
bld.RECURSE('wrepl_server')
|
|
bld.RECURSE('cldap_server')
|
|
bld.RECURSE('ntp_signd')
|
|
bld.RECURSE('samba_tool')
|
|
bld.RECURSE('utils')
|
|
bld.RECURSE('ntvfs')
|
|
bld.RECURSE('ntptr')
|
|
bld.RECURSE('torture')
|
|
bld.RECURSE('../librpc')
|
|
bld.RECURSE('client')
|
|
bld.RECURSE('libcli')
|
|
bld.RECURSE('../libcli/smb')
|
|
bld.RECURSE('../libcli/cldap')
|
|
bld.RECURSE('../lib/subunit/c')
|
|
bld.RECURSE('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/auth')
|
|
bld.RECURSE('../libcli/drsuapi')
|
|
bld.RECURSE('../libcli/samsync')
|
|
bld.RECURSE('lib/policy')
|
|
bld.RECURSE('../libcli/named_pipe_auth')
|
|
bld.RECURSE('heimdal_build')
|
|
bld.RECURSE('../libcli/smbreadline')
|
|
bld.RECURSE('../codepages')
|
|
bld.RECURSE('setup')
|
|
bld.RECURSE('scripting')
|
|
bld.RECURSE('../pidl')
|
|
bld.RECURSE('../lib')
|
|
|
|
# install some extra empty directories
|
|
bld.INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")
|
|
|
|
bld.SYMBOL_CHECK()
|