mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
121 lines
3.9 KiB
Python
121 lines
3.9 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.SAMBA_MKVERSION('version.h')
|
|
|
|
# bld.ENABLE_MAGIC_ORDERING()
|
|
|
|
# we don't always use consistent names for our subsystems.
|
|
# this sets up some aliases
|
|
bld.TARGET_ALIAS('attr', 'XATTR')
|
|
bld.TARGET_ALIAS('tevent', 'LIBTEVENT_EXT')
|
|
bld.TARGET_ALIAS('sasl2', 'SASL')
|
|
bld.TARGET_ALIAS('RPC_NDR_SRVSVC', 'NDR_SRVSVC')
|
|
bld.TARGET_ALIAS('RPC_NDR_MGMT', 'dcerpc_mgmt')
|
|
|
|
# missing subsystems - need looking at
|
|
bld.SAMBA_SUBSYSTEM('INTL', '') # external gettext library
|
|
bld.SAMBA_SUBSYSTEM('NETAPI', '') # for external libnet
|
|
bld.SAMBA_SUBSYSTEM('OPENPTY', '') # external openpty library
|
|
bld.SAMBA_SUBSYSTEM('SMBCLIENT', '') # for external libsmbclient
|
|
bld.SAMBA_SUBSYSTEM('BLKID', '') # blkid library from e2fsprogs
|
|
bld.SAMBA_SUBSYSTEM('SETPROCTITLE', '') # external setproctitle library
|
|
|
|
# subsystems that are confirmed to be missing. These should
|
|
# be removed from the build completely when we only have
|
|
# one build system
|
|
bld.SAMBA_SUBSYSTEM('DCOM_PROXY_DCOM', '')
|
|
bld.SAMBA_SUBSYSTEM('smbcalls', '')
|
|
bld.SAMBA_SUBSYSTEM('HDB_LDB', '')
|
|
bld.SAMBA_SUBSYSTEM('NDR_MISC', '')
|
|
bld.SAMBA_SUBSYSTEM('NDR_SAMR', '')
|
|
bld.SAMBA_SUBSYSTEM('SCHANNELDB', '')
|
|
bld.SAMBA_SUBSYSTEM('pyldb_util', '')
|
|
bld.SAMBA_SUBSYSTEM('TORTURE_LDB_MODULE', '')
|
|
|
|
|
|
bld.BUILD_SUBDIR('../lib/replace')
|
|
bld.BUILD_SUBDIR('../lib/talloc')
|
|
bld.BUILD_SUBDIR('../lib/tdb')
|
|
bld.BUILD_SUBDIR('../lib/tevent')
|
|
bld.BUILD_SUBDIR('lib/ldb')
|
|
bld.BUILD_SUBDIR('dynconfig')
|
|
bld.BUILD_SUBDIR('../lib/util/charset')
|
|
bld.BUILD_SUBDIR('scripting/python')
|
|
bld.BUILD_SUBDIR('../lib/subunit/python')
|
|
bld.BUILD_SUBDIR('param')
|
|
bld.BUILD_SUBDIR('librpc')
|
|
bld.BUILD_SUBDIR('dsdb')
|
|
bld.BUILD_SUBDIR('smbd')
|
|
bld.BUILD_SUBDIR('cluster')
|
|
bld.BUILD_SUBDIR('smbd')
|
|
bld.BUILD_SUBDIR('libnet')
|
|
bld.BUILD_SUBDIR('auth')
|
|
bld.BUILD_SUBDIR('../nsswitch')
|
|
bld.BUILD_SUBDIR('../nsswitch/libwbclient')
|
|
bld.BUILD_SUBDIR('lib/samba3')
|
|
bld.BUILD_SUBDIR('lib/socket')
|
|
bld.BUILD_SUBDIR('lib/ldb-samba')
|
|
bld.BUILD_SUBDIR('lib/tls')
|
|
bld.BUILD_SUBDIR('lib/registry')
|
|
bld.BUILD_SUBDIR('lib/messaging')
|
|
bld.BUILD_SUBDIR('lib/events')
|
|
bld.BUILD_SUBDIR('lib/cmdline')
|
|
bld.BUILD_SUBDIR('../lib/socket_wrapper')
|
|
bld.BUILD_SUBDIR('../lib/nss_wrapper')
|
|
bld.BUILD_SUBDIR('../lib/uid_wrapper')
|
|
bld.BUILD_SUBDIR('../lib/popt')
|
|
bld.BUILD_SUBDIR('lib/stream')
|
|
bld.BUILD_SUBDIR('../lib/util')
|
|
bld.BUILD_SUBDIR('../lib/tdr')
|
|
bld.BUILD_SUBDIR('../lib/tsocket')
|
|
bld.BUILD_SUBDIR('../lib/crypto')
|
|
bld.BUILD_SUBDIR('../lib/torture')
|
|
bld.BUILD_SUBDIR('../lib/zlib')
|
|
bld.BUILD_SUBDIR('lib')
|
|
bld.BUILD_SUBDIR('lib/com')
|
|
bld.BUILD_SUBDIR('smb_server')
|
|
bld.BUILD_SUBDIR('rpc_server')
|
|
bld.BUILD_SUBDIR('ldap_server')
|
|
bld.BUILD_SUBDIR('web_server')
|
|
bld.BUILD_SUBDIR('winbind')
|
|
bld.BUILD_SUBDIR('nbt_server')
|
|
bld.BUILD_SUBDIR('wrepl_server')
|
|
bld.BUILD_SUBDIR('cldap_server')
|
|
bld.BUILD_SUBDIR('ntp_signd')
|
|
bld.BUILD_SUBDIR('utils/net')
|
|
bld.BUILD_SUBDIR('utils')
|
|
bld.BUILD_SUBDIR('ntvfs')
|
|
bld.BUILD_SUBDIR('ntptr')
|
|
bld.BUILD_SUBDIR('torture')
|
|
bld.BUILD_SUBDIR('../librpc')
|
|
bld.BUILD_SUBDIR('client')
|
|
bld.BUILD_SUBDIR('libcli')
|
|
bld.BUILD_SUBDIR('../libcli/smb')
|
|
bld.BUILD_SUBDIR('../libcli/cldap')
|
|
bld.BUILD_SUBDIR('kdc')
|
|
bld.BUILD_SUBDIR('../lib/smbconf')
|
|
bld.BUILD_SUBDIR('../lib/async_req')
|
|
bld.BUILD_SUBDIR('../libcli/security')
|
|
bld.BUILD_SUBDIR('../libcli/ldap')
|
|
bld.BUILD_SUBDIR('../libcli/nbt')
|
|
bld.BUILD_SUBDIR('../libcli/auth')
|
|
bld.BUILD_SUBDIR('../libcli/drsuapi')
|
|
bld.BUILD_SUBDIR('../libcli/samsync')
|
|
bld.BUILD_SUBDIR('../libgpo')
|
|
bld.BUILD_SUBDIR('../libcli/named_pipe_auth')
|
|
bld.BUILD_SUBDIR('heimdal_build')
|
|
bld.BUILD_SUBDIR('lib/smbreadline')
|
|
bld.BUILD_SUBDIR('../codepages')
|
|
bld.BUILD_SUBDIR('setup')
|
|
bld.BUILD_SUBDIR('scripting')
|
|
bld.BUILD_SUBDIR('../pidl')
|