mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
build: provide tevent-util as a public library
This is needed so that OpenChange can get at _tevent_req_nterr(), which is referenced by generated PIDL output. Andrew Bartlett
This commit is contained in:
parent
07840b665f
commit
af5f494bd2
@ -2,6 +2,6 @@
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('gensec_runtime',
|
||||
source='gensec.c',
|
||||
deps='UTIL_TEVENT tevent samba-util LIBTSOCKET',
|
||||
deps='tevent-util tevent samba-util LIBTSOCKET',
|
||||
public_headers='gensec.h',
|
||||
autoproto='gensec_toplevel_proto.h')
|
||||
|
@ -4,6 +4,6 @@
|
||||
bld.SAMBA_SUBSYSTEM('LIBASYNC_REQ',
|
||||
source='async_sock.c',
|
||||
public_deps='talloc tevent',
|
||||
deps='UTIL_TEVENT'
|
||||
deps='tevent-util'
|
||||
)
|
||||
|
||||
|
@ -48,12 +48,13 @@ bld.SAMBA_LIBRARY('UTIL_TDB',
|
||||
private_library=True
|
||||
)
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('UTIL_TEVENT',
|
||||
bld.SAMBA_LIBRARY('tevent-util',
|
||||
source='tevent_unix.c tevent_ntstatus.c tevent_werror.c',
|
||||
local_include=False,
|
||||
public_deps='tevent',
|
||||
public_headers='tevent_ntstatus.h tevent_unix.h tevent_werror.h',
|
||||
header_path=[ ('*', 'util') ],
|
||||
vnum='0.0.1'
|
||||
)
|
||||
|
||||
|
||||
|
@ -31,4 +31,4 @@ bld.SAMBA_LIBRARY('samba-sockets',
|
||||
source=[],
|
||||
private_library=True,
|
||||
grouping_library=True,
|
||||
deps='LIBTSOCKET samba_socket UTIL_TEVENT')
|
||||
deps='LIBTSOCKET samba_socket tevent-util')
|
||||
|
@ -4,7 +4,7 @@
|
||||
bld.SAMBA_LIBRARY('cli_cldap',
|
||||
source='cldap.c',
|
||||
public_deps='cli-ldap',
|
||||
deps='LIBTSOCKET samba-util UTIL_TEVENT ldb LIBCLI_NETLOGON',
|
||||
deps='LIBTSOCKET samba-util tevent-util ldb LIBCLI_NETLOGON',
|
||||
private_library=True
|
||||
)
|
||||
|
||||
|
@ -4,5 +4,5 @@ bld.SAMBA_MODULE('TORTURE_LIBCLI_ECHO',
|
||||
source='echo.c',
|
||||
subsystem='smbtorture',
|
||||
init_function='torture_libcli_echo_init',
|
||||
deps='LIBTSOCKET UTIL_TEVENT LIBCLI_ECHO',
|
||||
deps='LIBTSOCKET tevent-util LIBCLI_ECHO',
|
||||
internal_module=True);
|
||||
|
@ -2,6 +2,6 @@
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('LIBCLI_ECHO',
|
||||
source='echo.c',
|
||||
deps='LIBTSOCKET UTIL_TEVENT');
|
||||
deps='LIBTSOCKET tevent-util');
|
||||
|
||||
bld.RECURSE('tests')
|
||||
|
@ -14,7 +14,7 @@ bld.SAMBA_SUBSYSTEM('lmhosts',
|
||||
if bld.env._SAMBA_BUILD_ == 4:
|
||||
bld.SAMBA_LIBRARY('cli-nbt',
|
||||
source='nbtsocket.c namequery.c nameregister.c namerefresh.c namerelease.c',
|
||||
public_deps='ndr NDR_NBT tevent UTIL_TEVENT NDR_SECURITY samba_socket samba-util lmhosts',
|
||||
public_deps='ndr NDR_NBT tevent tevent-util NDR_SECURITY samba_socket samba-util lmhosts',
|
||||
private_library=True
|
||||
)
|
||||
|
||||
|
@ -589,5 +589,5 @@ bld.SAMBA_LIBRARY('ndr',
|
||||
|
||||
bld.SAMBA_LIBRARY('rpccommon',
|
||||
source='rpc/dcerpc_error.c rpc/binding.c rpc/dcerpc_util.c rpc/binding_handle.c',
|
||||
deps='ndr tevent NDR_DCERPC LIBTSOCKET UTIL_TEVENT',
|
||||
deps='ndr tevent NDR_DCERPC LIBTSOCKET tevent-util',
|
||||
private_library=True)
|
||||
|
@ -1413,8 +1413,8 @@ if not bld.env.toplevel_build:
|
||||
source='lib/ldb_compat.c',
|
||||
deps='samba-util')
|
||||
bld.SAMBA3_SUBSYSTEM('ldb', source='', deps='ldb3')
|
||||
bld.SAMBA3_SUBSYSTEM('dcerpc', '', deps='UTIL_TEVENT')
|
||||
bld.SAMBA3_SUBSYSTEM('cli-ldap', '', deps='UTIL_TEVENT')
|
||||
bld.SAMBA3_SUBSYSTEM('dcerpc', '', deps='tevent-util')
|
||||
bld.SAMBA3_SUBSYSTEM('cli-ldap', '', deps='tevent-util')
|
||||
bld.SAMBA3_SUBSYSTEM('LOADPARM_CTX', '')
|
||||
|
||||
########################## INCLUDES #################################
|
||||
|
@ -4,7 +4,7 @@ bld.SAMBA_LIBRARY('gensec',
|
||||
source='gensec_start.c socket.c gensec_tstream.c',
|
||||
pc_files='gensec.pc',
|
||||
autoproto='gensec_proto.h',
|
||||
public_deps='UTIL_TEVENT samba-util errors LIBPACKET auth_system_session gensec_runtime',
|
||||
public_deps='tevent-util samba-util errors LIBPACKET auth_system_session gensec_runtime',
|
||||
deps='com_err',
|
||||
vnum='0.0.1'
|
||||
)
|
||||
|
@ -51,7 +51,7 @@ bld.SAMBA_MODULE('auth4_unix',
|
||||
bld.SAMBA_LIBRARY('auth4',
|
||||
source='auth.c auth_util.c auth_simple.c',
|
||||
autoproto='auth_proto.h',
|
||||
deps='samba-util security samdb credentials UTIL_TEVENT LIBWBCLIENT_OLD auth_unix_token',
|
||||
deps='samba-util security samdb credentials tevent-util LIBWBCLIENT_OLD auth_unix_token',
|
||||
private_library=True
|
||||
)
|
||||
|
||||
|
@ -49,5 +49,5 @@ def configure(conf):
|
||||
def build(bld):
|
||||
bld.SAMBA_SUBSYSTEM('LIBTLS',
|
||||
source='tls.c tlscert.c tls_tstream.c',
|
||||
public_deps='talloc gnutls gcrypt samba-hostconfig samba_socket LIBTSOCKET tevent UTIL_TEVENT'
|
||||
public_deps='talloc gnutls gcrypt samba-hostconfig samba_socket LIBTSOCKET tevent tevent-util'
|
||||
)
|
||||
|
@ -3,7 +3,7 @@
|
||||
bld.SAMBA_SUBSYSTEM('LIBCLI_SMB2',
|
||||
source='transport.c request.c negprot.c session.c tcon.c create.c close.c connect.c getinfo.c write.c read.c setinfo.c find.c ioctl.c logoff.c tdis.c flush.c lock.c notify.c cancel.c keepalive.c break.c util.c signing.c lease_break.c',
|
||||
autoproto='smb2_proto.h',
|
||||
deps='UTIL_TEVENT',
|
||||
deps='tevent-util',
|
||||
public_deps='cli_raw LIBPACKET gensec tevent'
|
||||
)
|
||||
|
||||
|
@ -5,7 +5,7 @@ bld.RECURSE('wbclient')
|
||||
|
||||
bld.SAMBA_SUBSYSTEM('LIBSAMBA_TSOCKET',
|
||||
source='../../libcli/util/tstream.c',
|
||||
public_deps='LIBTSOCKET UTIL_TEVENT'
|
||||
public_deps='LIBTSOCKET tevent-util'
|
||||
)
|
||||
|
||||
|
||||
@ -27,13 +27,13 @@ bld.SAMBA_SUBSYSTEM('cli_composite',
|
||||
bld.SAMBA_SUBSYSTEM('LIBCLI_SMB_COMPOSITE',
|
||||
source='smb_composite/loadfile.c smb_composite/savefile.c smb_composite/connect.c smb_composite/sesssetup.c smb_composite/fetchfile.c smb_composite/appendacl.c smb_composite/fsinfo.c smb_composite/smb2.c',
|
||||
autoproto='smb_composite/proto.h',
|
||||
deps='LIBCLI_SMB2 UTIL_TEVENT',
|
||||
deps='LIBCLI_SMB2 tevent-util',
|
||||
public_deps='cli_composite credentials gensec LIBCLI_RESOLVE tevent'
|
||||
)
|
||||
|
||||
bld.SAMBA_PYTHON('pysmb',
|
||||
source='pysmb.c',
|
||||
deps='LIBCLI_SMB_COMPOSITE LIBCLI_SMB2 UTIL_TEVENT pyparam_util',
|
||||
deps='LIBCLI_SMB_COMPOSITE LIBCLI_SMB2 tevent-util pyparam_util',
|
||||
public_deps='cli_composite credentials gensec LIBCLI_RESOLVE tevent',
|
||||
realname='samba/smb.so'
|
||||
)
|
||||
|
@ -138,7 +138,7 @@ bld.SAMBA_LIBRARY('dcerpc',
|
||||
rpc/dcerpc_util.c rpc/dcerpc_smb.c rpc/dcerpc_smb2.c rpc/dcerpc_sock.c
|
||||
rpc/dcerpc_connect.c rpc/dcerpc_secondary.c''',
|
||||
pc_files='dcerpc.pc',
|
||||
deps='samba_socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 ndr NDR_DCERPC RPC_NDR_EPMAPPER NDR_SCHANNEL RPC_NDR_NETLOGON RPC_NDR_MGMT gensec LIBCLI_AUTH cli_raw LP_RESOLVE UTIL_TEVENT rpccommon',
|
||||
deps='samba_socket LIBCLI_RESOLVE LIBCLI_SMB LIBCLI_SMB2 ndr NDR_DCERPC RPC_NDR_EPMAPPER NDR_SCHANNEL RPC_NDR_NETLOGON RPC_NDR_MGMT gensec LIBCLI_AUTH cli_raw LP_RESOLVE tevent-util rpccommon',
|
||||
autoproto='rpc/dcerpc_proto.h',
|
||||
public_deps='credentials tevent talloc',
|
||||
public_headers='''rpc/dcerpc.h ../../librpc/gen_ndr/mgmt.h
|
||||
|
@ -26,5 +26,5 @@ bld.SAMBA_SUBSYSTEM('IDMAP',
|
||||
|
||||
bld.SAMBA_BINARY('wbinfo',
|
||||
source='../../nsswitch/wbinfo.c',
|
||||
deps='samba-util LIBCLI_AUTH popt POPT_SAMBA winbind-client wbclient tevent UTIL_TEVENT LIBASYNC_REQ security ndr NDR_SECURITY'
|
||||
deps='samba-util LIBCLI_AUTH popt POPT_SAMBA winbind-client wbclient tevent tevent-util LIBASYNC_REQ security ndr NDR_SECURITY'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user