r26197: Add bindings for libsecurity.
[sfrench/samba-autobuild/.git] / source4 / scripting / python / config.mk
1 [PYTHON::python_param]
2 PRIVATE_DEPENDENCIES = LIBSAMBA-CONFIG 
3 OBJ_FILES = parammodule.o
4
5 [PYTHON::python_uuid]
6 PRIVATE_DEPENDENCIES = LIBNDR 
7 OBJ_FILES = uuidmodule.o
8
9 [PYTHON::python_misc]
10 PRIVATE_DEPENDENCIES = LIBNDR LIBLDB
11 SWIG_FILE = misc.i
12
13 # Swig extensions
14 swig: pythonmods
15
16 .SUFFIXES: _wrap.c .i
17
18 .i_wrap.c:
19         $(SWIG) -Wall -I$(srcdir)/scripting/swig -python -keyword $<
20
21 realdistclean::
22         @echo "Removing SWIG output files"
23         @-rm -f bin/python/*
24         # FIXME: Remove _wrap.c files
25
26 pythonmods: $(PYTHON_DSOS)
27
28 PYDOCTOR_MODULES=bin/python/ldb.py bin/python/auth.py bin/python/credentials.py bin/python/registry.py bin/python/tdb.py
29
30 pydoctor:: pythonmods
31         LD_LIBRARY_PATH=bin/shared PYTHONPATH=bin/python pydoctor --make-html --docformat=restructuredtext --add-package scripting/python/samba/ $(addprefix --add-module , $(PYDOCTOR_MODULES))