Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/Makefile.am
Show First 20 Lines • Show All 103 Lines • ▼ Show 20 Lines | |||||
if USE_TESTS | if USE_TESTS | ||||
noinst_PROGRAMS += tests | noinst_PROGRAMS += tests | ||||
tests_SOURCES = src/tests.c | tests_SOURCES = src/tests.c | ||||
tests_CPPFLAGS = -DSECP256K1_BUILD -I$(top_srcdir)/src -I$(top_srcdir)/include $(SECP_INCLUDES) $(SECP_TEST_INCLUDES) | tests_CPPFLAGS = -DSECP256K1_BUILD -I$(top_srcdir)/src -I$(top_srcdir)/include $(SECP_INCLUDES) $(SECP_TEST_INCLUDES) | ||||
if VALGRIND_ENABLED | if VALGRIND_ENABLED | ||||
tests_CPPFLAGS += -DVALGRIND | tests_CPPFLAGS += -DVALGRIND | ||||
noinst_PROGRAMS += valgrind_ctime_test | noinst_PROGRAMS += valgrind_ctime_test | ||||
valgrind_ctime_test_SOURCES = src/valgrind_ctime_test.c | valgrind_ctime_test_SOURCES = src/valgrind_ctime_test.c | ||||
valgrind_ctime_test_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB) | valgrind_ctime_test_LDADD = libsecp256k1.la $(SECP_LIBS) $(SECP_LIBS) $(COMMON_LIB) | ||||
endif | endif | ||||
if !ENABLE_COVERAGE | if !ENABLE_COVERAGE | ||||
tests_CPPFLAGS += -DVERIFY | tests_CPPFLAGS += -DVERIFY | ||||
endif | endif | ||||
tests_LDADD = $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB) | tests_LDADD = $(SECP_LIBS) $(SECP_TEST_LIBS) $(COMMON_LIB) | ||||
tests_LDFLAGS = -static | tests_LDFLAGS = -static | ||||
TESTS += tests | TESTS += tests | ||||
endif | endif | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |