summaryrefslogtreecommitdiff
path: root/source4/lib/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/torture')
-rw-r--r--source4/lib/torture/config.mk3
-rw-r--r--source4/lib/torture/torture.c2
-rw-r--r--source4/lib/torture/torture.pc.in12
3 files changed, 15 insertions, 2 deletions
diff --git a/source4/lib/torture/config.mk b/source4/lib/torture/config.mk
index e981ee0c99..888e285e95 100644
--- a/source4/lib/torture/config.mk
+++ b/source4/lib/torture/config.mk
@@ -5,6 +5,9 @@ PUBLIC_DEPENDENCIES = \
LIBSAMBA-UTIL \
LIBTALLOC
+torture_VERSION = 0.0.1
+torture_SOVERSION = 0
+
PC_FILES += lib/torture/torture.pc
torture_OBJ_FILES = $(addprefix lib/torture/, torture.o)
diff --git a/source4/lib/torture/torture.c b/source4/lib/torture/torture.c
index 3f2c7848aa..33959ded16 100644
--- a/source4/lib/torture/torture.c
+++ b/source4/lib/torture/torture.c
@@ -23,8 +23,6 @@
#include "lib/util/dlinklist.h"
#include "param/param.h"
#include "system/filesys.h"
-#include "auth/credentials/credentials.h"
-#include "lib/cmdline/popt_common.h"
struct torture_context *torture_context_init(struct event_context *event_ctx,
const struct torture_ui_ops *ui_ops)
diff --git a/source4/lib/torture/torture.pc.in b/source4/lib/torture/torture.pc.in
new file mode 100644
index 0000000000..6582816cb5
--- /dev/null
+++ b/source4/lib/torture/torture.pc.in
@@ -0,0 +1,12 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+modulesdir=${prefix}/modules/torture
+
+Name: torture
+Description: Samba torture (test) suite
+Requires: talloc
+Version: 0.0.1
+Libs: -L${libdir} -ltorture
+Cflags: -I${includedir} -DHAVE_IMMEDIATE_STRUCTURES=1