2 PUBLIC_DEPENDENCIES
= EXT_LIB_PYTHON
3 PRIVATE_DEPENDENCIES
= PYTALLOC
4 INIT_FUNCTION_SENTINEL
= { NULL
, NULL
}
6 LIBPYTHON_OBJ_FILES
= $(addprefix $(pyscriptsrcdir
)/, modules.o
)
9 PUBLIC_DEPENDENCIES
= EXT_LIB_PYTHON LIBTALLOC
11 PYTALLOC_OBJ_FILES
= ..
/lib
/talloc
/pytalloc.o
14 PRIVATE_DEPENDENCIES
= LIBNDR
16 python_uuid_OBJ_FILES
= $(pyscriptsrcdir
)/uuidmodule.o
19 LIBRARY_REALNAME
= samba
/glue.
$(SHLIBEXT
)
20 PRIVATE_DEPENDENCIES
= LIBNDR LIBLDB SAMDB CREDENTIALS pyldb python_dcerpc_misc python_dcerpc_security pyauth pyldb_util pyparam_util
22 python_glue_OBJ_FILES
= $(pyscriptsrcdir
)/pyglue.o
24 $(python_glue_OBJ_FILES
): CFLAGS
+=-I
$(ldbsrcdir
)
26 _PY_FILES
= $(shell find
$(pyscriptsrcdir
)/samba ..
/lib
/subunit
/python
-type f
-name
"*.py")
28 $(eval
$(foreach pyfile
, $(_PY_FILES
),$(call python_py_module_template
,$(patsubst $(pyscriptsrcdir
)/%,%,$(subst ..
/lib
/subunit
/python
,,$(pyfile
))),$(pyfile
))))
31 PYDOCTOR_OPTIONS
= --project-name Samba
--project-url http
://www.samba.org
/ \
34 LD_LIBRARY_PATH
=bin
/shared PYTHONPATH
=$(pythonbuilddir
) pydoctor
--project-name
=Samba
--project-url
=http
://www.samba.org
/ --make-html
--docformat
=restructuredtext
$(addprefix --add-package
$(pythonbuilddir
)/, samba
)
36 install:: installpython
41 $(PYFLAKES
) $(pyscriptsrcdir
)/samba
46 PYTHONPATH
=$(pyscriptsrcdir
) $(PYLINT
) -f parseable samba