diff options
Diffstat (limited to 'source4/scripting/python/config.mk')
-rw-r--r-- | source4/scripting/python/config.mk | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/source4/scripting/python/config.mk b/source4/scripting/python/config.mk new file mode 100644 index 0000000000..1c9ffb20ac --- /dev/null +++ b/source4/scripting/python/config.mk @@ -0,0 +1,35 @@ +[PYTHON::python_param] +PRIVATE_DEPENDENCIES = LIBSAMBA-CONFIG +OBJ_FILES = parammodule.o + +[PYTHON::python_uuid] +PRIVATE_DEPENDENCIES = LIBNDR +OBJ_FILES = uuidmodule.o + +[PYTHON::python_sid] +PRIVATE_DEPENDENCIES = LIBNDR +OBJ_FILES = sidmodule.o + +[PYTHON::python_misc] +PRIVATE_DEPENDENCIES = LIBNDR LIBLDB +SWIG_FILE = misc.i + +# Swig extensions +swig: pythonmods + +.SUFFIXES: _wrap.c .i + +.i_wrap.c: + swig -Wall -I$(srcdir)/scripting/swig -python $< + +clean:: + @echo "Removing SWIG output files" + @-rm -f bin/python/* + # FIXME: Remove _wrap.c files + # +pythonmods: $(PYTHON_DSOS) + +PYDOCTOR_MODULES=bin/python/ldb.py bin/python/auth.py bin/python/credentials.py bin/python/registry.py + +pydoctor:: pythonmods + LD_LIBRARY_PATH=bin/shared PYTHONPATH=bin/python pydoctor --make-html --docformat=restructuredtext --add-package scripting/python/samba/ $(addprefix --add-module , $(PYDOCTOR_MODULES)) |