1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source4/lib/SConscript
Jelmer Vernooij 5058f4b9e8 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
(This used to be commit b53313dc51)
2007-10-10 13:39:08 -05:00

45 lines
1.5 KiB
Python

Import('hostenv')
# tastes like -*- python -*-
SConscript(dirs=['talloc','charset'])
Import('talloc', 'dynconfig', 'charset')
basic_files = ['version.c', 'xfile.c', 'debug.c', 'fault.c',
'signal.c', 'system.c', 'time.c', 'genrand.c', 'dprintf.c',
'util_str.c', 'util_strlist.c', 'util_unistr.c', 'util_file.c',
'data_blob.c', 'util.c', 'util_sock.c', 'substitute.c',
'fsusage.c', 'ms_fnmatch.c', 'select.c', 'mutex.c', 'idtree.c',
'db_wrap.c']
proto_files = basic_files
basic = hostenv.Library('basic', [dynconfig,charset,talloc,basic_files])
Export('basic')
hostenv.Library('tdr', ['tdr/tdr.c'])
hostenv.Library('crypto',
['crypto/crc32.c','crypto/md5.c','crypto/hmacmd5.c',
'crypto/md4.c','crypto/arcfour.c'])
hostenv.Library('compression', ['compression/mszip.c'])
hostenv.Library('gencache',['gencache.c'])
hostenv.Library('pidfile',['pidfile.c'])
hostenv.Library('unix_privs',['unix_privs.c'])
SConscript(dirs=['ldb'])
Import('ldb')
gendb_files = ['gendb.c']
proto_files += gendb_files
gendb = hostenv.Library('gendb', [gendb_files,ldb])
Export('gendb')
credentials_files = ['credentials.c']
proto_files += credentials_files
credentials = hostenv.Library('credentials',[credentials_files,basic,gendb])
Export('credentials')
hostenv.proto_headers += hostenv.CProtoHeader('proto.h', proto_files)
SConscript(dirs=['../param/','replace','tdb','popt','cmdline','registry', 'tls','samba3','socket','socket_wrapper','messaging','com','events', 'appweb', 'netif'])