s3: smbd: Fix schedule_smb2_aio_read() to allow the last read in a compound to go...
[Samba.git] / libcli / util / wscript_build
blob4267cfeb57e9d43547aa5eb7c90fdec23d56ca94
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 deps='gnutls',
11 # private_library=True,
12 pc_files=[],
13 vnum='1.0.0',
16 bld.SAMBA_GENERATOR('ntstatus_generated',
17 source='../../source4/scripting/bin/gen_ntstatus.py ntstatus_err_table.txt ../../source4/scripting/bin/gen_error_common.py',
18 target='ntstatus_gen.h nterr_gen.c py_ntstatus.c',
19 group='build_source',
20 rule='${PYTHON} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${TGT[0].abspath(env)} ${TGT[1].abspath(env)} ${TGT[2].abspath(env)}'
23 bld.SAMBA_GENERATOR('werror_generated',
24 source='../../source4/scripting/bin/gen_werror.py werror_err_table.txt ../../source4/scripting/bin/gen_error_common.py',
25 target='werror_gen.h werror_gen.c py_werror.c',
26 group='build_source',
27 rule='${PYTHON} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${TGT[0].abspath(env)} ${TGT[1].abspath(env)} ${TGT[2].abspath(env)}'
30 bld.SAMBA_PYTHON('python_ntstatus',
31 source='py_ntstatus.c',
32 deps='samba-errors',
33 realname='samba/ntstatus.so'
36 bld.SAMBA_PYTHON('python_werror',
37 source='py_werror.c',
38 deps='samba-errors',
39 realname='samba/werror.so'