1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-29 04:23:51 +03:00

errors: pull out code into common file

This is a precursor to generating other types of errors.

Signed-off-by: Bob Campbell <bobcampbell@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Bob Campbell
2017-01-20 12:11:30 +13:00
committed by Andrew Bartlett
parent 113548daf5
commit aad57f9f1f
3 changed files with 105 additions and 75 deletions

View File

@@ -13,7 +13,7 @@ bld.SAMBA_LIBRARY('samba-errors',
)
bld.SAMBA_GENERATOR('ntstatus_generated',
source='../../source4/scripting/bin/gen_ntstatus.py ntstatus_err_table.txt',
source='../../source4/scripting/bin/gen_ntstatus.py ntstatus_err_table.txt ../../source4/scripting/bin/gen_error_common.py',
target='ntstatus_gen.h nterr_gen.c py_ntstatus.c',
group='build_source',
rule='${PYTHON} ${SRC[0].abspath(env)} ${SRC[1].abspath(env)} ${TGT[0].abspath(env)} ${TGT[1].abspath(env)} ${TGT[2].abspath(env)}'