1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-26 04:23:49 +03:00

r26088: Import some native-python python modules and move original python swig torture code to common python directory as well.

This commit is contained in:
Jelmer Vernooij
2007-11-21 13:07:16 +01:00
committed by Stefan Metzmacher
parent 4b94d5ca74
commit cbf656ff05
22 changed files with 483 additions and 683 deletions

View File

@@ -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))