1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-29 21:47:30 +03:00

31 lines
834 B
Plaintext
Raw Normal View History

2010-03-17 21:46:38 +11:00
#! /usr/bin/env python
srcdir = '..'
blddir = 'bin'
import sys
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
import wafsamba
LIBREPLACE_DIR= srcdir + '/lib/replace'
LIBLDB_DIR= srcdir + '/source4/lib/ldb'
def set_options(opt):
opt.recurse(LIBREPLACE_DIR)
opt.recurse(LIBLDB_DIR)
opt.recurse('selftest')
def configure(conf):
conf.DEFINE('_SAMBA_BUILD_', 4)
2010-03-17 21:46:38 +11:00
conf.find_program('python', var='PYTHON', mandatory=True)
2010-03-17 21:53:29 +11:00
conf.find_program('perl', var='PERL', mandatory=True)
conf.sub_config(LIBREPLACE_DIR)
conf.sub_config(LIBLDB_DIR)
conf.sub_config('heimdal_build')
conf.DEFINE('CONFIG_H_IS_FROM_SAMBA', 1)
2010-03-17 21:53:29 +11:00
conf.ADD_EXTRA_INCLUDES('#source4 #lib #source4/lib #source4/include #lib/socket_wrapper #lib/talloc #lib/replace #lib/event')
2010-02-23 08:09:46 +11:00
conf.SAMBA_CONFIG_H('include/config.h')