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/Makefile | 1 + source4/lib/tdb/python.mk | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/source4/Makefile b/source4/Makefile index b7d5206868..6118b553f9 100644 --- a/source4/Makefile +++ b/source4/Makefile @@ -61,6 +61,7 @@ libsrcdir := lib libsocketsrcdir := lib/socket libcharsetsrcdir := lib/charset ldb_sambasrcdir := lib/ldb-samba +tdbsrcdir := lib/tdb libtlssrcdir := lib/tls libregistrysrcdir := lib/registry smbreadlinesrcdir := lib/smbreadline 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