dash/Makefile.test.include
Kittywhiskers Van Gogh 3bc4b00e69 Squashed 'src/dashbls/' content from commit 66ee820fbc
git-subtree-dir: src/dashbls
git-subtree-split: 66ee820fbc9e3b97370db8c164904af48327a124
2022-12-30 00:59:17 +05:30

28 lines
781 B
Makefile

# Copyright (c) 2021 The PIVX developers
# Copyright (c) 2022 The Dash Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING.MIT or http://www.opensource.org/licenses/mit-license.php.
DASHBLS_RUNTEST = runtest
RUNTEST_INCLUDES = \
-I$(top_srcdir)/depends/catch2/include
RUNTEST_H = \
depends/catch2/include/catch2/catch.hpp
runtest_SOURCES = \
$(DASHBLS_H) \
$(RELIC_H) \
$(RUNTEST_H) \
src/test.cpp \
src/test-utils.hpp
runtest_CPPFLAGS = $(AM_CPPFLAGS) $(DASHBLS_INCLUDES) $(RELIC_INCLUDES) $(RUNTEST_INCLUDES)
runtest_CXXFLAGS = $(AM_CXXFLAGS)
runtest_LDFLAGS = -static $(AM_LDFLAGS) $(LIBTOOL_APP_LDFLAGS) $(PTHREAD_FLAGS)
runtest_LDADD = $(LIBDASHBLS)
noinst_PROGRAMS += $(DASHBLS_RUNTEST)