mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
a7c65958a1
This is the big switch to use samba-dcerpcd for the RPC services in source3/. It is a pretty big and unordered patch, but I don't see a good way to split this up into more manageable pieces without sacrificing bisectability even more. Probably I could cut out a few small ones, but a major architechtural switch like this will always be messy. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Samuel Cabrero <scabrero@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
45 lines
1.6 KiB
Python
45 lines
1.6 KiB
Python
#!/usr/bin/env python
|
|
|
|
bld.SAMBA3_SUBSYSTEM('PARAM_UTIL',
|
|
source='util.c',
|
|
deps='talloc')
|
|
|
|
bld.SAMBA3_SUBSYSTEM('LOADPARM_CTX',
|
|
source='loadparm_ctx.c',
|
|
deps='''talloc smbconf''')
|
|
|
|
bld.SAMBA_GENERATOR('s3_param_proto_h',
|
|
source= '../../script/generate_param.py ../../docs-xml/smbdotconf/parameters.all.xml',
|
|
target='param_proto.h',
|
|
group='build_source',
|
|
rule='${PYTHON} ${SRC[0].abspath(env)} --file ${SRC[1].abspath(env)} --output ${TGT} --mode=S3PROTO')
|
|
|
|
pytalloc_util = bld.pyembed_libname('pytalloc-util')
|
|
pyparam_util = bld.pyembed_libname('pyparam3_util')
|
|
libpython = bld.pyembed_libname('LIBPYTHON')
|
|
|
|
bld.SAMBA3_PYTHON('pys3param',
|
|
source='pyparam.c',
|
|
deps='smbconf %s' % pyparam_util,
|
|
public_deps=' '.join(['samba-hostconfig', pytalloc_util, 'talloc']),
|
|
realname='samba/samba3/param.so')
|
|
|
|
bld.SAMBA3_SUBSYSTEM(pyparam_util,
|
|
source='pyparam_util.c',
|
|
deps='%s samba-hostconfig %s' % (libpython, pytalloc_util),
|
|
pyext=True,
|
|
enabled=bld.PYTHON_BUILD_IS_ENABLED()
|
|
)
|
|
|
|
bld.SAMBA3_SUBSYSTEM('param_service',
|
|
source='service.c',
|
|
deps = 'USER_UTIL smbconf')
|
|
|
|
bld.SAMBA3_BINARY('test_lp_load',
|
|
source='test_lp_load.c',
|
|
deps='''
|
|
talloc
|
|
smbconf
|
|
CMDLINE_S3''',
|
|
install=False)
|