summaryrefslogtreecommitdiff
path: root/lib/tevent/wscript
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-03-17 20:32:15 +1100
committerAndrew Tridgell <tridge@samba.org>2010-04-06 20:26:34 +1000
commit2b5a1cc70cbc5bafe6183300b131d95505c03b36 (patch)
treefdcb0321be5cfd39d13b0a03cfdbf4394e7ac7bc /lib/tevent/wscript
parent635a7ce6c1dfbfa2fd9ccefa0253a0a846a29f94 (diff)
downloadsamba-2b5a1cc70cbc5bafe6183300b131d95505c03b36.tar.gz
samba-2b5a1cc70cbc5bafe6183300b131d95505c03b36.tar.bz2
samba-2b5a1cc70cbc5bafe6183300b131d95505c03b36.zip
build: added waf build rules for ldb
Diffstat (limited to 'lib/tevent/wscript')
-rw-r--r--lib/tevent/wscript10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/tevent/wscript b/lib/tevent/wscript
index 87d6037aea..aaa3ce7fb7 100644
--- a/lib/tevent/wscript
+++ b/lib/tevent/wscript
@@ -1,15 +1,18 @@
VERSION = '0.9.8'
-srcdir = '.'
-blddir = 'build'
+srcdir = '../..'
+blddir = 'bin'
-LIBREPLACE_DIR='../replace'
+LIBREPLACE_DIR= srcdir + '/lib/replace'
+LIBTALLOC_DIR= srcdir + '/lib/talloc'
def set_options(opt):
opt.recurse(LIBREPLACE_DIR)
+ opt.recurse(LIBTALLOC_DIR)
def configure(conf):
conf.sub_config(LIBREPLACE_DIR)
+ conf.sub_config(LIBTALLOC_DIR)
conf.CHECK_HEADERS('sys/epoll.h')
conf.CHECK_FUNCS('epoll_create')
@@ -18,6 +21,7 @@ def configure(conf):
def build(bld):
bld.add_subdirs(LIBREPLACE_DIR)
+ bld.add_subdirs(LIBTALLOC_DIR)
SRC = '''tevent.c tevent_debug.c tevent_epoll.c tevent_fd.c tevent_immediate.c
tevent_queue.c tevent_req.c tevent_select.c