author | Michael Krelin <hacker@klever.net> | 2008-03-14 23:41:38 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2008-03-14 23:41:38 (UTC) |
commit | a9bb96d74c1337771bb4a9c1a4e78e2f2a73bbff (patch) (side-by-side diff) | |
tree | fbb773adcc48beb8c9ef9a6fddaf2bf4f46f6a01 | |
parent | e6928c1d6c368e999ec8d1b05fccec44c2bebdbc (diff) | |
download | libopkele-a9bb96d74c1337771bb4a9c1a4e78e2f2a73bbff.zip libopkele-a9bb96d74c1337771bb4a9c1a4e78e2f2a73bbff.tar.gz libopkele-a9bb96d74c1337771bb4a9c1a4e78e2f2a73bbff.tar.bz2 |
do not attempt to build programs dependent on absent libraries
Thanks, Joseph, for spotting it!
Signed-off-by: Michael Krelin <hacker@klever.net>
-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,54 +1,57 @@ -noinst_PROGRAMS = test idiscover RP.cgi OP.cgi test-oauth-consumer +noinst_PROGRAMS = test idiscover test-oauth-consumer \ + ${_dependent_programs_} AM_CPPFLAGS=${CPPFLAGS_DEBUG} DEFAULT_INCLUDES = -I${top_builddir} INCLUDES = -I${top_srcdir}/test/ -I${top_builddir}/include/ -I${top_srcdir}/include/ ${KONFORKA_CFLAGS} ${LIBCURL_CPPFLAGS} test_SOURCES = test.cc test_LDADD = ${top_builddir}/lib/libopkele.la EXTRA_DIST= \ sqlite.h kingate_openid_message.h \ RP-db.sql OP-db.sql idiscover_SOURCES = idiscover.cc idiscover_LDADD = ${top_builddir}/lib/libopkele.la test_oauth_consumer_SOURCES = test-oauth-consumer.cc test_oauth_consumer_LDADD = ${top_builddir}/lib/libopkele.la if HAVE_SQLITE3 if HAVE_UUID if HAVE_KINGATE +_dependent_programs_ = RP.cgi OP.cgi + RP_cgi_SOURCES = RP.cc nodist_RP_cgi_SOURCES = RP-db.cc RP_cgi_LDADD = ${top_builddir}/lib/libopkele.la \ ${SQLITE3_LIBS} ${KINGATE_LIBS} RP_cgi_CFLAGS = ${SQLITE3_CFLAGS} ${KINGATE_CFLAGS} RP-db.cc: RP-db.sql ( \ echo 'const char * __RP_db_bootstrap = ' && \ sed -e 's/^/"/' -e 's/$$/"/' $< && \ echo ';' \ ) >$@ OP_cgi_SOURCES = OP.cc nodist_OP_cgi_SOURCES = OP-db.cc OP_cgi_LDADD = ${RP_cgi_LDADD} OP_cgi_CFLAGS = ${RP_cgi_CFLAGS} OP-db.cc: OP-db.sql ( \ echo 'const char * __OP_db_bootstrap = ' && \ sed -e 's/^/"/' -e 's/$$/"/' $< && \ echo ';' \ ) >$@ clean-local: rm -f RP-db.cc OP-db.cc endif #HAVE_KINGATE endif #HAVE_UUID endif #HAVE_SQLITE3 |