diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2007-11-21 12:31:43 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:45:56 +0100 |
commit | e5e2b64449a476552bbad49792b13f7501ecdc0c (patch) | |
tree | 528f291f764f78a4e06d31587c8129e350c27668 /source4/scripting/swig/config.mk | |
parent | d1d958caa1be1f0fe1769dc563e15e9a65851459 (diff) | |
download | samba-e5e2b64449a476552bbad49792b13f7501ecdc0c.tar.gz samba-e5e2b64449a476552bbad49792b13f7501ecdc0c.tar.bz2 samba-e5e2b64449a476552bbad49792b13f7501ecdc0c.zip |
r26079: Some cleanups in the old SWIG wrappers: - remove old torture tests for LDB (replaced by a much more extensive test) - moved tool to bin directory
(This used to be commit d6d3b0ad7a789441c82cf30a640033a052921c37)
Diffstat (limited to 'source4/scripting/swig/config.mk')
-rw-r--r-- | source4/scripting/swig/config.mk | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/source4/scripting/swig/config.mk b/source4/scripting/swig/config.mk index 944e33b9b4..193e84b255 100644 --- a/source4/scripting/swig/config.mk +++ b/source4/scripting/swig/config.mk @@ -1,16 +1,19 @@ # Swig extensions -swig: lib/tdb/swig/_tdb.$(SHLIBEXT) lib/ldb/swig/_ldb.$(SHLIBEXT) \ - libcli/swig/_libcli_nbt.$(SHLIBEXT) libcli/swig/_libcli_smb.$(SHLIBEXT) +swig: pythonmods +pythonmods: $(PYTHON_DSOS) + .SUFFIXES: _wrap.c .i .i_wrap.c: - swig -I$(srcdir)/scripting/swig -python $< + swig -Wall -I$(srcdir)/scripting/swig -python $< clean:: @echo "Removing SWIG output files" - @-rm -f scripting/swig/tdb.pyc scripting/swig/tdb.py + @-rm -f bin/python/* + # FIXME: Remove _wrap.c files -# Swig testing -swigtest: swig - ./selftest/test_swig.sh +PYDOCTOR_MODULES=bin/python/ldb.py bin/python/auth.py bin/python/credentials.py bin/python/registry.py + +pydoctor:: + LD_LIBRARY_PATH=bin/shared PYTHONPATH=bin/python pydoctor --make-html --docformat=restructedtext --add-package scripting/python/samba/ $(addprefix --add-module , $(PYDOCTOR_MODULES)) |