summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/SConscript25
-rw-r--r--source4/lib/charset/SConscript3
-rw-r--r--source4/lib/cmdline/SConscript4
-rw-r--r--source4/lib/popt/SConscript3
-rw-r--r--source4/lib/registry/SConscript5
-rw-r--r--source4/lib/talloc/SConscript3
6 files changed, 43 insertions, 0 deletions
diff --git a/source4/lib/SConscript b/source4/lib/SConscript
new file mode 100644
index 0000000000..57427feb71
--- /dev/null
+++ b/source4/lib/SConscript
@@ -0,0 +1,25 @@
+Import('hostenv')
+basic = hostenv.StaticLibrary('basic',
+ ['version.c', 'xfile.c', 'debug.c', 'fault.c', 'pidfile.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',
+ 'unix_privs.c', 'db_wrap.c', 'gendb.c', 'credentials.c'])
+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('popt/SConscript','hostenv')
+SConscript('cmdline/SConscript','hostenv')
+SConscript('talloc/SConscript','hostenv')
+SConscript('registry/SConscript','hostenv')
+SConscript('charset/SConscript', 'hostenv')
diff --git a/source4/lib/charset/SConscript b/source4/lib/charset/SConscript
new file mode 100644
index 0000000000..0b67bedb0f
--- /dev/null
+++ b/source4/lib/charset/SConscript
@@ -0,0 +1,3 @@
+Import('hostenv')
+charset = hostenv.StaticLibrary('charset',['iconv.c','charcnv.c'])
+Export('charset')
diff --git a/source4/lib/cmdline/SConscript b/source4/lib/cmdline/SConscript
new file mode 100644
index 0000000000..7b5c14db87
--- /dev/null
+++ b/source4/lib/cmdline/SConscript
@@ -0,0 +1,4 @@
+Import('hostenv')
+Import('basic param')
+popt_common = hostenv.StaticLibrary('popt_common',['popt_common.c',basic,param])
+Export('popt_common')
diff --git a/source4/lib/popt/SConscript b/source4/lib/popt/SConscript
new file mode 100644
index 0000000000..90801ffb6f
--- /dev/null
+++ b/source4/lib/popt/SConscript
@@ -0,0 +1,3 @@
+Import('hostenv')
+popt = hostenv.StaticLibrary('popt', ['findme.c','popt.c','poptconfig.c','popthelp.c','poptparse.c'])
+Export('popt')
diff --git a/source4/lib/registry/SConscript b/source4/lib/registry/SConscript
new file mode 100644
index 0000000000..f63179283a
--- /dev/null
+++ b/source4/lib/registry/SConscript
@@ -0,0 +1,5 @@
+Import('hostenv')
+Import('talloc basic popt_common popt param')
+registry = hostenv.StaticLibrary('registry',
+ [basic,talloc,'common/reg_interface.c','common/reg_util.c'])
+hostenv.Program('regtree', ['tools/regtree.c',registry,talloc,basic,popt_common,popt,param])
diff --git a/source4/lib/talloc/SConscript b/source4/lib/talloc/SConscript
new file mode 100644
index 0000000000..e3851afa4e
--- /dev/null
+++ b/source4/lib/talloc/SConscript
@@ -0,0 +1,3 @@
+Import('hostenv')
+talloc = hostenv.StaticLibrary('talloc',['talloc.c'])
+Export('talloc')