diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-03-17 16:27:22 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:57:36 -0500 |
commit | 52b410401a527cbc9294f10c01ee53d766bb5ac7 (patch) | |
tree | 3d47ef016f67c0f24637712876e35c8326c55220 /source4/torture/config.mk | |
parent | df891410f157263d6b3d884cf39aca596ba94cf6 (diff) | |
download | samba-52b410401a527cbc9294f10c01ee53d766bb5ac7.tar.gz samba-52b410401a527cbc9294f10c01ee53d766bb5ac7.tar.bz2 samba-52b410401a527cbc9294f10c01ee53d766bb5ac7.zip |
r14520: Split up smbtorture binary into a core (torture.c) and UI frontend (smbtorture.c)
(This used to be commit 7f9c11e7b1d7f6ce943900860febe0f43ea6548e)
Diffstat (limited to 'source4/torture/config.mk')
-rw-r--r-- | source4/torture/config.mk | 41 |
1 files changed, 23 insertions, 18 deletions
diff --git a/source4/torture/config.mk b/source4/torture/config.mk index 4711aba27d..af80699093 100644 --- a/source4/torture/config.mk +++ b/source4/torture/config.mk @@ -1,9 +1,27 @@ # TORTURE subsystem +[LIBRARY::torture] +PUBLIC_HEADERS = torture.h +PUBLIC_PROTO_HEADER = proto.h +OBJ_FILES = \ + torture.o \ + torture_util.o +REQUIRED_SUBSYSTEMS = \ + TORTURE_RAW \ + TORTURE_SMB2 \ + TORTURE_RAP \ + TORTURE_AUTH \ + TORTURE_LOCAL \ + TORTURE_NBENCH \ + TORTURE_LDAP \ + TORTURE_NBT \ + TORTURE_NET \ + CONFIG \ + LIBBASIC ################################# # Start SUBSYSTEM TORTURE_BASIC [MODULE::TORTURE_BASIC] -SUBSYSTEM = smbtorture +SUBSYSTEM = torture INIT_FUNCTION = torture_base_init PRIVATE_PROTO_HEADER = \ basic/proto.h @@ -68,7 +86,7 @@ include smb2/config.mk [MODULE::torture_com] INIT_FUNCTION = torture_com_init -SUBSYSTEM = smbtorture +SUBSYSTEM = torture PRIVATE_PROTO_HEADER = \ com/proto.h OBJ_FILES = \ @@ -79,7 +97,7 @@ REQUIRED_SUBSYSTEMS = \ [MODULE::torture_rpc] # TORTURE_NET and TORTURE_NBT use functions from torture_rpc... OUTPUT_TYPE = MERGEDOBJ -SUBSYSTEM = smbtorture +SUBSYSTEM = torture INIT_FUNCTION = torture_rpc_init PRIVATE_PROTO_HEADER = \ rpc/proto.h @@ -223,23 +241,10 @@ REQUIRED_SUBSYSTEMS = \ # Start BINARY smbtorture [BINARY::smbtorture] INSTALLDIR = BINDIR -PUBLIC_HEADERS = torture.h -PUBLIC_PROTO_HEADER = proto.h OBJ_FILES = \ - torture.o \ - torture_util.o + smbtorture.o REQUIRED_SUBSYSTEMS = \ - TORTURE_RAW \ - TORTURE_SMB2 \ - TORTURE_RAP \ - TORTURE_AUTH \ - TORTURE_LOCAL \ - TORTURE_NBENCH \ - TORTURE_LDAP \ - TORTURE_NBT \ - TORTURE_NET \ - CONFIG \ - LIBBASIC \ + torture \ LIBPOPT \ POPT_SAMBA \ POPT_CREDENTIALS |