[PATCH 1/5] tdb: kill last bits from swig

Kirill Smelkov kirr at mns.spb.ru
Wed Oct 21 11:18:54 MDT 2009


We no longer use swig for pytdb, so there is no need for swig make
rules. Also pytdb.c header should be updated.

Signed-off-by: Kirill Smelkov <kirr at mns.spb.ru>
---
 lib/tdb/pytdb.c  |    2 +-
 lib/tdb/rules.mk |    5 -----
 2 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/lib/tdb/pytdb.c b/lib/tdb/pytdb.c
index 159bc4d..0d63391 100644
--- a/lib/tdb/pytdb.c
+++ b/lib/tdb/pytdb.c
@@ -1,7 +1,7 @@
 /* 
    Unix SMB/CIFS implementation.
 
-   Swig interface to tdb.
+   Python interface to tdb.
 
    Copyright (C) 2004-2006 Tim Potter <tpot at samba.org>
    Copyright (C) 2007-2008 Jelmer Vernooij <jelmer at samba.org>
diff --git a/lib/tdb/rules.mk b/lib/tdb/rules.mk
index 73ab771..023e0ce 100644
--- a/lib/tdb/rules.mk
+++ b/lib/tdb/rules.mk
@@ -1,8 +1,3 @@
-.SUFFIXES: .i _wrap.c
-
-.i_wrap.c: 
-	$(SWIG) -O -Wall -python -keyword $<
-
 showflags::
 	@echo 'tdb will be compiled with flags:'
 	@echo '  CFLAGS = $(CFLAGS)'
-- 
1.6.5.1.63.ga9d7



More information about the samba-technical mailing list