r10510: Decrease the amount of data included by includes.h a bit
[samba.git] / source / 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,charset])
17 Export('basic')
18
19 hostenv.StaticLibrary('tdr', ['tdr/tdr.c'])
20 hostenv.StaticLibrary('crypto', 
21                 ['crypto/crc32.c','crypto/md5.c','crypto/hmacmd5.c',
22                 'crypto/md4.c','crypto/arcfour.c'])
23 hostenv.StaticLibrary('compression', ['compression/mszip.c'])
24 hostenv.StaticLibrary('gencache',['gencache.c'])
25 hostenv.StaticLibrary('pidfile',['pidfile.c'])
26 hostenv.StaticLibrary('unix_privs',['unix_privs.c'])
27
28 SConscript(dirs=['ldb'])
29
30 Import('ldb')
31 gendb_files = ['gendb.c']
32 proto_files += gendb_files
33 gendb = hostenv.StaticLibrary('gendb', [gendb_files,ldb])
34 Export('gendb')
35
36 credentials_files = ['credentials.c']
37 proto_files += credentials_files
38 credentials = hostenv.StaticLibrary('credentials',[credentials_files,basic,gendb])
39 Export('credentials')
40
41 hostenv.proto_headers += hostenv.CProtoHeader('proto.h', proto_files)
42
43 SConscript(dirs=['../param/','replace','tdb','popt','cmdline','registry', 'tls','samba3','socket','socket_wrapper','messaging','com','events', 'appweb', 'netif'])
44