summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-05-24 22:00:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:13 -0500
commit73f1ec5b0c4042728aed1a9cf22739aa1349090c (patch)
treea996fa7e7c9950ead7c4457a53cd66cfa983f8b6 /source4
parent2fbe37362f6c5835dc11b1d95b27ced6bfa5a513 (diff)
downloadsamba-73f1ec5b0c4042728aed1a9cf22739aa1349090c.tar.gz
samba-73f1ec5b0c4042728aed1a9cf22739aa1349090c.tar.bz2
samba-73f1ec5b0c4042728aed1a9cf22739aa1349090c.zip
r860: convert SUBSYSTEM TORTURE to a config.mk file
metze (This used to be commit 485eefcc0d0b6f599ec9bbb97d6d86a29dd5b762)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/config.m462
-rw-r--r--source4/torture/config.mk94
2 files changed, 99 insertions, 57 deletions
diff --git a/source4/torture/config.m4 b/source4/torture/config.m4
index ce88830357..d93aadfee0 100644
--- a/source4/torture/config.m4
+++ b/source4/torture/config.m4
@@ -1,63 +1,11 @@
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_MK(TORTURE_BASIC,torture/config.mk)
-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],
- [],
- [LIBSMB])
+SMB_SUBSYSTEM_MK(TORTURE_RAW,torture/config.mk)
-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],
- [],
- [LIBSMB])
+SMB_SUBSYSTEM_MK(TORTURE_RPC,torture/config.mk)
-SMB_SUBSYSTEM(TORTURE_NBENCH,[],
- [torture/nbench/nbio.o
- torture/nbench/nbench.o])
+SMB_SUBSYSTEM_MK(TORTURE_NBENCH,torture/config.mk)
-SMB_BINARY(smbtorture, [ALL], [BIN],
- [torture/torture.o
- torture/torture_util.o],
- [],
- [TORTURE_BASIC TORTURE_RAW TORTURE_RPC TORTURE_NBENCH CONFIG LIBCMDLINE LIBBASIC])
+SMB_BINARY_MK(smbtorture,torture/config.mk)
diff --git a/source4/torture/config.mk b/source4/torture/config.mk
new file mode 100644
index 0000000000..61d95a33b6
--- /dev/null
+++ b/source4/torture/config.mk
@@ -0,0 +1,94 @@
+# TORTURE subsystem
+
+#################################
+# Start SUBSYSTEM TORTURE_BASIC
+[SUBSYSTEM::TORTURE_BASIC]
+ADD_OBJ_FILES = \
+ 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
+REQUIRED_SUBSYSTEMS = \
+ LIBSMB
+# End SUBSYSTEM TORTURE_BASIC
+#################################
+
+#################################
+# Start SUBSYSTEM TORTURE_BASIC
+[SUBSYSTEM::TORTURE_RAW]
+ADD_OBJ_FILES = \
+ 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
+REQUIRED_SUBSYSTEMS = \
+ LIBSMB
+# End SUBSYSTEM TORTURE_RAW
+#################################
+
+#################################
+# Start SUBSYSTEM TORTURE_RPC
+[SUBSYSTEM::TORTURE_RPC]
+ADD_OBJ_FILES = \
+ 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
+REQUIRED_SUBSYSTEMS = \
+ LIBSMB
+# End SUBSYSTEM TORTURE_RPC
+#################################
+
+#################################
+# Start SUBSYSTEM TORTURE_NBENCH
+[SUBSYSTEM::TORTURE_NBENCH]
+ADD_OBJ_FILES = \
+ torture/nbench/nbio.o \
+ torture/nbench/nbench.o
+# End SUBSYSTEM TORTURE_NBENCH
+#################################
+
+#################################
+# Start BINARY smbtorture
+[BINARY::smbtorture]
+OBJ_FILES = \
+ torture/torture.o \
+ torture/torture_util.o
+REQUIRED_SUBSYSTEMS = \
+ TORTURE_BASIC \
+ TORTURE_RAW \
+ TORTURE_RPC \
+ TORTURE_NBENCH \
+ CONFIG \
+ LIBCMDLINE \
+ LIBBASIC
+# End BINARY smbtorture
+#################################