1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/source4/torture/smb2/wscript_build
Amitay Isaacs 002ef728bb torture: Fix build on freebsd, missing deps on cmdline
Missing dependency causes build failure on freebsd.

[2928/3944] Compiling source4/torture/util_smb.c
In file included from ../../source4/torture/util_smb.c:22:
../../lib/cmdline/cmdline.h:22:10: fatal error: 'popt.h' file not found
         ^~~~~~~~
1 error generated.

Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jun 22 02:05:17 UTC 2021 on sn-devel-184
2021-06-22 02:05:17 +00:00

58 lines
1.1 KiB
Python

#!/usr/bin/env python
bld.SAMBA_MODULE('TORTURE_SMB2',
source='''
acls.c
attr.c
block.c
charset.c
compound.c
connect.c
create.c
credits.c
delete-on-close.c
deny.c
dir.c
dosmode.c
durable_open.c
durable_v2_open.c
getinfo.c
ioctl.c
lease.c
lease_break_handler.c
lock.c
max_allowed.c
mangle.c
maxfid.c
maxwrite.c
mkdir.c
multichannel.c
oplock_break_handler.c
notify.c
notify_disabled.c
oplock.c
read.c
read_write.c
rename.c
replay.c
scan.c
secleak.c
session.c
sessid.c
setinfo.c
sharemode.c
smb2.c
streams.c
samba3misc.c
tcon.c
timestamps.c
util.c
''',
subsystem='smbtorture',
deps='LIBCLI_SMB2 torture NDR_IOCTL CMDLINE_S4',
internal_module=True,
autoproto='proto.h',
init_function='torture_smb2_init'
)