summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-13 10:20:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:53:36 -0500
commitf236700ef67d4f93ec56ec7808584552e94e0dfe (patch)
tree3572ba5a82860e9dc60661161997b77704867cdc /source4/torture
parentb2d1f7890765fca5a119d43f4906e885c245005f (diff)
downloadsamba-f236700ef67d4f93ec56ec7808584552e94e0dfe.tar.gz
samba-f236700ef67d4f93ec56ec7808584552e94e0dfe.tar.bz2
samba-f236700ef67d4f93ec56ec7808584552e94e0dfe.zip
r665: merge over the new build system from my tmp branch
to the main SAMBA_4_0 tree. NOTE: that it's not completely ready, but it's functional:-) metze (This used to be commit c78a2ddb28ec50d6570a83b1f66f18a5c3621731)
Diffstat (limited to 'source4/torture')
-rw-r--r--[-rwxr-xr-x]source4/torture/config.m480
1 files changed, 56 insertions, 24 deletions
diff --git a/source4/torture/config.m4 b/source4/torture/config.m4
index f2fb4cbac2..587840a0f1 100755..100644
--- a/source4/torture/config.m4
+++ b/source4/torture/config.m4
@@ -1,32 +1,64 @@
dnl # TORTURE subsystem
+SMB_SUBSYSTEM(TORTURE_BASIC,[],
+ [torture/basic/scanner.o
+ torture/basic/utable.o
+ torture/basic/charset.o
+ torture/basic/mangle_test.o
+ torture/basic/denytest.o
+ torture/basic/aliases.o],
+ [],
+ [LIBSMB])
+
SMB_SUBSYSTEM(TORTURE_RAW,[],
- [torture/raw/qfsinfo.o torture/raw/qfileinfo.o torture/raw/setfileinfo.o \
- torture/raw/search.o torture/raw/close.o torture/raw/open.o torture/raw/mkdir.o \
- torture/raw/oplock.o torture/raw/notify.o torture/raw/mux.o torture/raw/ioctl.o \
- torture/raw/chkpath.o torture/raw/unlink.o torture/raw/read.o torture/raw/context.o \
- torture/raw/write.o torture/raw/lock.o torture/raw/rename.o torture/raw/seek.o],
- torture/raw/torture_raw_public_proto.h)
+ [torture/raw/qfsinfo.o
+ torture/raw/qfileinfo.o
+ torture/raw/setfileinfo.o
+ torture/raw/search.o
+ torture/raw/close.o
+ torture/raw/open.o
+ torture/raw/mkdir.o
+ torture/raw/oplock.o
+ torture/raw/notify.o
+ torture/raw/mux.o
+ torture/raw/ioctl.o
+ torture/raw/chkpath.o
+ torture/raw/unlink.o
+ torture/raw/read.o
+ torture/raw/context.o
+ torture/raw/write.o
+ torture/raw/lock.o
+ torture/raw/rename.o
+ torture/raw/seek.o],
+ [],
+ [LIBSMB])
SMB_SUBSYSTEM(TORTURE_RPC,[],
- [torture/rpc/lsa.o torture/rpc/echo.o torture/rpc/dfs.o \
- torture/rpc/spoolss.o torture/rpc/samr.o torture/rpc/wkssvc.o \
- torture/rpc/srvsvc.o torture/rpc/atsvc.o torture/rpc/eventlog.o \
- torture/rpc/epmapper.o torture/rpc/winreg.o torture/rpc/mgmt.o \
- torture/rpc/scanner.o torture/rpc/autoidl.o torture/rpc/netlogon.o],
- torture/rpc/torture_rpc_public_proto.h)
+ [torture/rpc/lsa.o
+ torture/rpc/echo.o
+ torture/rpc/dfs.o
+ torture/rpc/spoolss.o
+ torture/rpc/samr.o
+ torture/rpc/wkssvc.o
+ torture/rpc/srvsvc.o
+ torture/rpc/atsvc.o
+ torture/rpc/eventlog.o
+ torture/rpc/epmapper.o
+ torture/rpc/winreg.o
+ torture/rpc/mgmt.o
+ torture/rpc/scanner.o
+ torture/rpc/autoidl.o
+ torture/rpc/netlogon.o],
+ [],
+ [LIBSMB])
SMB_SUBSYSTEM(TORTURE_NBENCH,[],
- [torture/nbench/nbio.o torture/nbench/nbench.o])
-
-SMB_SUBSYSTEM(TORTURE_BASIC,[],
- [torture/basic/scanner.o torture/basic/utable.o \
- torture/basic/charset.o torture/basic/mangle_test.o \
- torture/basic/denytest.o \
- torture/basic/aliases.o])
+ [torture/nbench/nbio.o
+ torture/nbench/nbench.o])
-SMB_SUBSYSTEM(TORTURE,[],
- [torture/torture.o torture/torture_util.o \
- libcli/raw/clirewrite.o \$(TORTURE_RAW_OBJS) \
- \$(TORTURE_RPC_OBJS) \$(TORTURE_NBENCH_OBJS) \$(TORTURE_BASIC_OBJS)],
- torture/torture_public_proto.h)
+SMB_BINARY(smbtorture, [ALL], [BIN],
+ [torture/torture.o
+ torture/torture_util.o
+ libcli/raw/clirewrite.o],
+ [],
+ [TORTURE_BASIC TORTURE_RAW TORTURE_RPC TORTURE_NBENCH CONFIG LIBCMDLINE LIBBASIC])