2004-05-24 22:00:40 +00:00
# TORTURE subsystem
2006-03-17 16:27:22 +00:00
[LIBRARY :: torture ]
2006-03-21 10:57:02 +00:00
DESCRIPTION = Samba torture ( test ) suite
2006-03-19 17:24:31 +00:00
SO_VERSION = 0
VERSION = 0.0.1
2006-03-17 16:27:22 +00:00
PUBLIC_HEADERS = torture.h
PUBLIC_PROTO_HEADER = proto.h
OBJ_FILES = \
2006-05-22 20:07:01 +00:00
torture.o
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-03-17 16:45:24 +00:00
TORTURE_UTIL \
2006-03-17 16:27:22 +00:00
TORTURE_RAW \
TORTURE_SMB2 \
TORTURE_RAP \
TORTURE_AUTH \
TORTURE_LOCAL \
TORTURE_NBENCH \
TORTURE_LDAP \
TORTURE_NBT \
2006-03-19 19:47:05 +00:00
LIBSAMBA-CONFIG \
LIBSAMBA-UTIL
2004-05-24 22:00:40 +00:00
2006-03-17 16:45:24 +00:00
[SUBSYSTEM :: TORTURE_UTIL ]
OBJ_FILES = torture_util.o
PUBLIC_PROTO_HEADER = util.h
2006-05-14 23:19:00 +00:00
PUBLIC_DEPENDENCIES = POPT_CREDENTIALS
2006-03-17 16:45:24 +00:00
2006-05-22 20:07:01 +00:00
[SUBSYSTEM :: TORTURE_UI ]
OBJ_FILES = ui.o
PUBLIC_HEADERS = ui.h
PUBLIC_DEPENDENCIES = LIBTALLOC
2004-05-24 22:00:40 +00:00
#################################
# Start SUBSYSTEM TORTURE_BASIC
2006-03-17 16:11:02 +00:00
[MODULE :: TORTURE_BASIC ]
2006-03-17 16:27:22 +00:00
SUBSYSTEM = torture
2006-03-17 16:11:02 +00:00
INIT_FUNCTION = torture_base_init
2006-02-04 14:08:24 +00:00
PRIVATE_PROTO_HEADER = \
basic/proto.h
2005-12-26 18:03:50 +00:00
OBJ_FILES = \
2006-03-17 16:11:02 +00:00
basic/base.o \
2005-10-21 16:29:54 +00:00
basic/scanner.o \
basic/utable.o \
basic/charset.o \
basic/mangle_test.o \
basic/denytest.o \
basic/aliases.o \
basic/locking.o \
basic/secleak.o \
basic/rename.o \
basic/dir.o \
basic/delete.o \
basic/unlink.o \
basic/disconnect.o \
basic/delaywrite.o \
basic/attr.o \
basic/properties.o
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-05-14 13:51:27 +00:00
LIBCLI_SMB POPT_CREDENTIALS
2004-05-24 22:00:40 +00:00
# End SUBSYSTEM TORTURE_BASIC
#################################
#################################
2005-11-11 04:46:48 +00:00
# Start SUBSYSTEM TORTURE_RAW
2004-05-24 22:00:40 +00:00
[SUBSYSTEM :: TORTURE_RAW ]
2006-02-04 14:08:24 +00:00
PRIVATE_PROTO_HEADER = \
raw/proto.h
2005-12-26 18:03:50 +00:00
OBJ_FILES = \
2005-10-21 16:29:54 +00:00
raw/qfsinfo.o \
raw/qfileinfo.o \
raw/setfileinfo.o \
raw/search.o \
raw/close.o \
raw/open.o \
raw/mkdir.o \
raw/oplock.o \
raw/notify.o \
raw/mux.o \
raw/ioctl.o \
raw/chkpath.o \
raw/unlink.o \
raw/read.o \
raw/context.o \
raw/write.o \
raw/lock.o \
raw/rename.o \
raw/eas.o \
raw/streams.o \
raw/acls.o \
raw/seek.o \
raw/composite.o
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-05-14 13:51:27 +00:00
LIBCLI_SMB LIBCLI_LSA LIBCLI_SMB_COMPOSITE \
POPT_CREDENTIALS
2004-05-24 22:00:40 +00:00
# End SUBSYSTEM TORTURE_RAW
#################################
2005-11-11 04:46:48 +00:00
i n c l u d e s m b 2 / c o n f i g . m k
2006-03-14 15:02:05 +00:00
[MODULE :: torture_rpc ]
2006-03-17 00:45:52 +00:00
# TORTURE_NET and TORTURE_NBT use functions from torture_rpc...
2006-04-27 19:50:13 +00:00
OUTPUT_TYPE = INTEGRATED
2006-03-17 16:27:22 +00:00
SUBSYSTEM = torture
2006-03-14 15:02:05 +00:00
INIT_FUNCTION = torture_rpc_init
2006-02-04 14:08:24 +00:00
PRIVATE_PROTO_HEADER = \
rpc/proto.h
2005-12-26 18:03:50 +00:00
OBJ_FILES = \
2005-10-21 16:29:54 +00:00
rpc/join.o \
rpc/lsa.o \
2006-01-08 12:29:11 +00:00
rpc/lsa_lookup.o \
2005-10-21 16:29:54 +00:00
rpc/session_key.o \
rpc/echo.o \
rpc/dcom.o \
rpc/dfs.o \
rpc/drsuapi.o \
rpc/drsuapi_cracknames.o \
rpc/dssync.o \
rpc/spoolss.o \
rpc/unixinfo.o \
rpc/samr.o \
rpc/wkssvc.o \
rpc/srvsvc.o \
rpc/svcctl.o \
rpc/atsvc.o \
rpc/eventlog.o \
rpc/epmapper.o \
rpc/winreg.o \
rpc/initshutdown.o \
rpc/oxidresolve.o \
rpc/remact.o \
rpc/mgmt.o \
rpc/scanner.o \
rpc/autoidl.o \
rpc/countcalls.o \
rpc/testjoin.o \
rpc/schannel.o \
rpc/netlogon.o \
rpc/samlogon.o \
rpc/samsync.o \
rpc/rot.o \
rpc/bind.o \
rpc/dssetup.o \
rpc/alter_context.o \
2006-03-14 15:02:05 +00:00
rpc/bench.o \
2006-05-02 13:08:38 +00:00
rpc/rpc.o \
rpc/async_bind.o
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-03-09 22:25:50 +00:00
NDR_TABLE RPC_NDR_UNIXINFO RPC_NDR_SAMR RPC_NDR_WINREG RPC_NDR_INITSHUTDOWN \
2005-03-17 20:28:01 +00:00
RPC_NDR_OXIDRESOLVER RPC_NDR_EVENTLOG RPC_NDR_ECHO RPC_NDR_SVCCTL \
2004-11-19 20:21:13 +00:00
RPC_NDR_MGMT RPC_NDR_NETLOGON RPC_NDR_ATSVC RPC_NDR_DRSUAPI \
RPC_NDR_LSA RPC_NDR_EPMAPPER RPC_NDR_DFS RPC_NDR_SPOOLSS \
2005-02-21 13:13:21 +00:00
RPC_NDR_SRVSVC RPC_NDR_WKSSVC RPC_NDR_ROT RPC_NDR_DSSETUP \
2006-04-30 00:40:04 +00:00
RPC_NDR_REMACT RPC_NDR_OXIDRESOLVER WB_HELPER LIBSAMBA-NET \
2006-05-14 02:17:02 +00:00
LIBCLI_AUTH POPT_CREDENTIALS
2004-05-24 22:00:40 +00:00
2004-07-08 16:41:10 +00:00
#################################
2006-01-28 20:08:03 +00:00
# Start SUBSYSTEM TORTURE_RAP
[SUBSYSTEM :: TORTURE_RAP ]
2006-02-04 14:08:24 +00:00
PRIVATE_PROTO_HEADER = \
rap/proto.h
2005-12-26 18:03:50 +00:00
OBJ_FILES = \
2006-01-28 20:08:03 +00:00
rap/rap.o
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-04-29 23:22:54 +00:00
LIBCLI_SMB
2006-01-28 20:08:03 +00:00
# End SUBSYSTEM TORTURE_RAP
2004-07-08 16:41:10 +00:00
#################################
2004-05-25 15:56:02 +00:00
#################################
# Start SUBSYSTEM TORTURE_AUTH
[SUBSYSTEM :: TORTURE_AUTH ]
2006-02-04 14:08:24 +00:00
PRIVATE_PROTO_HEADER = \
auth/proto.h
2005-12-26 18:03:50 +00:00
OBJ_FILES = \
2005-10-21 16:29:54 +00:00
auth/ntlmssp.o \
auth/pac.o
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-05-14 13:51:27 +00:00
LIBCLI_SMB gensec auth LIBSAMBA3 KERBEROS \
POPT_CREDENTIALS
2004-05-25 15:56:02 +00:00
# End SUBSYSTEM TORTURE_AUTH
#################################
2005-12-02 03:19:23 +00:00
i n c l u d e l o c a l / c o n f i g . m k
2004-09-01 04:39:06 +00:00
2004-05-24 22:00:40 +00:00
#################################
# Start SUBSYSTEM TORTURE_NBENCH
[SUBSYSTEM :: TORTURE_NBENCH ]
2006-02-04 14:08:24 +00:00
PRIVATE_PROTO_HEADER = \
nbench/proto.h
2005-12-26 18:03:50 +00:00
OBJ_FILES = \
2005-10-21 16:29:54 +00:00
nbench/nbio.o \
nbench/nbench.o
2004-05-24 22:00:40 +00:00
# End SUBSYSTEM TORTURE_NBENCH
#################################
2004-08-12 08:00:45 +00:00
#################################
# Start SUBSYSTEM TORTURE_LDAP
[SUBSYSTEM :: TORTURE_LDAP ]
2006-02-04 14:08:24 +00:00
PRIVATE_PROTO_HEADER = \
ldap/proto.h
2005-12-26 18:03:50 +00:00
OBJ_FILES = \
2005-10-21 16:29:54 +00:00
ldap/common.o \
ldap/basic.o \
ldap/cldap.o \
ldap/cldapbench.o
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-05-14 19:15:07 +00:00
LIBCLI_LDAP LIBCLI_CLDAP POPT_CREDENTIALS
2004-08-12 08:00:45 +00:00
# End SUBSYSTEM TORTURE_LDAP
#################################
2005-01-31 09:54:39 +00:00
#################################
# Start SUBSYSTEM TORTURE_NBT
[SUBSYSTEM :: TORTURE_NBT ]
2006-02-04 14:08:24 +00:00
PRIVATE_PROTO_HEADER = \
nbt/proto.h
2005-12-26 18:03:50 +00:00
OBJ_FILES = \
2005-10-21 16:29:54 +00:00
nbt/query.o \
nbt/register.o \
nbt/wins.o \
nbt/winsbench.o \
nbt/winsreplication.o \
2006-01-27 13:10:24 +00:00
nbt/dgram.o \
nbt/browse.o
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-04-30 00:40:04 +00:00
LIBCLI_SMB LIBCLI_NBT LIBCLI_DGRAM LIBCLI_WREPL
2005-01-31 09:54:39 +00:00
# End SUBSYSTEM TORTURE_NBT
#################################
2005-03-04 00:25:16 +00:00
#################################
# Start SUBSYSTEM TORTURE_NET
2006-03-17 16:45:24 +00:00
[MODULE :: TORTURE_NET ]
SUBSYSTEM = torture
INIT_FUNCTION = torture_net_init
2006-02-04 14:08:24 +00:00
PRIVATE_PROTO_HEADER = \
libnet/proto.h
2005-12-26 18:03:50 +00:00
OBJ_FILES = \
2006-03-17 16:45:24 +00:00
libnet/libnet.o \
2005-10-21 16:29:54 +00:00
libnet/userinfo.o \
libnet/userman.o \
libnet/domain.o \
libnet/libnet_lookup.o \
libnet/libnet_user.o \
libnet/libnet_share.o \
libnet/libnet_rpc.o
2006-04-24 15:47:59 +00:00
PUBLIC_DEPENDENCIES = \
2006-05-14 11:43:33 +00:00
LIBSAMBA-NET \
POPT_CREDENTIALS
2005-03-04 00:25:16 +00:00
# End SUBSYSTEM TORTURE_NET
#################################
2004-05-24 22:00:40 +00:00
#################################
# Start BINARY smbtorture
[BINARY :: smbtorture ]
2005-08-03 00:08:28 +00:00
INSTALLDIR = BINDIR
2004-05-24 22:00:40 +00:00
OBJ_FILES = \
2006-03-17 16:27:22 +00:00
smbtorture.o
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2006-03-17 16:27:22 +00:00
torture \
2005-12-29 23:14:33 +00:00
LIBPOPT \
POPT_SAMBA \
POPT_CREDENTIALS
2005-10-21 16:29:54 +00:00
MANPAGE = man/smbtorture.1
2004-05-24 22:00:40 +00:00
# End BINARY smbtorture
#################################
2004-05-25 00:20:19 +00:00
#################################
# Start BINARY gentest
[BINARY :: gentest ]
2005-08-03 00:08:28 +00:00
INSTALLDIR = BINDIR
2004-05-25 00:20:19 +00:00
OBJ_FILES = \
2006-03-17 17:59:58 +00:00
gentest.o
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2006-03-19 19:47:05 +00:00
LIBSAMBA-CONFIG \
LIBSAMBA-UTIL \
2006-03-07 12:40:34 +00:00
LIBPOPT \
POPT_SAMBA \
POPT_CREDENTIALS \
2006-04-30 00:00:28 +00:00
LIBCLI_SMB \
LIBCLI_RAW
2005-10-21 16:29:54 +00:00
MANPAGE = man/gentest.1
2004-05-25 00:20:19 +00:00
# End BINARY gentest
#################################
#################################
# Start BINARY masktest
[BINARY :: masktest ]
2005-08-03 00:08:28 +00:00
INSTALLDIR = BINDIR
2004-05-25 00:20:19 +00:00
OBJ_FILES = \
2005-10-21 16:29:54 +00:00
masktest.o
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2006-03-19 19:47:05 +00:00
LIBSAMBA-CONFIG \
LIBSAMBA-UTIL \
2006-03-07 12:40:34 +00:00
LIBPOPT \
POPT_SAMBA \
POPT_CREDENTIALS \
2006-04-29 23:22:54 +00:00
LIBCLI_SMB
2005-10-21 16:29:54 +00:00
MANPAGE = man/masktest.1
2004-05-25 00:20:19 +00:00
# End BINARY masktest
#################################
#################################
# Start BINARY locktest
[BINARY :: locktest ]
2005-08-03 00:08:28 +00:00
INSTALLDIR = BINDIR
2004-05-25 00:20:19 +00:00
OBJ_FILES = \
2006-03-17 17:59:58 +00:00
locktest.o
2006-04-24 15:47:59 +00:00
PRIVATE_DEPENDENCIES = \
2006-04-29 23:22:54 +00:00
LIBCLI_SMB \
2006-03-19 19:47:05 +00:00
LIBSAMBA-CONFIG \
LIBSAMBA-UTIL
2005-10-21 16:29:54 +00:00
MANPAGE = man/locktest.1
2004-05-25 00:20:19 +00:00
# End BINARY locktest
#################################
2005-09-05 19:54:35 +00:00
GCOV_FLAGS = -ftest-coverage -fprofile-arcs
GCOV_LIBS = -lgcov
gcov :
@$( MAKE) test \
CFLAGS = " $( CFLAGS) $( GCOV_FLAGS) " \
LD_FLAGS = " $( LD_FLAGS) $( GCOV_FLAGS) " \
LIBS = " $( LIBS) $( GCOV_LIBS) "
2005-12-23 13:02:52 +00:00
for I in $( sort $( dir $( ALL_OBJS) ) ) ; \
2005-09-05 19:54:35 +00:00
do $( GCOV) -p -o $$ I $$ I/*.c; \
done