source: trunk/test/Makefile.am @ 912

Last change on this file since 912 was 912, checked in by sam, 8 years ago

test: replace CppUnit with our LolUnit test suite.

CppUnit is really too large for our needs, would require to be precompiled
for many platforms, in all combinations of debug and release modes, with
additional variants for libstdc++ versions. We replace it with our own
lightweight implementation, LolUnit. Good riddance.

File size: 1.3 KB
Line 
1
2AM_CPPFLAGS = -I$(top_srcdir)/src
3
4bench: lol-bench$(EXEEXT)
5        ./lol-bench$(EXEEXT)
6
7all-local: quad$(EXEEXT) lol-bench$(EXEEXT)
8        test x$(MAKE_FSELF) = xno || make_fself quad$(EXEEXT) quad.self
9        test x$(MAKE_FSELF) = xno || make_fself sandbox$(EXEEXT) sandbox.self
10        test x$(MAKE_FSELF) = xno || make_fself lol-bench$(EXEEXT) lol-bench.self
11        test x$(MAKE_FSELF) = xno || make_fself lol-test$(EXEEXT) lol-test.self
12
13CLEANFILES = quad.self sandbox lol-bench.self lol-test.self
14
15noinst_PROGRAMS = quad sandbox lol-bench lol-test
16
17TESTS = lol-test
18
19lol_test_SOURCES = lol-test.cpp matrix.cpp half.cpp trig.cpp
20lol_test_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
21lol_test_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
22lol_test_DEPENDENCIES = $(top_builddir)/src/liblol.a
23
24lol_bench_SOURCES = lol-bench.cpp
25lol_bench_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
26lol_bench_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
27lol_bench_DEPENDENCIES = $(top_builddir)/src/liblol.a
28
29quad_SOURCES = debug/quad.cpp
30quad_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
31quad_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
32quad_DEPENDENCIES = $(top_builddir)/src/liblol.a
33
34sandbox_SOURCES = debug/sandbox.cpp
35sandbox_CPPFLAGS = @LOL_CFLAGS@ @PIPI_CFLAGS@
36sandbox_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ @PIPI_LIBS@
37sandbox_DEPENDENCIES = $(top_builddir)/src/liblol.a
38
Note: See TracBrowser for help on using the repository browser.