7 sys
.path
.insert(0, srcdir
+"/buildtools/wafsamba")
10 LIBREPLACE_DIR
= srcdir
+ '/lib/replace'
11 LIBLDB_DIR
= srcdir
+ '/source4/lib/ldb'
14 opt
.recurse(LIBREPLACE_DIR
)
15 opt
.recurse(LIBLDB_DIR
)
16 opt
.recurse('selftest')
17 opt
.recurse('lib/tls')
18 opt
.recurse('../lib/nss_wrapper')
19 opt
.recurse('../lib/socket_wrapper')
20 opt
.recurse('../lib/uid_wrapper')
24 conf
.define('PACKAGE_NAME', 'samba')
25 conf
.define('PACKAGE_STRING', 'samba 4')
26 conf
.define('PACKAGE_TARNAME', 'samba')
27 conf
.define('PACKAGE_URL', "")
28 conf
.define('PACKAGE_VERSION', "4")
29 conf
.define('PACKAGE_BUGREPORT', 'samba-technical@samba.org')
31 conf
.DEFINE('_SAMBA_BUILD_', 4)
32 conf
.find_program('python', var
='PYTHON', mandatory
=True)
33 conf
.find_program('perl', var
='PERL', mandatory
=True)
34 conf
.sub_config(LIBREPLACE_DIR
)
35 conf
.sub_config(LIBLDB_DIR
)
36 conf
.sub_config('heimdal_build')
37 conf
.sub_config('lib/tls')
38 conf
.sub_config('ntvfs/sysdep')
39 conf
.sub_config('../lib/util')
40 conf
.sub_config('../lib/zlib')
41 conf
.sub_config('../lib/util/charset')
42 conf
.sub_config('auth')
43 conf
.sub_config('../lib/nss_wrapper')
44 conf
.sub_config('../lib/socket_wrapper')
45 conf
.sub_config('../lib/uid_wrapper')
47 conf
.DEFINE('CONFIG_H_IS_FROM_SAMBA', 1)
48 conf
.ADD_EXTRA_INCLUDES('#source4 #lib #source4/lib #source4/include #lib/socket_wrapper #lib/talloc #lib/replace #lib/event')
50 conf
.SAMBA_CONFIG_H('include/config.h')