mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
Move DCE/RPC python bindings into samba package.
This commit is contained in:
parent
8ee4f07504
commit
8dafd4ce40
@ -722,101 +722,101 @@ PRIVATE_DEPENDENCIES = dcerpc NDR_IRPC EJSRPC
|
||||
RPC_EJS_IRPC_OBJ_FILES = $(gen_ndrsrcdir)/ndr_irpc_ejs.o
|
||||
|
||||
[PYTHON::swig_dcerpc]
|
||||
LIBRARY_REALNAME = dcerpc/_dcerpc.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/_dcerpc.$(SHLIBEXT)
|
||||
PUBLIC_DEPENDENCIES = LIBCLI_SMB NDR_MISC LIBSAMBA-UTIL LIBSAMBA-HOSTCONFIG dcerpc_samr RPC_NDR_LSA DYNCONFIG
|
||||
|
||||
swig_dcerpc_OBJ_FILES = $(dcerpcsrcdir)/dcerpc_wrap.o
|
||||
|
||||
$(eval $(call python_py_module_template,dcerpc/__init__.py,$(dcerpcsrcdir)/dcerpc.py))
|
||||
$(eval $(call python_py_module_template,samba/dcerpc/__init__.py,$(dcerpcsrcdir)/dcerpc.py))
|
||||
|
||||
$(swig_dcerpc_OBJ_FILES): CFLAGS+=$(CFLAG_NO_UNUSED_MACROS) $(CFLAG_NO_CAST_QUAL)
|
||||
|
||||
[PYTHON::python_echo]
|
||||
LIBRARY_REALNAME = dcerpc/echo.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/echo.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = RPC_NDR_ECHO PYTALLOC param swig_credentials
|
||||
|
||||
python_echo_OBJ_FILES = $(gen_ndrsrcdir)/py_echo.o
|
||||
|
||||
[PYTHON::python_winreg]
|
||||
LIBRARY_REALNAME = dcerpc/winreg.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/winreg.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = RPC_NDR_WINREG python_misc PYTALLOC param swig_credentials python_dcerpc_misc python_lsa
|
||||
|
||||
python_winreg_OBJ_FILES = $(gen_ndrsrcdir)/py_winreg.o
|
||||
|
||||
[PYTHON::python_dcerpc_misc]
|
||||
LIBRARY_REALNAME = dcerpc/misc.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/misc.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = PYTALLOC
|
||||
|
||||
python_dcerpc_misc_OBJ_FILES = $(gen_ndrsrcdir)/py_misc.o
|
||||
|
||||
[PYTHON::python_initshutdown]
|
||||
LIBRARY_REALNAME = dcerpc/initshutdown.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/initshutdown.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = RPC_NDR_INITSHUTDOWN PYTALLOC param swig_credentials python_lsa python_dcerpc_security
|
||||
|
||||
python_initshutdown_OBJ_FILES = $(gen_ndrsrcdir)/py_initshutdown.o
|
||||
|
||||
[PYTHON::python_epmapper]
|
||||
LIBRARY_REALNAME = dcerpc/epmapper.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/epmapper.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = dcerpc PYTALLOC param swig_credentials python_dcerpc_misc
|
||||
|
||||
python_epmapper_OBJ_FILES = $(gen_ndrsrcdir)/py_epmapper.o
|
||||
|
||||
[PYTHON::python_mgmt]
|
||||
LIBRARY_REALNAME = dcerpc/mgmt.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/mgmt.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = PYTALLOC param swig_credentials dcerpc python_dcerpc_misc
|
||||
|
||||
python_mgmt_OBJ_FILES = $(gen_ndrsrcdir)/py_mgmt.o
|
||||
|
||||
[PYTHON::python_atsvc]
|
||||
LIBRARY_REALNAME = dcerpc/atsvc.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/atsvc.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = dcerpc_atsvc PYTALLOC param swig_credentials
|
||||
|
||||
python_atsvc_OBJ_FILES = $(gen_ndrsrcdir)/py_atsvc.o
|
||||
|
||||
[PYTHON::python_samr]
|
||||
LIBRARY_REALNAME = dcerpc/samr.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/samr.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = dcerpc_samr PYTALLOC python_dcerpc_security python_lsa python_dcerpc_misc swig_credentials param
|
||||
|
||||
python_samr_OBJ_FILES = $(gen_ndrsrcdir)/py_samr.o
|
||||
|
||||
[PYTHON::python_svcctl]
|
||||
LIBRARY_REALNAME = dcerpc/svcctl.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/svcctl.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = RPC_NDR_SVCCTL PYTALLOC param swig_credentials python_dcerpc_misc
|
||||
|
||||
python_svcctl_OBJ_FILES = $(gen_ndrsrcdir)/py_svcctl.o
|
||||
|
||||
[PYTHON::python_lsa]
|
||||
LIBRARY_REALNAME = dcerpc/lsa.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/lsa.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = RPC_NDR_LSA PYTALLOC param swig_credentials python_dcerpc_security
|
||||
|
||||
python_lsa_OBJ_FILES = $(gen_ndrsrcdir)/py_lsa.o
|
||||
|
||||
[PYTHON::python_wkssvc]
|
||||
LIBRARY_REALNAME = dcerpc/wkssvc.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/wkssvc.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = RPC_NDR_WKSSVC PYTALLOC param swig_credentials python_lsa python_dcerpc_security
|
||||
|
||||
python_wkssvc_OBJ_FILES = $(gen_ndrsrcdir)/py_wkssvc.o
|
||||
|
||||
[PYTHON::python_dfs]
|
||||
LIBRARY_REALNAME = dcerpc/dfs.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/dfs.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = RPC_NDR_DFS PYTALLOC param swig_credentials python_dcerpc_misc
|
||||
|
||||
python_dfs_OBJ_FILES = $(gen_ndrsrcdir)/py_dfs.o
|
||||
|
||||
[PYTHON::python_unixinfo]
|
||||
LIBRARY_REALNAME = dcerpc/unixinfo.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/unixinfo.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = RPC_NDR_UNIXINFO PYTALLOC param swig_credentials python_dcerpc_security python_dcerpc_misc
|
||||
|
||||
python_unixinfo_OBJ_FILES = $(gen_ndrsrcdir)/py_unixinfo.o
|
||||
|
||||
[PYTHON::python_drsuapi]
|
||||
LIBRARY_REALNAME = dcerpc/drsuapi.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/drsuapi.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = RPC_NDR_DRSUAPI PYTALLOC param swig_credentials python_dcerpc_misc python_dcerpc_security
|
||||
|
||||
python_drsuapi_OBJ_FILES = $(gen_ndrsrcdir)/py_drsuapi.o
|
||||
|
||||
[PYTHON::python_dcerpc_security]
|
||||
LIBRARY_REALNAME = dcerpc/security.$(SHLIBEXT)
|
||||
LIBRARY_REALNAME = samba/dcerpc/security.$(SHLIBEXT)
|
||||
PRIVATE_DEPENDENCIES = PYTALLOC python_dcerpc_misc
|
||||
|
||||
python_dcerpc_security_OBJ_FILES = $(gen_ndrsrcdir)/py_security.o
|
||||
|
@ -17,7 +17,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from dcerpc import winreg
|
||||
from samba.dcerpc import winreg
|
||||
import unittest
|
||||
from samba.tests import RpcInterfaceTestCase
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from dcerpc import echo
|
||||
from samba.dcerpc import echo
|
||||
import unittest
|
||||
from samba.tests import RpcInterfaceTestCase
|
||||
|
||||
|
@ -17,7 +17,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from dcerpc import samr
|
||||
from samba.dcerpc import samr
|
||||
from samba.tests import RpcInterfaceTestCase
|
||||
|
||||
class SamrTests(RpcInterfaceTestCase):
|
||||
|
@ -17,7 +17,7 @@
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#
|
||||
|
||||
from dcerpc import unixinfo
|
||||
from samba.dcerpc import unixinfo
|
||||
from samba.tests import RpcInterfaceTestCase
|
||||
|
||||
class UnixinfoTests(RpcInterfaceTestCase):
|
||||
|
Loading…
Reference in New Issue
Block a user