]> Git Repo - VerusCoin.git/blob - src/Makefile.qttest.include
Build fix
[VerusCoin.git] / src / Makefile.qttest.include
1 bin_PROGRAMS += qt/test/test_bitcoin-qt
2 TESTS += qt/test/test_bitcoin-qt
3
4 TEST_QT_MOC_CPP = qt/test/moc_uritests.cpp
5
6 if ENABLE_WALLET
7 TEST_QT_MOC_CPP += qt/test/moc_paymentservertests.cpp
8 endif
9
10 TEST_QT_H = \
11   qt/test/uritests.h \
12   qt/test/paymentrequestdata.h \
13   qt/test/paymentservertests.h
14
15 qt_test_test_komodo_qt_CPPFLAGS = $(BITCOIN_INCLUDES) $(BITCOIN_QT_INCLUDES) \
16   $(QT_INCLUDES) $(QT_TEST_INCLUDES) $(PROTOBUF_CFLAGS)
17
18 qt_test_test_komodo_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_komodo_qt_SOURCES += \
24   qt/test/paymentservertests.cpp
25 endif
26
27 nodist_qt_test_test_komodo_qt_SOURCES = $(TEST_QT_MOC_CPP)
28
29 qt_test_test_komodo_qt_LDADD = $(LIBBITCOINQT) $(LIBBITCOIN_SERVER)
30 if ENABLE_WALLET
31 qt_test_test_komodo_qt_LDADD += $(LIBBITCOIN_WALLET)
32 endif
33 qt_test_test_komodo_qt_LDADD += $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBVERUS_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) $(LIBZCASH_LIBS)
36 qt_test_test_komodo_qt_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(QT_LDFLAGS) $(LIBTOOL_APP_LDFLAGS)
37
38 CLEAN_BITCOIN_QT_TEST = $(TEST_QT_MOC_CPP) qt/test/*.gcda qt/test/*.gcno
39
40 CLEANFILES += $(CLEAN_BITCOIN_QT_TEST)
41
42 test_komodo_qt : qt/test/test_bitcoin-qt$(EXEEXT)
43
44 test_komodo_qt_check : qt/test/test_bitcoin-qt$(EXEEXT) FORCE
45         $(MAKE) check-TESTS TESTS=$^
46
47 test_komodo_qt_clean: FORCE
48         rm -f $(CLEAN_BITCOIN_QT_TEST) $(qt_test_test_komodo_qt_OBJECTS)
This page took 0.024075 seconds and 4 git commands to generate.