Import('hostenv') # tastes like -*- python -*- 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', 'gendb.c', 'credentials.c'] basic = hostenv.StaticLibrary('basic', basic_files) Export('basic') hostenv.StaticLibrary('netif', ['netif/interface.c', 'netif/netif.c']) hostenv.StaticLibrary('tdr', ['tdr/tdr.c']) hostenv.StaticLibrary('crypto', ['crypto/crc32.c','crypto/md5.c','crypto/hmacmd5.c', 'crypto/md4.c','crypto/arcfour.c']) hostenv.StaticLibrary('compression', ['compression/mszip.c']) hostenv.StaticLibrary('gencache',['gencache.c']) hostenv.StaticLibrary('pidfile',['pidfile.c']) hostenv.StaticLibrary('unix_privs',['unix_privs.c']) SConscript(dirs=['replace','tdb','popt','cmdline','talloc','registry','charset', 'ldb','tls','samba3','socket','socket_wrapper','messaging','com','events', 'appweb'], exports='hostenv')