2013-05-28 01:55:01 +02:00
|
|
|
include $(top_srcdir)/src/Makefile.include
|
|
|
|
|
2013-09-09 04:02:28 +02:00
|
|
|
AM_CPPFLAGS += -I$(top_srcdir)/src \
|
|
|
|
-I$(top_srcdir)/src/qt \
|
|
|
|
-I$(top_builddir)/src/qt \
|
|
|
|
$(PROTOBUF_CFLAGS) \
|
|
|
|
$(QR_CFLAGS)
|
2013-05-28 01:55:01 +02:00
|
|
|
bin_PROGRAMS = test_bitcoin-qt
|
|
|
|
TESTS = test_bitcoin-qt
|
|
|
|
|
|
|
|
TEST_QT_MOC_CPP = moc_uritests.cpp moc_paymentservertests.cpp
|
|
|
|
|
|
|
|
TEST_QT_H = uritests.h paymentservertests.h paymentrequestdata.h
|
|
|
|
|
|
|
|
BUILT_SOURCES = $(TEST_QT_MOC_CPP)
|
|
|
|
|
|
|
|
test_bitcoin_qt_CPPFLAGS = $(AM_CPPFLAGS) $(QT_INCLUDES) $(QT_TEST_INCLUDES)
|
|
|
|
test_bitcoin_qt_SOURCES = test_main.cpp uritests.cpp paymentservertests.cpp $(TEST_QT_H)
|
|
|
|
nodist_test_bitcoin_qt_SOURCES = $(TEST_QT_MOC_CPP)
|
2013-11-27 15:41:12 +01:00
|
|
|
test_bitcoin_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBLEVELDB) \
|
2013-05-28 01:55:01 +02:00
|
|
|
$(LIBMEMENV) $(BOOST_LIBS) $(QT_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) \
|
2013-09-18 21:45:31 +02:00
|
|
|
$(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS)
|
2013-05-28 01:55:01 +02:00
|
|
|
|
|
|
|
CLEANFILES = $(BUILT_SOURCES) *.gcda *.gcno
|
|
|
|
|