diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 17:47:29 +0000 |
commit | 4f5791ebd03eaec1c7da0865a383175b05102712 (patch) | |
tree | 8ce7b00f7a76baa386372422adebbe64510812d4 /lib/audit_logging/wscript_build | |
parent | Initial commit. (diff) | |
download | samba-4f5791ebd03eaec1c7da0865a383175b05102712.tar.xz samba-4f5791ebd03eaec1c7da0865a383175b05102712.zip |
Adding upstream version 2:4.17.12+dfsg.upstream/2%4.17.12+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/audit_logging/wscript_build')
-rw-r--r-- | lib/audit_logging/wscript_build | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/lib/audit_logging/wscript_build b/lib/audit_logging/wscript_build new file mode 100644 index 0000000..125c94b --- /dev/null +++ b/lib/audit_logging/wscript_build @@ -0,0 +1,56 @@ +#!/usr/bin/env python + +bld.SAMBA_SUBSYSTEM( + 'audit_logging', + deps='''MESSAGING_SEND + jansson + samba-debug + LIBTSOCKET''', + source='audit_logging.c' +) + +if bld.AD_DC_BUILD_IS_ENABLED(): + bld.SAMBA_BINARY( + 'audit_logging_test', + source='tests/audit_logging_test.c', + deps=''' + audit_logging + jansson + cmocka + talloc + samba-util + LIBTSOCKET + ''', + for_selftest=True + ) + +if bld.AD_DC_BUILD_IS_ENABLED(): + bld.SAMBA_BINARY( + 'audit_logging_error_test', + source='tests/audit_logging_error_test.c', + deps=''' + audit_logging + jansson + cmocka + talloc + samba-util + LIBTSOCKET + ''', + for_selftest=True, + ldflags=''' + -Wl,--wrap,json_object_set_new + -Wl,--wrap,json_object_update + -Wl,--wrap,json_array_append_new + -Wl,--wrap,json_array_extend + -Wl,--wrap,json_object + -Wl,--wrap,json_string + -Wl,--wrap,json_integer + -Wl,--wrap,json_array + -Wl,--wrap,json_dumps + -Wl,--wrap,gettimeofday + -Wl,--wrap,localtime + -Wl,--wrap,talloc_named_const + -Wl,--wrap,talloc_strdup + -Wl,--wrap,tsocket_address_string + ''' + ) |