uvg266/tests/Makefile.am

49 lines
1.2 KiB
Makefile
Raw Normal View History

2015-12-19 07:24:35 +00:00
TESTS = $(check_PROGRAMS) \
test_external_symbols.sh \
test_intra.sh \
test_invalid_input.sh \
test_tools.sh \
2020-10-09 06:43:13 +00:00
test_weird_shapes.sh
2015-12-19 07:24:35 +00:00
EXTRA_DIST = \
test_external_symbols.sh \
test_intra.sh \
test_invalid_input.sh \
test_tools.sh \
test_weird_shapes.sh \
util.sh
2015-12-19 07:24:35 +00:00
check_PROGRAMS = kvazaar_tests
kvazaar_tests_SOURCES = \
2017-07-27 08:16:34 +00:00
coeff_sum_tests.c \
2015-12-19 07:24:35 +00:00
dct_tests.c \
intra_sad_tests.c \
mv_cand_tests.c \
2015-12-19 07:24:35 +00:00
sad_tests.c \
sad_tests.h \
satd_tests.c \
satd_tests.h \
speed_tests.c \
tests_main.c \
test_strategies.c \
test_strategies.h
kvazaar_tests_CFLAGS = -I$(srcdir) -I$(top_srcdir) -I$(top_srcdir)/src
kvazaar_tests_LDFLAGS = -static $(top_builddir)/src/libkvazaar.la $(LIBS)
# This makes sure that CXXLD gets defined.
nodist_EXTRA_kvazaar_tests_SOURCES = cpp.cpp
if USE_CRYPTOPP
XFAIL_TESTS = \
test_external_symbols.sh
kvazaar_tests_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CXXLD) $(kvazaar_tests_CFLAGS) $(CXXFLAGS) \
$(kvazaar_tests_LDFLAGS) $(LDFLAGS) -o $@
else
kvazaar_tests_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(kvazaar_tests_CFLAGS) $(CFLAGS) \
$(kvazaar_tests_LDFLAGS) $(LDFLAGS) -o $@
endif