'''db_hash.c srvid.c reqid.c
pkt_read.c pkt_write.c comm.c
logging.c rb_tree.c'''),
- deps='replace talloc tevent tdb tevent-unix-util')
+ deps='replace talloc tevent tdb tevent-util')
bld.SAMBA_SUBSYSTEM('ctdb-protocol',
source=bld.SUBDIR('protocol',
bld.SAMBA_BINARY(target,
source=src,
- deps='talloc tevent tdb tevent-unix-util',
+ deps='talloc tevent tdb tevent-util',
install_path='${CTDB_TEST_LIBDIR}')
bld.SAMBA_BINARY('reqid_test',
bld.SAMBA_BINARY('fake_ctdbd',
source='tests/src/fake_ctdbd.c',
deps='''ctdb-util ctdb-protocol ctdb-system
- samba-util tevent-unix-util popt''',
+ samba-util tevent-util popt''',
install_path='${CTDB_TEST_LIBDIR}')
if bld.env.HAVE_INFINIBAND:
tevent execinfo pthread strv''',
local_include=False)
-bld.SAMBA_LIBRARY('tevent-unix-util',
- source='tevent_unix.c',
- local_include=False,
- deps='tevent',
- public_headers='tevent_unix.h',
- header_path=[ ('*', 'util') ],
- pc_files=[],
- vnum='0.0.1')
+if bld.env.SAMBA_UTIL_CORE_ONLY:
+
+ bld.SAMBA_LIBRARY('tevent-util',
+ source='tevent_unix.c',
+ local_include=False,
+ deps='tevent',
+ private_library=True)
-if not bld.env.SAMBA_UTIL_CORE_ONLY:
+else:
bld.env.public_headers_skip.append('charset_compat.h')
)
bld.SAMBA_LIBRARY('tevent-util',
- source='tevent_ntstatus.c tevent_werror.c',
+ source='tevent_unix.c tevent_ntstatus.c tevent_werror.c',
local_include=False,
- public_deps='tevent samba-errors tevent-unix-util',
- public_headers='tevent_ntstatus.h tevent_werror.h',
+ public_deps='tevent samba-errors',
+ public_headers='tevent_ntstatus.h tevent_unix.h tevent_werror.h',
header_path=[ ('*', 'util') ],
pc_files=[],
vnum='0.0.1'