s3:trusts_util: pass dcname to trust_pw_change()
[Samba.git] / libcli / util / wscript_build
blobf27014e3446a8eca866bb3ecebd964f005823b8f
1 #!/usr/bin/env python
4 bld.SAMBA_LIBRARY('samba-errors',
5 public_headers='error.h ntstatus.h ntstatus_gen.h doserr.h werror.h werror_gen.h hresult.h',
6 private_headers='nterr_private.h',
7 header_path='core',
8 source='doserr.c errormap.c nterr.c errmap_unix.c hresult.c',
9 public_deps='talloc samba-debug',
10 # private_library=True,
11 pc_files=[],
12 vnum='1',
15 bld.SAMBA_GENERATOR('ntstatus_generated',
16 source='../../source4/scripting/bin/gen_ntstatus.py ntstatus_err_table.txt ../../source4/scripting/bin/gen_error_common.py',
17 target='ntstatus_gen.h nterr_gen.c py_ntstatus.c',
18 group='build_source',
19 rule='${PYTHON} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${TGT[0].abspath(env)} ${TGT[1].abspath(env)} ${TGT[2].abspath(env)}'
22 bld.SAMBA_GENERATOR('werror_generated',
23 source='../../source4/scripting/bin/gen_werror.py werror_err_table.txt ../../source4/scripting/bin/gen_error_common.py',
24 target='werror_gen.h werror_gen.c py_werror.c',
25 group='build_source',
26 rule='${PYTHON} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${TGT[0].abspath(env)} ${TGT[1].abspath(env)} ${TGT[2].abspath(env)}'
29 bld.SAMBA_PYTHON('python_ntstatus',
30 source='py_ntstatus.c',
31 deps='samba-errors',
32 realname='samba/ntstatus.so'
35 bld.SAMBA_PYTHON('python_werror',
36 source='py_werror.c',
37 deps='samba-errors',
38 realname='samba/werror.so'