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:
committed by
Stefan Metzmacher
parent
4b94d5ca74
commit
cbf656ff05
35
source/scripting/python/config.mk
Normal file
35
source/scripting/python/config.mk
Normal 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))
|
||||
Reference in New Issue
Block a user