summaryrefslogtreecommitdiff
path: root/source4/lib/SConscript
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2005-09-21 00:38:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:38:33 -0500
commit9d44a9a351e6c830ca18a0129bb11b3f99d53c4b (patch)
tree18d1d546248624f341ff2ba68a15bd1d2f7f8bce /source4/lib/SConscript
parentb5521a818fb6b54e5e719fc28e51f402a94f3529 (diff)
downloadsamba-9d44a9a351e6c830ca18a0129bb11b3f99d53c4b.tar.gz
samba-9d44a9a351e6c830ca18a0129bb11b3f99d53c4b.tar.bz2
samba-9d44a9a351e6c830ca18a0129bb11b3f99d53c4b.zip
r10374: Add HAVE_* defines (on command-line or in config.h file) for scons +
some other minor updates (This used to be commit f142c15de1afb2f13a5e23ceb40ce70f0115c8bf)
Diffstat (limited to 'source4/lib/SConscript')
-rw-r--r--source4/lib/SConscript20
1 files changed, 16 insertions, 4 deletions
diff --git a/source4/lib/SConscript b/source4/lib/SConscript
index 9c56310829..387f557932 100644
--- a/source4/lib/SConscript
+++ b/source4/lib/SConscript
@@ -1,13 +1,16 @@
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', 'gendb.c', 'credentials.c']
-basic = hostenv.StaticLibrary('basic', basic_files)
+ 'db_wrap.c']
+basic = hostenv.StaticLibrary('basic', [dynconfig,charset,talloc,basic_files])
Export('basic')
hostenv.StaticLibrary('netif', ['netif/interface.c', 'netif/netif.c'])
@@ -20,5 +23,14 @@ 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'])
+SConscript(dirs=['ldb'])
+
+Import('ldb')
+gendb = hostenv.StaticLibrary('gendb', ['gendb.c',ldb])
+Export('gendb')
+
+credentials = hostenv.StaticLibrary('credentials',['credentials.c',basic,gendb])
+Export('credentials')
+
+SConscript(dirs=['../param/','replace','tdb','popt','cmdline','registry', 'tls','samba3','socket','socket_wrapper','messaging','com','events', 'appweb'])
+