3 # This is the experimental scons build script for Samba 4. For a proper
4 # build use the old build system (configure + make). scons may
5 # eventually replace this system.
7 # Copyright (C) 2005 Jelmer Vernooij <jelmer@samba.org>
8 # Published under the GNU GPL
10 hostenv = Environment(
11 toolpath=['build/scons','.'],
13 CPPPATH=['#include','#','#lib'],
14 CPPDEFINES={'_SAMBA_BUILD_': None},
17 hostenv.Append(CPPPATH = ['#heimdal_build', '#heimdal/lib/krb5',
18 '#heimdal/lib/hdb', '#heimdal/lib/gssapi',
19 '#heimdal/lib/asn1', '#heimdal/lib/des',
20 '#heimdal/kdc', '#heimdal/lib/roken',
21 '#heimdal/lib/com_err'])
23 buildenv = hostenv.Copy()
25 dynenv = hostenv.Copy()
34 'NCALRPCDIR': "ncalrpc",
35 'LMHOSTSFILE': "lmhosts",
40 'SMB_PASSWD_FILE': "smbpasswd",
41 'PRIVATE_DIR': 'private',
45 [dynenv.Append(CPPDEFINES = {p: '\\"%s\\"' % paths[p]}) for p in paths]
47 dynconfig = dynenv.Object('dynconfig.c')
51 dirs=['param','lib','torture','rpc_server','cldap_server','libcli',
52 'nbt_server','client','ldap_server','libnet','nsswitch','web_server',