From 91fe80a555e45560e77732fd20cdf5ea439eacfd Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 Nov 2007 13:37:20 +0100 Subject: r26090: Make building tdb python bindings independent of use of external tdb. (This used to be commit bfe54e2f197ea3ef760aeeef8c248ff71419ecd8) --- source4/lib/tdb/python.mk | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 source4/lib/tdb/python.mk (limited to 'source4/lib/tdb/python.mk') diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk new file mode 100644 index 0000000000..23b01c120c --- /dev/null +++ b/source4/lib/tdb/python.mk @@ -0,0 +1,3 @@ +[PYTHON::swig_tdb] +SWIG_FILE = tdb.i +PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG -- cgit From 2d1c06c5781600a0efcf9becd3e2773dbbbf2cc7 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 4 Mar 2008 00:43:24 +0100 Subject: Fix includes. (This used to be commit 99e61dade2bd9ae2a5dfe17f766528012c09e46c) --- source4/lib/tdb/python.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib/tdb/python.mk') diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk index 23b01c120c..2d61545b7f 100644 --- a/source4/lib/tdb/python.mk +++ b/source4/lib/tdb/python.mk @@ -1,3 +1,5 @@ [PYTHON::swig_tdb] SWIG_FILE = tdb.i PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG + +swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o -- cgit From 2914b0ca04355f6f175b603a1de6030b20ce0830 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 May 2008 21:24:48 +0200 Subject: Remove support for .py files from smb_build - deal with it only in the makefiles. (This used to be commit b865249efaa58d0fc87fa25491fda3b970af81c3) --- source4/lib/tdb/python.mk | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib/tdb/python.mk') diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk index 2d61545b7f..51074c8576 100644 --- a/source4/lib/tdb/python.mk +++ b/source4/lib/tdb/python.mk @@ -3,3 +3,5 @@ SWIG_FILE = tdb.i PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o + +$(eval $(call python_py_module_template,tdb.py,lib/tdb/tdb.py)) -- cgit From 82bcf967b79321706cd19c759ea54c4465fe0d96 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 May 2008 21:32:53 +0200 Subject: Move CFLAGS overrides for SWIG modules to Makefile. (This used to be commit 58665a8a8e4b10435aebbf2c95b6a8e50db232d6) --- source4/lib/tdb/python.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/lib/tdb/python.mk') diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk index 51074c8576..1be237186f 100644 --- a/source4/lib/tdb/python.mk +++ b/source4/lib/tdb/python.mk @@ -5,3 +5,6 @@ PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o $(eval $(call python_py_module_template,tdb.py,lib/tdb/tdb.py)) + +$(swig_tdb_OBJ_FILES): CFLAGS+="$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)" + -- cgit From 49706ab19bd3ffd6125639e6a7753b2350cf54e1 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 21 May 2008 23:59:34 +0200 Subject: Move more modules inside of the samba package. (This used to be commit 9b39e99f48266a54ed0b8890c2efde218b4b118a) --- source4/lib/tdb/python.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/tdb/python.mk') diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk index 1be237186f..e71a60f233 100644 --- a/source4/lib/tdb/python.mk +++ b/source4/lib/tdb/python.mk @@ -1,5 +1,5 @@ [PYTHON::swig_tdb] -SWIG_FILE = tdb.i +LIBRARY_REALNAME = _tdb.$(SHLIBEXT) PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o -- cgit From 5ce59419a07c8e147daf51b77ffe2117f3d6a505 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Thu, 22 May 2008 02:13:26 +0200 Subject: Fix CFLAGS for SWIG files. (This used to be commit 8ee4f075046e0b181ec8a4ac1eaf3ea5621a56bf) --- source4/lib/tdb/python.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib/tdb/python.mk') diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk index e71a60f233..83336e7b41 100644 --- a/source4/lib/tdb/python.mk +++ b/source4/lib/tdb/python.mk @@ -6,5 +6,5 @@ swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o $(eval $(call python_py_module_template,tdb.py,lib/tdb/tdb.py)) -$(swig_tdb_OBJ_FILES): CFLAGS+="$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)" +$(swig_tdb_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL) -- cgit From 3fe58d839afd7b19cec33d84ba12a9e892ca5590 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 11 Jun 2008 02:47:09 +0200 Subject: Use variables for source dir of python tdb bindings. (This used to be commit 22e7bcfbe4534c070ac2dd5f39773ea023dfa7f7) --- source4/lib/tdb/python.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/tdb/python.mk') diff --git a/source4/lib/tdb/python.mk b/source4/lib/tdb/python.mk index 83336e7b41..12e8217df9 100644 --- a/source4/lib/tdb/python.mk +++ b/source4/lib/tdb/python.mk @@ -2,9 +2,9 @@ LIBRARY_REALNAME = _tdb.$(SHLIBEXT) PUBLIC_DEPENDENCIES = LIBTDB DYNCONFIG -swig_tdb_OBJ_FILES = lib/tdb/tdb_wrap.o +swig_tdb_OBJ_FILES = $(tdbsrcdir)/tdb_wrap.o -$(eval $(call python_py_module_template,tdb.py,lib/tdb/tdb.py)) +$(eval $(call python_py_module_template,tdb.py,$(tdbsrcdir)/tdb.py)) $(swig_tdb_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL) -- cgit