You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.qttest.include 1.8KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. bin_PROGRAMS += qt/test/test_bitcoin-qt
  2. TESTS += qt/test/test_bitcoin-qt
  3. TEST_QT_MOC_CPP = qt/test/moc_uritests.cpp
  4. if ENABLE_WALLET
  5. TEST_QT_MOC_CPP += qt/test/moc_paymentservertests.cpp
  6. endif
  7. TEST_QT_H = \
  8. qt/test/uritests.h \
  9. qt/test/paymentrequestdata.h \
  10. qt/test/paymentservertests.h
  11. qt_test_test_bitcoin_qt_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
  12. $(QT_INCLUDES) $(QT_TEST_INCLUDES) $(PROTOBUF_CFLAGS)
  13. qt_test_test_bitcoin_qt_SOURCES = \
  14. qt/test/test_main.cpp \
  15. qt/test/uritests.cpp \
  16. $(TEST_QT_H)
  17. if ENABLE_WALLET
  18. qt_test_test_bitcoin_qt_SOURCES += \
  19. qt/test/paymentservertests.cpp
  20. endif
  21. nodist_qt_test_test_bitcoin_qt_SOURCES = $(TEST_QT_MOC_CPP)
  22. qt_test_test_bitcoin_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN_SERVER)
  23. if ENABLE_WALLET
  24. qt_test_test_bitcoin_qt_LDADD += $(LIBBITCOIN_WALLET)
  25. endif
  26. if ENABLE_ZMQ
  27. qt_test_test_bitcoin_qt_LDADD += $(LIBBITCOIN_ZMQ) $(ZMQ_LIBS)
  28. endif
  29. qt_test_test_bitcoin_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBUNIVALUE) $(LIBLEVELDB) \
  30. $(LIBMEMENV) $(BOOST_LIBS) $(QT_DBUS_LIBS) $(QT_TEST_LIBS) $(QT_LIBS) \
  31. $(QR_LIBS) $(PROTOBUF_LIBS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBSECP256K1) \
  32. $(EVENT_PTHREADS_LIBS) $(EVENT_LIBS)
  33. qt_test_test_bitcoin_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
  34. qt_test_test_bitcoin_qt_CXXFLAGS = $(AM_CXXFLAGS) $(QT_PIE_FLAGS)
  35. CLEAN_BITCOIN_QT_TEST = $(TEST_QT_MOC_CPP) qt/test/*.gcda qt/test/*.gcno
  36. CLEANFILES += $(CLEAN_BITCOIN_QT_TEST)
  37. test_bitcoin_qt : qt/test/test_bitcoin-qt$(EXEEXT)
  38. test_bitcoin_qt_check : qt/test/test_bitcoin-qt$(EXEEXT) FORCE
  39. $(MAKE) check-TESTS TESTS=$^
  40. test_bitcoin_qt_clean: FORCE
  41. rm -f $(CLEAN_BITCOIN_QT_TEST) $(qt_test_test_bitcoin_qt_OBJECTS)