summaryrefslogtreecommitdiffstats
path: root/debian/opensync/opensync-0.22/tests/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'debian/opensync/opensync-0.22/tests/Makefile.am')
-rwxr-xr-xdebian/opensync/opensync-0.22/tests/Makefile.am111
1 files changed, 111 insertions, 0 deletions
diff --git a/debian/opensync/opensync-0.22/tests/Makefile.am b/debian/opensync/opensync-0.22/tests/Makefile.am
new file mode 100755
index 00000000..29b03f6f
--- /dev/null
+++ b/debian/opensync/opensync-0.22/tests/Makefile.am
@@ -0,0 +1,111 @@
+## Process this file with automake to produce Makefile.in
+
+SUBDIRS = mock-plugin
+
+AM_CFLAGS = @XML_CFLAGS@ -Wall -Werror @GCOV_CFLAGS@ -DOPENSYNC_TESTDATA=\"$(srcdir)/\"
+
+INCLUDES = -I$(top_srcdir) @PACKAGE_CFLAGS@ -I$(top_srcdir)/osengine
+
+EXTRA_DIST = \
+ data \
+ support.h
+
+if ENABLE_PROF
+PROFTEST = coverage.sh
+endif
+
+if ENABLE_TESTS
+TESTS = error ipc user member group plugin locks env conv sync filter multisync vcard vcal vnote errorcodes $(PROFTEST)
+noinst_PROGRAMS = error ipc user member group plugin locks env conv sync filter multisync vcard vcal vnote errorcodes
+else
+TESTS =
+noinst_PROGRAMS =
+endif
+
+error_INCLUDES = @CHECK_CFLAGS@
+error_SOURCES = check_error.c
+error_LIBS = @CHECK_LIBS@
+error_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+ipc_INCLUDES = @CHECK_CFLAGS@
+ipc_SOURCES = check_ipc.c support.c
+ipc_LIBS = @CHECK_LIBS@
+ipc_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+member_INCLUDES = @CHECK_CFLAGS@
+member_SOURCES = check_member.c
+member_LIBS = @CHECK_LIBS@
+member_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+group_INCLUDES = @CHECK_CFLAGS@
+group_SOURCES = check_group.c support.c
+group_LIBS = @CHECK_LIBS@
+group_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+plugin_INCLUDES = @CHECK_CFLAGS@
+plugin_SOURCES = check_plugins.c support.c
+plugin_LIBS = @CHECK_LIBS@
+plugin_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+locks_INCLUDES = @CHECK_CFLAGS@
+locks_SOURCES = check_lock.c support.c
+locks_LIBS = @CHECK_LIBS@
+locks_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+env_INCLUDES = @CHECK_CFLAGS@
+env_SOURCES = check_env.c support.c
+env_LIBS = @CHECK_LIBS@
+env_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+user_INCLUDES = @CHECK_CFLAGS@
+user_SOURCES = check_user.c
+user_LIBS = @CHECK_LIBS@
+user_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+conv_INCLUDES = @CHECK_CFLAGS@
+conv_SOURCES = check_conv.c support.c
+conv_LIBS = @CHECK_LIBS@
+conv_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+sync_INCLUDES = @CHECK_CFLAGS@
+sync_SOURCES = check_sync.c support.c
+sync_LIBS = @CHECK_LIBS@
+sync_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+filter_INCLUDES = @CHECK_CFLAGS@
+filter_SOURCES = check_filter.c support.c
+filter_LIBS = @CHECK_LIBS@
+filter_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+multisync_INCLUDES = @CHECK_CFLAGS@
+multisync_SOURCES = check_multisync.c support.c
+multisync_LIBS = @CHECK_LIBS@
+multisync_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+vcard_INCLUDES = @CHECK_CFLAGS@
+vcard_SOURCES = check_vcard.c support.c
+vcard_LIBS = @CHECK_LIBS@
+vcard_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+vcal_INCLUDES = @CHECK_CFLAGS@
+vcal_SOURCES = check_vcal.c support.c
+vcal_LIBS = @CHECK_LIBS@
+vcal_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+vnote_INCLUDES = @CHECK_CFLAGS@
+vnote_SOURCES = check_vnote.c support.c
+vnote_LIBS = @CHECK_LIBS@
+vnote_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+errorcodes_INCLUDES = @CHECK_CFLAGS@
+errorcodes_SOURCES = check_codes.c support.c
+errorcodes_LIBS = @CHECK_LIBS@
+errorcodes_LDFLAGS = @PACKAGE_LIBS@ $(top_builddir)/opensync/libopensync.la $(top_builddir)/osengine/libosengine.la -lcheck -R $(libdir) @GCOV_LDFLAGS@
+
+CLEANFILES = \
+ *.bb \
+ *.bbg \
+ *.da
+
+clean:
+ rm -rf coverage/*