r10415: The ldb and tdb libraries are bad examples to test out the make proto
authorTim Potter <tpot@samba.org>
Thu, 22 Sep 2005 06:38:26 +0000 (06:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:38:43 +0000 (13:38 -0500)
code as they are marked as NOPROTO in the config.mk files.
(This used to be commit 5f530eacbae073e9df6adde316404f70ecfe9122)

source4/lib/ldb/SConscript
source4/lib/tdb/SConscript

index 52d6b87d0206de99312100baf4d9edb932ff51e3..ef89132ab264f1226d7edb398576ca8e082b9ac4 100644 (file)
@@ -1,6 +1,4 @@
-#            tastes like -*- python -*-
-
-Import('hostenv', 'talloc', 'defines', 'proto_files')
+Import('hostenv', 'talloc', 'defines')
 
 hostenv.StaticLibrary('modules/timestamps.c')
 hostenv.StaticLibrary('modules/rdn_name.c')
@@ -23,7 +21,6 @@ ldb_tdb_source = ['ldb_tdb/ldb_tdb.c', 'ldb_tdb/ldb_search.c',
                  'ldb_tdb/ldb_cache.c', 'ldb_tdb/ldb_tdb_wrap.c']
 
 hostenv.StaticLibrary('ldb_tdb', ldb_tdb_source)
-proto_files += [File(x) for x in ldb_tdb_source]
 
 ldb_source = ['common/ldb.c','common/ldb_ldif.c','common/ldb_parse.c',
              'common/ldb_parse.c','common/ldb_msg.c','common/ldb_utf8.c',
@@ -31,7 +28,6 @@ ldb_source = ['common/ldb.c','common/ldb_ldif.c','common/ldb_parse.c',
              'common/attrib_handlers.c','common/ldb_dn.c']
 
 ldb = hostenv.StaticLibrary('ldb', ldb_source + talloc)
-proto_files += [File(x) for x in ldb_source]
 
 Export('ldb')
 
index a7a477d7bc4c593d3c5e74e43e96567e92ccf093..09d0cf538a9046876b024286c3de2977bff1f6c8 100644 (file)
@@ -1,17 +1,15 @@
-Import('hostenv', 'proto_files')
+Import('hostenv')
+
 tdbenv = hostenv.Copy()
 tdbenv.Append(CPPPATH=['include'])
 
-tdb_files = ['common/tdb.c','common/dump.c','common/io.c','common/lock.c',
+tdb_source = ['common/tdb.c','common/dump.c','common/io.c','common/lock.c',
              'common/open.c','common/traverse.c','common/freelist.c',
              'common/error.c','common/transaction.c', 'common/tdbutil.c']
 
-tdb = tdbenv.StaticLibrary('tdb', tdb_files)
-
-proto_files += [File(x) for x in tdb_files]
+tdb = tdbenv.StaticLibrary('tdb', tdb_source)
 
 tdbtool = tdbenv.Program('bin/tdbtool', ['tools/tdbtool.c',tdb])
 tdbtorture = tdbenv.Program('bin/tdbtorture', ['tools/tdbtorture.c',tdb])
 tdbdump = tdbenv.Program('bin/tdbdump', ['tools/tdbdump.c',tdb])
 tdbbackup = tdbenv.Program('bin/tdbbackup', ['tools/tdbbackup.c',tdb])
-