mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
This allows a --without-ad-dc --enable-selftest build to compile, still testing some fileserver-only features. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
26 lines
557 B
Python
26 lines
557 B
Python
#!/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() and bld.CONFIG_GET('ENABLE_SELFTEST'):
|
|
bld.SAMBA_BINARY(
|
|
'audit_logging_test',
|
|
source='tests/audit_logging_test.c',
|
|
deps='''
|
|
audit_logging
|
|
jansson
|
|
cmocka
|
|
talloc
|
|
samba-util
|
|
LIBTSOCKET
|
|
''',
|
|
install=False
|
|
)
|