mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
d945ed03c9
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
33 lines
995 B
Python
33 lines
995 B
Python
#!/usr/bin/env python
|
|
|
|
import os
|
|
import sys
|
|
from waflib import Logs
|
|
|
|
def build(bld):
|
|
bld.SAMBA_LIBRARY('cmdline',
|
|
source='cmdline.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)
|