mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
b09efc8b8b
Enable use in other daemons Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Sep 21 01:12:12 UTC 2021 on sn-devel-184
36 lines
1.1 KiB
Python
36 lines
1.1 KiB
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
import sys
|
|
from waflib import Logs
|
|
|
|
def build(bld):
|
|
bld.SAMBA_LIBRARY('cmdline',
|
|
source='''
|
|
cmdline.c
|
|
closefrom_except.c
|
|
''',
|
|
deps='''
|
|
talloc
|
|
cli_smb_common
|
|
samba-hostconfig
|
|
samba-credentials
|
|
CREDENTIALS_CMDLINE
|
|
popt
|
|
''',
|
|
private_library=True)
|
|
|
|
bld.SAMBA_SUBSYSTEM('CMDLINE_S3',
|
|
source='cmdline_s3.c',
|
|
deps='cmdline')
|
|
|
|
bld.SAMBA_SUBSYSTEM('CMDLINE_S4',
|
|
source='cmdline_s4.c',
|
|
deps='cmdline')
|
|
|
|
bld.SAMBA_BINARY('test_cmdline',
|
|
source='tests/test_cmdline.c',
|
|
deps='cmocka CMDLINE_S3 LOADPARM_CTX',
|
|
local_include=False,
|
|
for_selftest=True)
|