2011-09-25 08:22:36 +02:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir)/library \
|
2011-09-25 18:39:03 +02:00
|
|
|
-DSRCDIR="\"@abs_srcdir@\"" \
|
2011-09-25 08:22:36 +02:00
|
|
|
$(NULL)
|
|
|
|
|
2012-01-23 09:36:36 +01:00
|
|
|
noinst_LTLIBRARIES = libmock_service.la
|
|
|
|
|
|
|
|
libmock_service_la_SOURCES = \
|
|
|
|
mock-service.c mock-service.h \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
libmock_service_la_CFLAGS = \
|
|
|
|
$(LIBGCRYPT_CFLAGS)
|
|
|
|
|
|
|
|
libmock_service_la_LIBADD = \
|
|
|
|
$(top_builddir)/egg/libegg.la \
|
|
|
|
$(top_builddir)/library/libgsecret.la \
|
|
|
|
$(LIBGCRYPT_LIBS)
|
|
|
|
|
2011-09-25 08:22:36 +02:00
|
|
|
LDADD = \
|
|
|
|
$(top_builddir)/egg/libegg.la \
|
|
|
|
$(top_builddir)/library/libgsecret.la \
|
2012-01-23 09:36:36 +01:00
|
|
|
$(top_builddir)/library/tests/libmock_service.la \
|
2011-09-25 08:22:36 +02:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
TEST_PROGS = \
|
2012-01-23 17:20:18 +01:00
|
|
|
test-value \
|
2012-01-11 07:44:32 +01:00
|
|
|
test-prompt \
|
2011-11-05 21:50:01 +01:00
|
|
|
test-service \
|
2011-09-25 18:39:03 +02:00
|
|
|
test-session \
|
2012-01-30 14:26:44 +01:00
|
|
|
test-methods \
|
2012-01-11 07:44:32 +01:00
|
|
|
test-password \
|
2012-01-23 17:20:18 +01:00
|
|
|
test-item \
|
|
|
|
test-collection \
|
2011-09-25 08:22:36 +02:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
|
|
|
$(TEST_PROGS)
|
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
test: $(TEST_PROGS)
|
2011-11-06 22:46:30 +01:00
|
|
|
gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS)
|
2011-09-25 08:22:36 +02:00
|
|
|
|
|
|
|
all-local: $(check_PROGRAMS)
|
|
|
|
|
2011-11-06 13:41:21 +01:00
|
|
|
check-local: test
|
|
|
|
|
|
|
|
check-memory: perform-memcheck
|
|
|
|
|
|
|
|
.PHONY: check-memory
|