Changeset 988 for vendor/current/wscript_build
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/wscript_build
r740 r988 3 3 # top level waf build script for samba4 4 4 5 import Options 5 6 import os 6 7 srcdir = "." … … 8 9 import samba_version 9 10 10 # mark this as a top level build, for source3 rules11 bld.env.toplevel_build = True12 bld.env.use_intree_heimdal = True13 11 bld.env.suffix3 = "3" 12 bld.env.suffix4 = "4" 14 13 15 14 # create separate build groups for building the asn1 and et compiler, then … … 23 22 # these are includes which appear in public headers, but with #ifdef conditional 24 23 # compilation, so they are safe 25 bld.env.public_headers_skip = [' param/param_proto.h', 'lib/ldb_compat.h']24 bld.env.public_headers_skip = ['lib/param/param_proto.h', 'lib/param/param_functions.h'] 26 25 27 # force headers to use SAMBA4 rules 28 bld.env.public_headers_replace = { '#if _SAMBA_BUILD_ == 4' : '#if 1 /* _SAMBA_BUILD_ == 4 */' } 29 30 samba_version.load_version(bld.env) 26 samba_version.load_version(bld.env, is_install=bld.is_install) 31 27 bld.SAMBA_MKVERSION('version.h') 32 28 33 29 # bld.ENABLE_MAGIC_ORDERING() 34 30 31 bld.env.ABS_TOP_SRCDIR = bld.srcnode.abspath() + '/docs-xml' 32 bld.env.ABS_TOP_BUILDDIR = bld.srcnode.abspath() + '/bin/default/docs-xml' 33 bld.CONFIGURE_FILE('docs-xml/build/catalog.xml', 34 ABS_TOP_BUILDDIR = bld.env.ABS_TOP_BUILDDIR, 35 ABS_TOP_SRCDIR=bld.env.ABS_TOP_SRCDIR) 36 bld.RECURSE('docs-xml') 37 35 38 bld.RECURSE('lib/replace') 39 bld.RECURSE('lib/socket') 36 40 bld.RECURSE('lib/talloc') 37 bld.RECURSE('lib/tdb')38 41 bld.RECURSE('lib/tevent') 39 bld.RECURSE('source4/lib/ldb') 40 bld.RECURSE('source4/dynconfig') 42 bld.RECURSE('lib/texpect') 43 bld.RECURSE('lib/addns') 44 bld.RECURSE('lib/ldb') 45 bld.RECURSE('lib/param') 46 bld.RECURSE('dynconfig') 41 47 bld.RECURSE('lib/util/charset') 42 bld.RECURSE(' source4/scripting/python')48 bld.RECURSE('python') 43 49 bld.RECURSE('source4/param') 44 50 bld.RECURSE('source4/librpc') … … 50 56 bld.RECURSE('source4/auth') 51 57 bld.RECURSE('auth') 52 bld.RECURSE(' lib/iniparser/src')58 bld.RECURSE('auth/kerberos') 53 59 bld.RECURSE('nsswitch') 54 60 bld.RECURSE('nsswitch/libwbclient') 55 61 bld.RECURSE('source4/lib/samba3') 56 62 bld.RECURSE('source4/lib/socket') 57 bld.RECURSE(' source4/lib/ldb-samba')63 bld.RECURSE('lib/ldb-samba') 58 64 bld.RECURSE('source4/lib/tls') 59 65 bld.RECURSE('source4/lib/registry') … … 61 67 bld.RECURSE('source4/lib/events') 62 68 bld.RECURSE('source4/lib/cmdline') 63 bld.RECURSE('lib/socket_wrapper') 64 bld.RECURSE('lib/nss_wrapper') 65 bld.RECURSE('lib/uid_wrapper') 66 bld.RECURSE('lib/popt') 69 bld.RECURSE('source4/lib/http') 70 if bld.CONFIG_GET('NSS_WRAPPER'): 71 bld.RECURSE('lib/nss_wrapper') 72 if bld.CONFIG_GET('SOCKET_WRAPPER'): 73 bld.RECURSE('lib/socket_wrapper') 74 if bld.CONFIG_GET('RESOLV_WRAPPER'): 75 bld.RECURSE('lib/resolv_wrapper') 76 if bld.CONFIG_GET('UID_WRAPPER'): 77 bld.RECURSE('lib/uid_wrapper') 78 if bld.CHECK_FOR_THIRD_PARTY(): 79 bld.RECURSE('third_party') 67 80 bld.RECURSE('source4/lib/stream') 81 bld.RECURSE('lib/afs') 68 82 bld.RECURSE('lib/util') 83 bld.RECURSE('lib/tdb_wrap') 69 84 bld.RECURSE('lib/tdr') 70 85 bld.RECURSE('lib/tsocket') 71 86 bld.RECURSE('lib/crypto') 72 87 bld.RECURSE('lib/torture') 73 bld.RECURSE('lib/zlib')74 bld.RECURSE('source4/lib')75 88 bld.RECURSE('source4/lib/com') 76 89 bld.RECURSE('source4/dns_server') … … 85 98 bld.RECURSE('source4/cldap_server') 86 99 bld.RECURSE('source4/ntp_signd') 87 bld.RECURSE('source4/samba_tool')88 100 bld.RECURSE('source4/utils') 89 101 bld.RECURSE('source4/ntvfs') … … 91 103 bld.RECURSE('source4/torture') 92 104 bld.RECURSE('librpc') 93 bld.RECURSE('source4 /client')105 bld.RECURSE('source4') 94 106 bld.RECURSE('source4/libcli') 95 107 bld.RECURSE('libcli/smb') 108 bld.RECURSE('libcli/util') 96 109 bld.RECURSE('libcli/cldap') 97 bld.RECURSE('lib/subunit/c')98 bld.RECURSE('source4/kdc')99 110 bld.RECURSE('lib/smbconf') 100 111 bld.RECURSE('lib/async_req') 112 bld.RECURSE('lib/dbwrap') 101 113 bld.RECURSE('libcli/security') 102 114 bld.RECURSE('libcli/ldap') … … 104 116 bld.RECURSE('libcli/netlogon') 105 117 bld.RECURSE('libcli/auth') 118 bld.RECURSE('libcli/lsarpc') 106 119 bld.RECURSE('libcli/drsuapi') 107 120 bld.RECURSE('libcli/echo') 121 bld.RECURSE('libcli/dns') 108 122 bld.RECURSE('libcli/samsync') 109 123 bld.RECURSE('libcli/registry') 110 124 bld.RECURSE('source4/lib/policy') 111 125 bld.RECURSE('libcli/named_pipe_auth') 112 bld.RECURSE('source4/heimdal_build') 126 127 if bld.CONFIG_GET('KRB5_VENDOR') in (None, 'heimdal'): 128 if bld.CONFIG_GET("HEIMDAL_KRB5_CONFIG") and bld.CONFIG_GET("USING_SYSTEM_KRB5"): 129 # When both HEIMDAL_KRB5_CONFIG and KRB5_CONFIG are set and not equal, 130 # it means one is Heimdal-specific (krb5-config.heimdal, for example) 131 # and there is system heimdal 132 bld.PROCESS_SEPARATE_RULE('system_heimdal') 133 else: 134 bld.PROCESS_SEPARATE_RULE('embedded_heimdal') 135 else: 136 bld.PROCESS_SEPARATE_RULE('system_mitkrb5') 137 113 138 bld.RECURSE('libcli/smbreadline') 114 bld.RECURSE('codepages') 115 bld.RECURSE('source4/setup') 139 if bld.AD_DC_BUILD_IS_ENABLED(): 140 bld.RECURSE('source4/setup') 141 if bld.env.with_ctdb: 142 bld.RECURSE('ctdb') 116 143 bld.RECURSE('source4/scripting') 117 144 bld.RECURSE('pidl') 118 145 bld.RECURSE('lib') 119 146 bld.RECURSE('libds/common') 120 if bld.env.enable_s3build: 121 bld.RECURSE('source3') 147 bld.RECURSE('source3') 148 bld.RECURSE('dfs_server') 149 bld.RECURSE('file_server') 150 bld.RECURSE('lib/krb5_wrap') 122 151 123 152 bld.RECURSE('testsuite/headers') 124 153 125 # install some extra empty directories 126 bld. INSTALL_DIRS("", "${LOCKDIR} ${SYSCONFDIR} ${LOCKDIR} ${PIDDIR} ${LOCALSTATEDIR}/lib ${PRIVATEDIR}/smbd.tmp/messaging")154 bld.SYMBOL_CHECK() 155 bld.DUP_SYMBOL_CHECK() 127 156 128 bld.SYMBOL_CHECK()
Note:
See TracChangeset
for help on using the changeset viewer.