f.write('/* generated header test */\n')
hlist = task.env.public_headers_list[:]
hlist.sort()
+ # We need to include tdb.h before ntdb.h. It's the rules!
+ if 'tdb.h' in hlist and 'ntdb.h' in hlist:
+ hlist.remove('ntdb.h')
+ hlist.append('ntdb.h')
+
for h in hlist:
f.write('#include "%s"\n' % os.path.normpath(h))
f.close()
opt.RECURSE('lib/replace')
opt.RECURSE('dynconfig')
opt.RECURSE('lib/ldb')
+ opt.RECURSE('lib/ntdb')
opt.RECURSE('selftest')
opt.RECURSE('source4/lib/tls')
opt.RECURSE('lib/nss_wrapper')
conf.RECURSE('source4/ntvfs/sysdep')
conf.RECURSE('lib/util')
conf.RECURSE('lib/ccan')
+ conf.RECURSE('lib/ntdb')
conf.RECURSE('lib/zlib')
conf.RECURSE('lib/util/charset')
conf.RECURSE('source4/auth')
'''build python apidocs'''
bp = os.path.abspath('bin/python')
mpaths = {}
- for m in ['talloc', 'tdb', 'ldb']:
+ for m in ['talloc', 'tdb', 'ldb', 'ntdb']:
f = os.popen("PYTHONPATH=%s python -c 'import %s; print %s.__file__'" % (bp, m, m), 'r')
try:
mpaths[m] = f.read().strip()
finally:
f.close()
cmd='PYTHONPATH=%s pydoctor --introspect-c-modules --project-name=Samba --project-url=http://www.samba.org --make-html --docformat=restructuredtext --add-package bin/python/samba --add-module %s --add-module %s --add-module %s' % (
- bp, mpaths['tdb'], mpaths['ldb'], mpaths['talloc'])
+ bp, mpaths['tdb'], mpaths['ldb'], mpaths['talloc'], mpaths['ntdb'])
print("Running: %s" % cmd)
os.system(cmd)