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-14 00:53:28 +01:00
|
|
|
fobject_test \
|
2018-03-18 15:03:07 +01:00
|
|
|
fmouse_test \
|
2018-03-28 00:03:57 +02:00
|
|
|
foptimove_test \
|
2018-04-02 22:04:29 +02:00
|
|
|
foptiattr_test \
|
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
|
|
|
|
2018-03-14 00:53:28 +01:00
|
|
|
fobject_test_SOURCES = fobject-test.cpp
|
2018-03-18 15:03:07 +01:00
|
|
|
fmouse_test_SOURCES = fmouse-test.cpp
|
2018-03-28 00:03:57 +02:00
|
|
|
foptimove_test_SOURCES = foptimove-test.cpp
|
2018-04-02 22:04:29 +02:00
|
|
|
foptiattr_test_SOURCES = foptiattr-test.cpp
|
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-14 00:53:28 +01:00
|
|
|
TESTS = fobject_test \
|
2018-03-18 15:03:07 +01:00
|
|
|
fmouse_test \
|
2018-03-28 00:03:57 +02:00
|
|
|
foptimove_test \
|
2018-04-02 22:04:29 +02:00
|
|
|
foptiattr_test \
|
2018-03-14 00:53:28 +01:00
|
|
|
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
|