2018-02-25 21:42:18 +01:00
|
|
|
#----------------------------------------------------------------------
|
|
|
|
# Makefile.am - The Final Cut unit tests programs
|
|
|
|
#----------------------------------------------------------------------
|
|
|
|
|
2018-02-27 01:03:33 +01:00
|
|
|
if CPPUNIT_TEST
|
2018-02-25 21:42:18 +01:00
|
|
|
AM_LDFLAGS = -L$(top_builddir)/src/.libs -lfinal $(CPPUNIT_LIBS)
|
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include -Wall -Werror
|
|
|
|
|
|
|
|
noinst_PROGRAMS = \
|
2018-03-11 19:20:36 +01:00
|
|
|
fstring_test \
|
2018-03-13 01:04:46 +01:00
|
|
|
fpoint_test \
|
|
|
|
frect_test
|
2018-02-25 21:42:18 +01:00
|
|
|
|
|
|
|
fstring_test_SOURCES = fstring-test.cpp
|
2018-03-11 19:20:36 +01:00
|
|
|
fpoint_test_SOURCES = fpoint-test.cpp
|
2018-03-13 01:04:46 +01:00
|
|
|
frect_test_SOURCES = frect-test.cpp
|
2018-02-25 21:42:18 +01:00
|
|
|
|
2018-03-11 19:20:36 +01:00
|
|
|
TESTS = fstring_test \
|
2018-03-13 01:04:46 +01:00
|
|
|
fpoint_test \
|
|
|
|
frect_test
|
2018-02-25 21:42:18 +01:00
|
|
|
|
|
|
|
check_PROGRAMS = $(TESTS)
|
|
|
|
|
|
|
|
test: check
|
2018-02-27 01:03:33 +01:00
|
|
|
endif
|
2018-02-25 21:42:18 +01:00
|
|
|
|
|
|
|
clean-local:
|
|
|
|
-find . \( -name "*.gcda" -o -name "*.gcno" -o -name "*.gcov" \) -delete
|