wscript_configure_embedded_heimdal: define HAVE_CLIENT_GSS_C_CHANNEL_BOUND_FLAG
[samba.git] / lib / cmdline / wscript
blob01ead85e2c48c2f51c169e6bf98fea446a370bf1
1 #!/usr/bin/env python
3 import os
4 import sys
5 from waflib import Logs
7 def build(bld):
8 bld.SAMBA_LIBRARY('cmdline',
9 source='''
10 cmdline.c
11 closefrom_except.c
12 ''',
13 deps='''
14 talloc
15 cli_smb_common
16 samba-hostconfig
17 samba-credentials
18 CREDENTIALS_CMDLINE
19 popt
20 ''',
21 private_library=True)
23 bld.SAMBA_SUBSYSTEM('CMDLINE_S3',
24 source='cmdline_s3.c',
25 deps='cmdline secrets3')
27 bld.SAMBA_SUBSYSTEM('CMDLINE_S4',
28 source='cmdline_s4.c',
29 deps='cmdline')
31 bld.SAMBA_BINARY('test_cmdline',
32 source='tests/test_cmdline.c',
33 deps='cmocka CMDLINE_S3 LOADPARM_CTX',
34 local_include=False,
35 for_selftest=True)