# -*- Makefile -*-
TESTS += checktest-store
check_PROGRAMS += checktest-store
checktest_store_SOURCES = \
	src/agents/store/tests/checktest.c

checktest_store_CPPFLAGS = $(AM_CPPFLAGS)	\
	$(CHECK_CFLAGS)

checktest_store_LDADD = $(CHECK_LIBS)			   \
	libbongonmap.la					   \
	libbongomsgapi.la				   \
	libbongologger.la				   \
	libbongoconnio.la				   \
	libbongomemmgr.la				   \
	libbongoutil.la					   \
	libbongoxpl.la					   \
	$(top_builddir)/import/log4c/log4c/libbongolog4c.la \
	$(SQLITE_LIBS)				   \
	$(PTHREAD_LIBS)					   \
	$(ALL_LIBS)

noinst_PROGRAMS += mkauthhash

mkauthhash_SOURCES =  \
	src/agents/store/tests/mkauthhash.c

mkauthhash_store_CPPFLAGS = $(AM_CPPFLAGS)	\
	$(SQLITE_CFLAGS)

mkauthhash_LDADD =					   \
	libbongonmap.la					   \
	libbongomsgapi.la				   \
	libbongologger.la				   \
	libbongoconnio.la				   \
	libbongomemmgr.la				   \
	libbongoutil.la					   \
	libbongoxpl.la					   \
	$(top_builddir)/import/log4c/log4c/libbongolog4c.la \
	$(SQLITE_LIBS)				   \
	$(PTHREAD_LIBS)					   \
	$(ALL_LIBS)

src/agents/store/tests/all:
src/agents/store/tests/clean: clean
