diff options
Diffstat (limited to 'src/pq/Makefile.am')
-rw-r--r-- | src/pq/Makefile.am | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/pq/Makefile.am b/src/pq/Makefile.am index 341baa53c..8a5399fb1 100644 --- a/src/pq/Makefile.am +++ b/src/pq/Makefile.am @@ -15,6 +15,7 @@ libtalerpq_la_SOURCES = \ db_pq.c libtalerpq_la_LIBADD = \ + $(top_builddir)/src/util/libtalerutil.la \ -lgnunetutil \ -lpq $(XLIB) @@ -22,3 +23,17 @@ libtalerpq_la_LDFLAGS = \ $(POSTGRESQL_LDFLAGS) \ -version-info 0:0:0 \ -export-dynamic -no-undefined + +TESTS = \ + test_pq + +check_PROGRAMS= \ + test_pq + +test_pq_SOURCES = \ + test_pq.c +test_pq_LDADD = \ + libtalerpq.la \ + $(top_builddir)/src/util/libtalerutil.la \ + -lgnunetutil \ + -lpq $(XLIB) |