]>
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 TH |
8 | gtest/test_checktransaction.cpp \ |
9 | gtest/test_noteencryption.cpp \ | |
10 | gtest/test_merkletree.cpp | |
3ab0c1a7 | 11 | |
6ad4db22 TH |
12 | zcash_gtest_LDADD = -lgtest $(LIBBITCOIN_SERVER) $(LIBBITCOIN_CLI) $(LIBBITCOIN_COMMON) $(LIBBITCOIN_UTIL) $(LIBBITCOIN_CRYPTO) $(LIBBITCOIN_UNIVALUE) $(LIBLEVELDB) $(LIBMEMENV) \ |
13 | $(BOOST_LIBS) $(BOOST_UNIT_TEST_FRAMEWORK_LIB) $(LIBSECP256K1) | |
14 | if ENABLE_WALLET | |
15 | zcash_gtest_LDADD += $(LIBBITCOIN_WALLET) | |
16 | endif | |
17 | ||
18 | zcash_gtest_LDADD += $(LIBBITCOIN_CONSENSUS) $(BDB_LIBS) $(SSL_LIBS) $(CRYPTO_LIBS) $(MINIUPNPC_LIBS) $(LIBZEROCASH) $(LIBZEROCASH_LIBS) | |
19 | ||
20 | zcash_gtest_LDFLAGS = $(RELDFLAGS) $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) -static | |
3ab0c1a7 NW |
21 | |
22 | zcash-gtest_check: zcash-gtest FORCE | |
23 | ./zcash-gtest |