aee3ff41799dfccdfe53fa514e2b615374d4b80d
[nivanova/samba-autobuild/.git] / source4 / torture / wscript_build
1 #!/usr/bin/env python
2
3 # AUTOGENERATED by mktowscript.pl from ../../source4/torture/config.mk
4 # Please remove this notice if hand editing
5
6
7 bld.SAMBA_SUBSYSTEM('TORTURE_UTIL',
8         source='util_smb.c',
9         public_deps='torture POPT_CREDENTIALS',
10         deps='LIBCLI_RAW'
11         )
12
13
14 bld.SAMBA_MODULE('TORTURE_BASIC',
15         source='basic/base.c basic/misc.c basic/scanner.c basic/utable.c basic/charset.c basic/mangle_test.c basic/denytest.c basic/aliases.c basic/locking.c basic/secleak.c basic/rename.c basic/dir.c basic/delete.c basic/unlink.c basic/disconnect.c basic/delaywrite.c basic/attr.c basic/properties.c',
16         subsystem='smbtorture',
17         deps='LIBCLI_SMB POPT_CREDENTIALS TORTURE_UTIL LIBCLI_RAW TORTURE_RAW',
18         internal_module=True,
19         autoproto='basic/proto.h',
20         init_function='torture_base_init'
21         )
22
23
24 bld.SAMBA_MODULE('TORTURE_RAW',
25         source='raw/qfsinfo.c raw/qfileinfo.c raw/setfileinfo.c raw/search.c raw/close.c raw/open.c raw/mkdir.c raw/oplock.c raw/notify.c raw/mux.c raw/ioctl.c raw/chkpath.c raw/unlink.c raw/read.c raw/context.c raw/write.c raw/lock.c raw/pingpong.c raw/lockbench.c raw/lookuprate.c raw/tconrate.c raw/openbench.c raw/rename.c raw/eas.c raw/streams.c raw/acls.c raw/seek.c raw/samba3hide.c raw/samba3misc.c raw/composite.c raw/raw.c raw/offline.c',
26         autoproto='raw/proto.h',
27         subsystem='smbtorture',
28         init_function='torture_raw_init',
29         deps='LIBCLI_SMB LIBCLI_LSA LIBCLI_SMB_COMPOSITE POPT_CREDENTIALS TORTURE_UTIL',
30         internal_module=True
31         )
32
33 bld.BUILD_SUBDIR('smb2')
34 bld.BUILD_SUBDIR('winbind')
35 bld.BUILD_SUBDIR('libnetapi')
36 bld.BUILD_SUBDIR('libsmbclient')
37
38 bld.SAMBA_SUBSYSTEM('TORTURE_NDR',
39         source='ndr/ndr.c ndr/winreg.c ndr/atsvc.c ndr/lsa.c ndr/epmap.c ndr/dfs.c ndr/netlogon.c ndr/drsuapi.c ndr/spoolss.c ndr/samr.c ndr/dfsblob.c ndr/drsblobs.c',
40         autoproto='ndr/proto.h',
41         deps='torture SERVICE_SMB'
42         )
43
44
45 bld.SAMBA_MODULE('torture_rpc',
46         source='rpc/join.c rpc/lsa.c rpc/lsa_lookup.c rpc/session_key.c rpc/echo.c rpc/dfs.c rpc/drsuapi.c rpc/drsuapi_cracknames.c rpc/dssync.c rpc/dsgetinfo.c rpc/spoolss.c rpc/spoolss_notify.c rpc/spoolss_win.c rpc/unixinfo.c rpc/samr.c rpc/samr_accessmask.c rpc/wkssvc.c rpc/srvsvc.c rpc/svcctl.c rpc/atsvc.c rpc/eventlog.c rpc/epmapper.c rpc/winreg.c rpc/initshutdown.c rpc/oxidresolve.c rpc/remact.c rpc/mgmt.c rpc/scanner.c rpc/autoidl.c rpc/countcalls.c rpc/testjoin.c rpc/schannel.c rpc/netlogon.c rpc/remote_pac.c rpc/samlogon.c rpc/samsync.c rpc/bind.c rpc/dssetup.c rpc/alter_context.c rpc/bench.c rpc/samba3rpc.c rpc/rpc.c rpc/async_bind.c rpc/handles.c rpc/frsapi.c rpc/object_uuid.c rpc/ntsvcs.c rpc/browser.c',
47         autoproto='rpc/proto.h',
48         subsystem='smbtorture',
49         init_function='torture_rpc_init',
50         deps='NDR_TABLE RPC_NDR_UNIXINFO dcerpc_samr RPC_NDR_WINREG RPC_NDR_INITSHUTDOWN RPC_NDR_OXIDRESOLVER RPC_NDR_EVENTLOG RPC_NDR_ECHO RPC_NDR_SVCCTL RPC_NDR_NETLOGON dcerpc_atsvc dcerpc_mgmt RPC_NDR_DRSUAPI RPC_NDR_LSA RPC_NDR_EPMAPPER RPC_NDR_DFS RPC_NDR_FRSAPI RPC_NDR_SPOOLSS RPC_NDR_SRVSVC RPC_NDR_WKSSVC RPC_NDR_ROT RPC_NDR_DSSETUP RPC_NDR_REMACT RPC_NDR_OXIDRESOLVER RPC_NDR_NTSVCS WB_HELPER LIBSAMBA-NET LIBCLI_AUTH POPT_CREDENTIALS TORTURE_LDAP TORTURE_UTIL TORTURE_RAP dcerpc_server service process_model ntvfs SERVICE_SMB RPC_NDR_BROWSER LIBCLI_DRSUAPI TORTURE_LDB_MODULE',
51         internal_module=True
52         )
53
54 bld.BUILD_SUBDIR('drs')
55
56 bld.SAMBA_MODULE('TORTURE_RAP',
57         source='rap/rap.c rap/rpc.c',
58         autoproto='rap/proto.h',
59         subsystem='smbtorture',
60         init_function='torture_rap_init',
61         deps='TORTURE_UTIL LIBCLI_SMB',
62         internal_module=True
63         )
64
65
66 bld.SAMBA_MODULE('TORTURE_AUTH',
67         source='auth/ntlmssp.c auth/pac.c',
68         autoproto='auth/proto.h',
69         subsystem='smbtorture',
70         deps='LIBCLI_SMB gensec auth KERBEROS POPT_CREDENTIALS SMBPASSWD torture',
71         internal_module=True
72         )
73
74 bld.BUILD_SUBDIR('local')
75
76 bld.SAMBA_MODULE('TORTURE_NBENCH',
77         source='nbench/nbio.c nbench/nbench.c',
78         autoproto='nbench/proto.h',
79         subsystem='smbtorture',
80         init_function='torture_nbench_init',
81         deps='TORTURE_UTIL',
82         internal_module=True
83         )
84
85
86 bld.SAMBA_MODULE('TORTURE_UNIX',
87         source='unix/unix.c unix/whoami.c unix/unix_info2.c',
88         autoproto='unix/proto.h',
89         subsystem='smbtorture',
90         init_function='torture_unix_init',
91         deps='TORTURE_UTIL',
92         internal_module=True
93         )
94
95
96 bld.SAMBA_MODULE('TORTURE_LDAP',
97         source='ldap/common.c ldap/basic.c ldap/schema.c ldap/uptodatevector.c ldap/cldap.c ldap/cldapbench.c ldap/ldap_sort.c ldap/nested_search.c',
98         subsystem='smbtorture',
99         deps='LIBCLI_LDAP LIBCLI_CLDAP SAMDB POPT_CREDENTIALS torture LDB_WRAP',
100         internal_module=True,
101         autoproto='ldap/proto.h',
102         init_function='torture_ldap_init'
103         )
104
105
106 bld.SAMBA_MODULE('TORTURE_NBT',
107         source='nbt/query.c nbt/register.c nbt/wins.c nbt/winsbench.c nbt/winsreplication.c nbt/dgram.c nbt/nbt.c',
108         autoproto='nbt/proto.h',
109         subsystem='smbtorture',
110         init_function='torture_nbt_init',
111         deps='LIBCLI_SMB LIBCLI_NBT LIBCLI_DGRAM LIBCLI_WREPL torture_rpc',
112         internal_module=True
113         )
114
115
116 bld.SAMBA_MODULE('TORTURE_NET',
117         source='libnet/libnet.c libnet/utils.c libnet/userinfo.c libnet/userman.c libnet/groupinfo.c libnet/groupman.c libnet/domain.c libnet/libnet_lookup.c libnet/libnet_user.c libnet/libnet_group.c libnet/libnet_share.c libnet/libnet_rpc.c libnet/libnet_domain.c libnet/libnet_BecomeDC.c',
118         autoproto='libnet/proto.h',
119         subsystem='smbtorture',
120         init_function='torture_net_init',
121         deps='LIBSAMBA-NET POPT_CREDENTIALS torture_rpc PROVISION',
122         internal_module=True
123         )
124
125
126 bld.SAMBA_MODULE('TORTURE_NTP',
127         source='ntp/ntp_signd.c',
128         autoproto='ntp/proto.h',
129         subsystem='smbtorture',
130         init_function='torture_ntp_init',
131         deps='POPT_CREDENTIALS torture_rpc',
132         internal_module=True
133         )
134
135 TORTURE_MODULES = 'TORTURE_BASIC TORTURE_RAW torture_rpc TORTURE_RAP TORTURE_AUTH TORTURE_NBENCH TORTURE_UNIX TORTURE_LDAP TORTURE_NBT TORTURE_NET TORTURE_NTP torture_registry'
136
137 bld.SAMBA_BINARY('smbtorture',
138         source='smbtorture.c torture.c',
139         manpages='man/smbtorture.1',
140         public_headers='smbtorture.h',
141         installdir='BINDIR',
142         deps='torture LIBPOPT POPT_SAMBA POPT_CREDENTIALS dcerpc LIBCLI_SMB SMBREADLINE ' + TORTURE_MODULES,
143         needs_python=True
144         )
145
146
147 bld.SAMBA_BINARY('gentest',
148         source='gentest.c',
149         manpages='man/gentest.1',
150         installdir='BINDIR',
151         deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBPOPT POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB LIBCLI_RAW'
152         )
153
154
155 bld.SAMBA_BINARY('masktest',
156         source='masktest.c',
157         manpages='man/masktest.1',
158         installdir='BINDIR',
159         deps='LIBSAMBA-HOSTCONFIG LIBSAMBA-UTIL LIBPOPT POPT_SAMBA POPT_CREDENTIALS LIBCLI_SMB'
160         )
161
162
163 bld.SAMBA_BINARY('locktest',
164         source='locktest.c',
165         # COV_TARGET='test',
166         #ldflags='--coverage',
167         #cflags='--coverage',
168         # GCOV='1',
169         manpages='man/locktest.1',
170         deps='LIBPOPT POPT_SAMBA POPT_CREDENTIALS LIBSAMBA-UTIL LIBCLI_SMB LIBSAMBA-HOSTCONFIG',
171         installdir='BINDIR'
172         )
173