2011-09-25 06:22:36 +00:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
|
|
|
|
INCLUDES = \
|
|
|
|
-I$(top_srcdir)/library \
|
2011-09-25 16:39:03 +00:00
|
|
|
-DSRCDIR="\"@abs_srcdir@\"" \
|
2011-09-25 06:22:36 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2012-01-23 08:36:36 +00: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 06:22:36 +00:00
|
|
|
LDADD = \
|
|
|
|
$(top_builddir)/egg/libegg.la \
|
|
|
|
$(top_builddir)/library/libgsecret.la \
|
2012-01-23 08:36:36 +00:00
|
|
|
$(top_builddir)/library/tests/libmock_service.la \
|
2011-09-25 06:22:36 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
TEST_PROGS = \
|
2012-01-23 16:20:18 +00:00
|
|
|
test-value \
|
2012-01-11 06:44:32 +00:00
|
|
|
test-prompt \
|
2011-11-05 20:50:01 +00:00
|
|
|
test-service \
|
2011-09-25 16:39:03 +00:00
|
|
|
test-session \
|
2012-01-30 13:26:44 +00:00
|
|
|
test-methods \
|
2012-01-11 06:44:32 +00:00
|
|
|
test-password \
|
2012-01-23 16:20:18 +00:00
|
|
|
test-item \
|
|
|
|
test-collection \
|
2011-09-25 06:22:36 +00:00
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
check_PROGRAMS = \
|
|
|
|
$(TEST_PROGS)
|
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
test: $(TEST_PROGS)
|
2011-11-06 21:46:30 +00:00
|
|
|
gtester --verbose -m $(TEST_MODE) --g-fatal-warnings $(TEST_PROGS)
|
2011-09-25 06:22:36 +00:00
|
|
|
|
|
|
|
all-local: $(check_PROGRAMS)
|
|
|
|
|
2011-11-06 12:41:21 +00:00
|
|
|
check-local: test
|
|
|
|
|
|
|
|
check-memory: perform-memcheck
|
|
|
|
|
|
|
|
.PHONY: check-memory
|