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