s3: smbd: Sanitize any "server" and "share" components of SMB1 DFS paths to remove...
[Samba.git] / lib / audit_logging / wscript_build
blob3d530975ac6ffd44f4616418f7ba6a17ec072e42
1 #!/usr/bin/env python
3 bld.SAMBA_SUBSYSTEM(
4 'audit_logging',
5 deps='''MESSAGING_SEND
6 jansson
7 samba-debug
8 LIBTSOCKET
9 authn_policy''',
10 source='audit_logging.c'
13 if bld.AD_DC_BUILD_IS_ENABLED():
14 bld.SAMBA_BINARY(
15 'audit_logging_test',
16 source='tests/audit_logging_test.c',
17 deps='''
18 audit_logging
19 jansson
20 cmocka
21 talloc
22 samba-util
23 LIBTSOCKET
24 authn_policy
25 ''',
26 for_selftest=True
29 if bld.AD_DC_BUILD_IS_ENABLED():
30 bld.SAMBA_BINARY(
31 'audit_logging_error_test',
32 source='tests/audit_logging_error_test.c',
33 deps='''
34 audit_logging
35 jansson
36 cmocka
37 talloc
38 samba-util
39 LIBTSOCKET
40 authn_policy
41 ''',
42 for_selftest=True,
43 ldflags='''
44 -Wl,--wrap,json_object_set_new
45 -Wl,--wrap,json_object_update
46 -Wl,--wrap,json_array_append_new
47 -Wl,--wrap,json_array_extend
48 -Wl,--wrap,json_object
49 -Wl,--wrap,json_string
50 -Wl,--wrap,json_integer
51 -Wl,--wrap,json_array
52 -Wl,--wrap,json_dumps
53 -Wl,--wrap,gettimeofday
54 -Wl,--wrap,localtime
55 -Wl,--wrap,talloc_named_const
56 -Wl,--wrap,talloc_strdup
57 -Wl,--wrap,tsocket_address_string
58 '''