66 lines
2.1 KiB
Text
66 lines
2.1 KiB
Text
Index: src/secp256k1-zkp/Makefile.am
|
|
--- src/secp256k1-zkp/Makefile.am.orig
|
|
+++ src/secp256k1-zkp/Makefile.am
|
|
@@ -94,30 +94,30 @@ bench_ecmult_LDADD = $(SECP_LIBS) $(COMMON_LIB)
|
|
bench_ecmult_CPPFLAGS = -DSECP256K1_BUILD $(SECP_INCLUDES)
|
|
endif
|
|
|
|
-TESTS =
|
|
-if USE_TESTS
|
|
-noinst_PROGRAMS += tests
|
|
-tests_SOURCES = src/tests.c
|
|
-tests_CPPFLAGS = -DSECP256K1_BUILD -I$(top_srcdir)/src -I$(top_srcdir)/include $(SECP_INCLUDES) $(SECP_TEST_INCLUDES)
|
|
-if !ENABLE_COVERAGE
|
|
-tests_CPPFLAGS += -DVERIFY
|
|
-endif
|
|
-tests_LDADD = $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB)
|
|
-tests_LDFLAGS = -static
|
|
-TESTS += tests
|
|
-endif
|
|
+#TESTS =
|
|
+#if USE_TESTS
|
|
+#noinst_PROGRAMS += tests
|
|
+#tests_SOURCES = src/tests.c
|
|
+#tests_CPPFLAGS = -DSECP256K1_BUILD -I$(top_srcdir)/src -I$(top_srcdir)/include $(SECP_INCLUDES) $(SECP_TEST_INCLUDES)
|
|
+#if !ENABLE_COVERAGE
|
|
+#tests_CPPFLAGS += -DVERIFY
|
|
+#endif
|
|
+#tests_LDADD = $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB)
|
|
+#tests_LDFLAGS = -static
|
|
+#TESTS += tests
|
|
+#endif
|
|
|
|
-if USE_EXHAUSTIVE_TESTS
|
|
-noinst_PROGRAMS += exhaustive_tests
|
|
-exhaustive_tests_SOURCES = src/tests_exhaustive.c
|
|
-exhaustive_tests_CPPFLAGS = -DSECP256K1_BUILD -I$(top_srcdir)/src $(SECP_INCLUDES)
|
|
-if !ENABLE_COVERAGE
|
|
-exhaustive_tests_CPPFLAGS += -DVERIFY
|
|
-endif
|
|
-exhaustive_tests_LDADD = $(SECP_LIBS)
|
|
-exhaustive_tests_LDFLAGS = -static
|
|
-TESTS += exhaustive_tests
|
|
-endif
|
|
+#if USE_EXHAUSTIVE_TESTS
|
|
+#noinst_PROGRAMS += exhaustive_tests
|
|
+#exhaustive_tests_SOURCES = src/tests_exhaustive.c
|
|
+#exhaustive_tests_CPPFLAGS = -DSECP256K1_BUILD -I$(top_srcdir)/src $(SECP_INCLUDES)
|
|
+#if !ENABLE_COVERAGE
|
|
+#exhaustive_tests_CPPFLAGS += -DVERIFY
|
|
+#endif
|
|
+#exhaustive_tests_LDADD = $(SECP_LIBS)
|
|
+#exhaustive_tests_LDFLAGS = -static
|
|
+#TESTS += exhaustive_tests
|
|
+#endif
|
|
|
|
JAVAROOT=src/java
|
|
JAVAORG=org/bitcoin
|
|
@@ -162,7 +162,7 @@ $(gen_context_BIN): $(gen_context_OBJECTS)
|
|
$(CC_FOR_BUILD) $^ -o $@
|
|
|
|
$(libsecp256k1_la_OBJECTS): src/ecmult_static_context.h
|
|
-$(tests_OBJECTS): src/ecmult_static_context.h
|
|
+#$(tests_OBJECTS): src/ecmult_static_context.h
|
|
$(bench_internal_OBJECTS): src/ecmult_static_context.h
|
|
$(bench_ecmult_OBJECTS): src/ecmult_static_context.h
|
|
|