-bin_PROGRAMS += \
- zerocash/GenerateParamsForFiles \
- zerocash/tests/merkleTest \
- zerocash/tests/utilTest \
- zerocash/tests/zerocashTest \
- zerocash/tests/test_zerocash_pour_ppzksnark
+noinst_PROGRAMS += \
+ zcash/GenerateParams \
+ zcash/CreateJoinSplit
# tool for generating our public parameters
-zerocash_GenerateParamsForFiles_SOURCES = zerocash/GenerateParamsForFiles.cpp
-zerocash_GenerateParamsForFiles_LDADD = \
+zcash_GenerateParams_SOURCES = zcash/GenerateParams.cpp
+zcash_GenerateParams_LDADD = \
$(BOOST_LIBS) \
- $(LIBZEROCASH) \
- $(LIBBITCOIN_CRYPTO) \
- $(LIBZEROCASH_LIBS)
-
-# tests for our incremental merkle tree
-zerocash_tests_merkleTest_SOURCES = zerocash/tests/merkleTest.cpp
-zerocash_tests_merkleTest_LDADD = \
- $(BOOST_LIBS) \
- $(LIBZEROCASH) \
- $(LIBBITCOIN_CRYPTO) \
- $(LIBZEROCASH_LIBS)
-
-# tests for utilities that come with zerocash
-zerocash_tests_utilTest_SOURCES = zerocash/tests/utilTest.cpp
-zerocash_tests_utilTest_LDADD = \
- $(BOOST_LIBS) \
- $(LIBZEROCASH) \
+ $(LIBZCASH) \
+ $(LIBSNARK) \
$(LIBBITCOIN_UTIL) \
$(LIBBITCOIN_CRYPTO) \
- $(LIBZEROCASH_LIBS)
-
-# tests for libzerocash APIs
-zerocash_tests_zerocashTest_SOURCES = \
- zerocash/tests/zerocashTest.cpp \
- zerocash/tests/timer.cpp
-
-zerocash_tests_zerocashTest_LDADD = \
- $(BOOST_LIBS) \
- $(LIBZEROCASH) \
+ $(LIBZCASH_LIBS)
+
+# tool for profiling the creation of joinsplits
+zcash_CreateJoinSplit_SOURCES = zcash/CreateJoinSplit.cpp
+zcash_CreateJoinSplit_CPPFLAGS = $(BITCOIN_INCLUDES)
+zcash_CreateJoinSplit_LDADD = \
+ $(LIBBITCOIN_COMMON) \
+ $(LIBZCASH) \
+ $(LIBSNARK) \
$(LIBBITCOIN_UTIL) \
$(LIBBITCOIN_CRYPTO) \
- $(LIBZEROCASH_LIBS)
-
-# tests for our zkSNARK circuit
-
-zerocash_tests_test_zerocash_pour_ppzksnark_SOURCES = zerocash/tests/test_zerocash_pour_ppzksnark.cpp
-zerocash_tests_test_zerocash_pour_ppzksnark_LDADD = \
$(BOOST_LIBS) \
- $(LIBZEROCASH) \
- $(LIBBITCOIN_UTIL) \
- $(LIBBITCOIN_CRYPTO) \
- $(LIBZEROCASH_LIBS)
-
+ $(LIBZCASH_LIBS)