caeeea5712368fa26622f9fc758a5550530663e3
[bbaumbach/samba-autobuild/.git] / source4 / lib / SConscript
1 Import('hostenv')
2 #            tastes like -*- python -*-
3
4 SConscript(dirs=['talloc','charset'])
5 Import('talloc', 'dynconfig', 'charset')
6
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',
12          'db_wrap.c']
13
14 proto_files = basic_files
15
16 basic = hostenv.StaticLibrary('basic', [dynconfig,charset,talloc,basic_files])
17 Export('basic')
18
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'])
28
29 SConscript(dirs=['ldb'])
30
31 Import('ldb')
32 gendb_files = ['gendb.c']
33 proto_files += gendb_files
34 gendb = hostenv.StaticLibrary('gendb', [gendb_files,ldb])
35 Export('gendb')
36
37 credentials_files = ['credentials.c']
38 proto_files += credentials_files
39 credentials = hostenv.StaticLibrary('credentials',[credentials_files,basic,gendb])
40 Export('credentials')
41
42 hostenv.proto_headers += hostenv.CProtoHeader('proto.h', proto_files)
43
44 SConscript(dirs=['../param/','replace','tdb','popt','cmdline','registry', 'tls','samba3','socket','socket_wrapper','messaging','com','events', 'appweb'])
45