-rw-r--r-- | test/Makefile.am | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index f0c0ea8..7cfe3a4 100644 --- a/test/Makefile.am +++ b/test/Makefile.am | |||
@@ -1,9 +1,10 @@ | |||
1 | noinst_PROGRAMS = test idiscover RP.cgi OP.cgi test-oauth-consumer | 1 | noinst_PROGRAMS = test idiscover test-oauth-consumer \ |
2 | ${_dependent_programs_} | ||
2 | 3 | ||
3 | AM_CPPFLAGS=${CPPFLAGS_DEBUG} | 4 | AM_CPPFLAGS=${CPPFLAGS_DEBUG} |
4 | DEFAULT_INCLUDES = -I${top_builddir} | 5 | DEFAULT_INCLUDES = -I${top_builddir} |
5 | INCLUDES = -I${top_srcdir}/test/ -I${top_builddir}/include/ -I${top_srcdir}/include/ ${KONFORKA_CFLAGS} ${LIBCURL_CPPFLAGS} | 6 | INCLUDES = -I${top_srcdir}/test/ -I${top_builddir}/include/ -I${top_srcdir}/include/ ${KONFORKA_CFLAGS} ${LIBCURL_CPPFLAGS} |
6 | 7 | ||
7 | test_SOURCES = test.cc | 8 | test_SOURCES = test.cc |
8 | test_LDADD = ${top_builddir}/lib/libopkele.la | 9 | test_LDADD = ${top_builddir}/lib/libopkele.la |
9 | 10 | ||
@@ -16,16 +17,18 @@ idiscover_LDADD = ${top_builddir}/lib/libopkele.la | |||
16 | 17 | ||
17 | test_oauth_consumer_SOURCES = test-oauth-consumer.cc | 18 | test_oauth_consumer_SOURCES = test-oauth-consumer.cc |
18 | test_oauth_consumer_LDADD = ${top_builddir}/lib/libopkele.la | 19 | test_oauth_consumer_LDADD = ${top_builddir}/lib/libopkele.la |
19 | 20 | ||
20 | if HAVE_SQLITE3 | 21 | if HAVE_SQLITE3 |
21 | if HAVE_UUID | 22 | if HAVE_UUID |
22 | if HAVE_KINGATE | 23 | if HAVE_KINGATE |
23 | 24 | ||
25 | _dependent_programs_ = RP.cgi OP.cgi | ||
26 | |||
24 | RP_cgi_SOURCES = RP.cc | 27 | RP_cgi_SOURCES = RP.cc |
25 | nodist_RP_cgi_SOURCES = RP-db.cc | 28 | nodist_RP_cgi_SOURCES = RP-db.cc |
26 | RP_cgi_LDADD = ${top_builddir}/lib/libopkele.la \ | 29 | RP_cgi_LDADD = ${top_builddir}/lib/libopkele.la \ |
27 | ${SQLITE3_LIBS} ${KINGATE_LIBS} | 30 | ${SQLITE3_LIBS} ${KINGATE_LIBS} |
28 | RP_cgi_CFLAGS = ${SQLITE3_CFLAGS} ${KINGATE_CFLAGS} | 31 | RP_cgi_CFLAGS = ${SQLITE3_CFLAGS} ${KINGATE_CFLAGS} |
29 | 32 | ||
30 | RP-db.cc: RP-db.sql | 33 | RP-db.cc: RP-db.sql |
31 | ( \ | 34 | ( \ |