]>
Commit | Line | Data |
---|---|---|
6bd8e469 | 1 | TESTS += zcash-gtest |
3ab0c1a7 NW |
2 | bin_PROGRAMS += zcash-gtest |
3 | ||
4 | # tool for generating our public parameters | |
5 | zcash_gtest_SOURCES = \ | |
6 | gtest/main.cpp \ | |
6ad4db22 | 7 | gtest/test_tautology.cpp \ |
0000d231 | 8 | gtest/test_checktransaction.cpp \ |
5a2db9e2 | 9 | gtest/test_joinsplit.cpp \ |
0000d231 TH |
10 | gtest/test_noteencryption.cpp \ |
11 | gtest/test_merkletree.cpp | |
3ab0c1a7 | 12 | |
6ad4db22 TH |
13 | zcash_gtest_LDADD = -lgtest $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \ |
14 | $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1) | |
15 | if ENABLE_WALLET | |
16 | zcash_gtest_LDADD += $(LIBBITCOIN_WALLET) | |
17 | endif | |
18 | ||
19 | zcash_gtest_LDADD += $(LIBBITCOIN_CONSENSUS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBZEROCASH) $(LIBZEROCASH_LIBS) | |
20 | ||
21 | zcash_gtest_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static | |
3ab0c1a7 NW |
22 | |
23 | zcash-gtest_check: zcash-gtest FORCE | |
24 | ./zcash-gtest |