1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-27 22:50:26 +03:00

s4-waf: allow standalone tarball build of libraries

This commit is contained in:
Andrew Tridgell 2010-04-04 10:18:39 +10:00
parent 528d7c7cf3
commit 9e9e878e8f
4 changed files with 35 additions and 7 deletions

View File

@ -3,9 +3,17 @@
APPNAME = 'talloc'
VERSION = '2.0.2'
srcdir = '../..'
blddir = 'bin'
# find the buildtools directory
import os
buildtools = 'buildtools ../../buildtools'
for d in buildtools.split():
if os.path.exists(d):
srcdir = os.path.dirname(d) or '.'
break
LIBREPLACE_DIR= srcdir + '/lib/replace'
import sys

View File

@ -3,10 +3,17 @@
APPNAME = 'tdb'
VERSION = '1.2.1'
srcdir = '../..'
blddir = 'bin'
import sys
import sys, os
# find the buildtools directory
buildtools = 'buildtools ../../buildtools'
for d in buildtools.split():
if os.path.exists(d):
srcdir = os.path.dirname(d) or '.'
break
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
import wafsamba

View File

@ -3,10 +3,17 @@
APPNAME = 'tevent'
VERSION = '0.9.8'
srcdir = '../..'
blddir = 'bin'
import sys
import sys, os
# find the buildtools directory
buildtools = 'buildtools ../../buildtools'
for d in buildtools.split():
if os.path.exists(d):
srcdir = os.path.dirname(d) or '.'
break
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
import wafsamba

View File

@ -3,10 +3,16 @@
APPNAME = 'ldb'
VERSION = '0.9.10'
srcdir = '../../..'
blddir = 'bin'
import sys
import sys, os
# find the buildtools directory
buildtools = 'buildtools ../../buildtools'
for d in buildtools.split():
if os.path.exists(d):
srcdir = os.path.dirname(d) or '.'
break
sys.path.insert(0, srcdir+"/buildtools/wafsamba")
import wafsamba