2 # tastes like -*- python -*-
4 SConscript(dirs=['talloc','charset'])
5 Import('talloc', 'dynconfig', 'charset')
7 basic_files = ['version.c', 'xfile.c', 'debug.c', 'fault.c',
8 'signal.c', 'system.c', 'time.c', 'genrand.c', 'dprintf.c',
9 'util_str.c', 'util_strlist.c', 'util_unistr.c', 'util_file.c',
10 'data_blob.c', 'util.c', 'util_sock.c', 'substitute.c',
11 'fsusage.c', 'ms_fnmatch.c', 'select.c', 'mutex.c', 'idtree.c',
14 proto_files = basic_files
16 basic = hostenv.StaticLibrary('basic', [dynconfig,charset,talloc,basic_files])
19 hostenv.StaticLibrary('netif', ['netif/interface.c', 'netif/netif.c'])
20 hostenv.StaticLibrary('tdr', ['tdr/tdr.c'])
21 hostenv.StaticLibrary('crypto',
22 ['crypto/crc32.c','crypto/md5.c','crypto/hmacmd5.c',
23 'crypto/md4.c','crypto/arcfour.c'])
24 hostenv.StaticLibrary('compression', ['compression/mszip.c'])
25 hostenv.StaticLibrary('gencache',['gencache.c'])
26 hostenv.StaticLibrary('pidfile',['pidfile.c'])
27 hostenv.StaticLibrary('unix_privs',['unix_privs.c'])
29 SConscript(dirs=['ldb'])
32 gendb_files = ['gendb.c']
33 proto_files += gendb_files
34 gendb = hostenv.StaticLibrary('gendb', [gendb_files,ldb])
37 credentials_files = ['credentials.c']
38 proto_files += credentials_files
39 credentials = hostenv.StaticLibrary('credentials',[credentials_files,basic,gendb])
42 hostenv.proto_headers += hostenv.CProtoHeader('proto.h', proto_files)
44 SConscript(dirs=['../param/','replace','tdb','popt','cmdline','registry', 'tls','samba3','socket','socket_wrapper','messaging','com','events', 'appweb'])