Add UpdatedBlockTip signal to CMainSignals and CValidationInterface
[bitcoinplatinum.git] / src / Makefile.qttest.include
blob4250bb8f3b27b2a49452aa4ea93e3307a9062271
1 bin_PROGRAMS += qt/test/test_bitcoin-qt
2 TESTS += qt/test/test_bitcoin-qt
4 TEST_QT_MOC_CPP = qt/test/moc_uritests.cpp
6 if ENABLE_WALLET
7 TEST_QT_MOC_CPP += qt/test/moc_paymentservertests.cpp
8 endif
10 TEST_QT_H = \
11   qt/test/uritests.h \
12   qt/test/paymentrequestdata.h \
13   qt/test/paymentservertests.h
15 qt_test_test_bitcoin_qt_CPPFLAGS = $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
16   $(QT_INCLUDES) $(QT_TEST_INCLUDES) $(PROTOBUF_CFLAGS)
18 qt_test_test_bitcoin_qt_SOURCES = \
19   qt/test/test_main.cpp \
20   qt/test/uritests.cpp \
21   $(TEST_QT_H)
22 if ENABLE_WALLET
23 qt_test_test_bitcoin_qt_SOURCES += \
24   qt/test/paymentservertests.cpp
25 endif
27 nodist_qt_test_test_bitcoin_qt_SOURCES = $(TEST_QT_MOC_CPP)
29 qt_test_test_bitcoin_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN_SERVER)
30 if ENABLE_WALLET
31 qt_test_test_bitcoin_qt_LDADD += $(LIBBITCOIN_WALLET)
32 endif
33 qt_test_test_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) \
34   $(LIBMEMENV) $(BOOST_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) $(QT_LIBS) \
35   $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
36   $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
37 qt_test_test_bitcoin_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
39 CLEAN_BITCOIN_QT_TEST = $(TEST_QT_MOC_CPP) qt/test/*.gcda qt/test/*.gcno
41 CLEANFILES += $(CLEAN_BITCOIN_QT_TEST)
43 test_bitcoin_qt : qt/test/test_bitcoin-qt$(EXEEXT)
45 test_bitcoin_qt_check : qt/test/test_bitcoin-qt$(EXEEXT) FORCE
46         $(MAKE) check-TESTS TESTS=$^
48 test_bitcoin_qt_clean: FORCE
49         rm -f $(CLEAN_BITCOIN_QT_TEST) $(qt_test_test_bitcoin_qt_OBJECTS)