summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/python.mk
blob: 5325446e1ee19ab49cc44225f5ff3669a7c86c98 (plain)
1
2
3
4
5
6
7
8
9
10
[PYTHON::swig_ldb]
LIBRARY_REALNAME = _ldb.$(SHLIBEXT)
PUBLIC_DEPENDENCIES = LIBLDB

swig_ldb_OBJ_FILES = $(ldbdir)/ldb_wrap.o
$(swig_ldb_OBJ_FILES): CFLAGS+=-I$(ldbdir)/include

$(eval $(call python_py_module_template,ldb.py,$(ldbdir)/ldb.py))

$(swig_ldb_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)