summaryrefslogtreecommitdiff
path: root/test/Makefile.am
blob: 06c2ac4d3599febbf2f32706c383ff915a15b3e1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
AUTOMAKE_OPTIONS = foreign

if DEBUG
AM_CFLAGS =$(DEPS_CFLAGS) $(CHECK_CFLAGS) -g
else
AM_CFLAGS = $(DEPS_CFLAGS) $(CHECK_CFLAGS)

endif

localstate_DATA = data/attachToExistingCache.tar.gz data/rct_compare.tar.gz

# Add config file to distribution 
EXTRA_DIST = $(localstate_DATA) 

noinst_PROGRAMS = test_pco_key_value_store persistence_common_object_test
#persistence_sqlite_experimental
 
test_pco_key_value_store_SOURCES = test_pco_key_value_store.c
test_pco_key_value_store_CFLAGS = $(AM_CFLAGS) $(ARCHIVELIB_CFLAGS) $(ZLIB_CFLAGS)
test_pco_key_value_store_LDADD = $(DLT_LIBS) $(SQLITE_LIBS) $(DEPS_LIBS) $(CHECK_LIBS) $(ARCHIVELIB_LIBS) $(ZLIB_LIBS) \
   $(top_srcdir)/src/libpers_common.la


persistence_common_object_test_SOURCES = persistence_common_object_test.c
persistence_common_object_test_LDADD = $(DLT_LIBS) $(SQLITE_LIBS) $(DEPS_LIBS) $(CHECK_LIBS)\
   $(top_srcdir)/src/libpers_common.la

#persistence_sqlite_experimental_SOURCES  = persistence_sqlite_experimental.c
#persistence_sqlite_experimental_LDADD = $(DLT_LIBS) $(SQLITE_LIBS) $(DEPS_LIBS) 

TESTS=test_pco_key_value_store persistence_common_object_test