summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--auth/gensec/wscript_build2
-rw-r--r--lib/async_req/wscript_build2
-rwxr-xr-xlib/util/wscript_build3
-rw-r--r--lib/wscript_build2
-rw-r--r--libcli/cldap/wscript_build2
-rw-r--r--libcli/echo/tests/wscript_build2
-rw-r--r--libcli/echo/wscript_build2
-rw-r--r--libcli/nbt/wscript_build2
-rw-r--r--librpc/wscript_build2
-rwxr-xr-xsource3/wscript_build4
-rw-r--r--source4/auth/gensec/wscript_build2
-rw-r--r--source4/auth/ntlm/wscript_build2
-rw-r--r--source4/lib/tls/wscript2
-rw-r--r--source4/libcli/smb2/wscript_build2
-rw-r--r--source4/libcli/wscript_build6
-rwxr-xr-xsource4/librpc/wscript_build2
-rw-r--r--source4/winbind/wscript_build2
17 files changed, 21 insertions, 20 deletions
diff --git a/auth/gensec/wscript_build b/auth/gensec/wscript_build
index 4daa1de634..a9203f801d 100644
--- a/auth/gensec/wscript_build
+++ b/auth/gensec/wscript_build
@@ -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')
diff --git a/lib/async_req/wscript_build b/lib/async_req/wscript_build
index 352861c958..0de58e478b 100644
--- a/lib/async_req/wscript_build
+++ b/lib/async_req/wscript_build
@@ -4,6 +4,6 @@
bld.SAMBA_SUBSYSTEM('LIBASYNC_REQ',
source='async_sock.c',
public_deps='talloc tevent',
- deps='UTIL_TEVENT'
+ deps='tevent-util'
)
diff --git a/lib/util/wscript_build b/lib/util/wscript_build
index ee963ad971..82af65c010 100755
--- a/lib/util/wscript_build
+++ b/lib/util/wscript_build
@@ -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'
)
diff --git a/lib/wscript_build b/lib/wscript_build
index 9ce832a2fd..97c3cfa240 100644
--- a/lib/wscript_build
+++ b/lib/wscript_build
@@ -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')
diff --git a/libcli/cldap/wscript_build b/libcli/cldap/wscript_build
index c6257b2ae0..889c0af7c5 100644
--- a/libcli/cldap/wscript_build
+++ b/libcli/cldap/wscript_build
@@ -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
)
diff --git a/libcli/echo/tests/wscript_build b/libcli/echo/tests/wscript_build
index 7e58130708..366c89565a 100644
--- a/libcli/echo/tests/wscript_build
+++ b/libcli/echo/tests/wscript_build
@@ -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);
diff --git a/libcli/echo/wscript_build b/libcli/echo/wscript_build
index eedb4ac593..a9de1315a6 100644
--- a/libcli/echo/wscript_build
+++ b/libcli/echo/wscript_build
@@ -2,6 +2,6 @@
bld.SAMBA_SUBSYSTEM('LIBCLI_ECHO',
source='echo.c',
- deps='LIBTSOCKET UTIL_TEVENT');
+ deps='LIBTSOCKET tevent-util');
bld.RECURSE('tests')
diff --git a/libcli/nbt/wscript_build b/libcli/nbt/wscript_build
index 07d8c51b1f..2c70a1d775 100644
--- a/libcli/nbt/wscript_build
+++ b/libcli/nbt/wscript_build
@@ -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
)
diff --git a/librpc/wscript_build b/librpc/wscript_build
index 824274153d..aba7c3fc11 100644
--- a/librpc/wscript_build
+++ b/librpc/wscript_build
@@ -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)
diff --git a/source3/wscript_build b/source3/wscript_build
index 42a12be0cb..0a93999ad5 100755
--- a/source3/wscript_build
+++ b/source3/wscript_build
@@ -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 #################################
diff --git a/source4/auth/gensec/wscript_build b/source4/auth/gensec/wscript_build
index 4eed751408..94244191eb 100644
--- a/source4/auth/gensec/wscript_build
+++ b/source4/auth/gensec/wscript_build
@@ -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'
)
diff --git a/source4/auth/ntlm/wscript_build b/source4/auth/ntlm/wscript_build
index 29e54fd314..b8634c8944 100644
--- a/source4/auth/ntlm/wscript_build
+++ b/source4/auth/ntlm/wscript_build
@@ -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
)
diff --git a/source4/lib/tls/wscript b/source4/lib/tls/wscript
index fc6fd8864f..f34d7e8a08 100644
--- a/source4/lib/tls/wscript
+++ b/source4/lib/tls/wscript
@@ -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'
)
diff --git a/source4/libcli/smb2/wscript_build b/source4/libcli/smb2/wscript_build
index fc8e7b4f36..1f3d7ef3b5 100644
--- a/source4/libcli/smb2/wscript_build
+++ b/source4/libcli/smb2/wscript_build
@@ -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'
)
diff --git a/source4/libcli/wscript_build b/source4/libcli/wscript_build
index 2522ccc9ff..3184a19c04 100644
--- a/source4/libcli/wscript_build
+++ b/source4/libcli/wscript_build
@@ -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'
)
diff --git a/source4/librpc/wscript_build b/source4/librpc/wscript_build
index 68141f6193..35b0d4dca5 100755
--- a/source4/librpc/wscript_build
+++ b/source4/librpc/wscript_build
@@ -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
diff --git a/source4/winbind/wscript_build b/source4/winbind/wscript_build
index 09fee43809..8bf5d766e0 100644
--- a/source4/winbind/wscript_build
+++ b/source4/winbind/wscript_build
@@ -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'
)