diff options
Diffstat (limited to 'lib/cmdline/wscript')
-rw-r--r-- | lib/cmdline/wscript | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lib/cmdline/wscript b/lib/cmdline/wscript new file mode 100644 index 0000000..01ead85 --- /dev/null +++ b/lib/cmdline/wscript @@ -0,0 +1,35 @@ +#!/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 secrets3') + + 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) |