source: trunk/test/Makefile.am @ 2838

Last change on this file since 2838 was 2575, checked in by sam, 7 years ago

build: reorganise automake build system.

File size: 1.6 KB
Line 
1
2include $(top_srcdir)/build/autotools/common.am
3
4SUBDIRS = math sandbox xolotl
5
6bench: benchsuite$(EXEEXT)
7        ./benchsuite$(EXEEXT)
8
9noinst_PROGRAMS = benchsuite $(testsuite) btphystest meshviewer
10
11TESTS = $(testsuite)
12
13# Conditionally built for now because of STLport issues
14if !USE_ANDROID
15testsuite = testsuite
16endif
17
18testsuite_SOURCES = testsuite.cpp \
19    unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \
20    unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \
21    unit/array.cpp unit/rotation.cpp unit/string.cpp unit/map.cpp \
22    unit/color.cpp unit/atomic.cpp unit/interp.cpp unit/box.cpp \
23    unit/rand.cpp
24testsuite_CPPFLAGS = $(AM_CPPFLAGS)
25testsuite_DEPENDENCIES = @LOL_DEPS@
26noinst_DATA = data/gradient.png
27
28benchsuite_SOURCES = benchsuite.cpp \
29    benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
30    benchmark/real.cpp
31benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
32benchsuite_DEPENDENCIES = @LOL_DEPS@
33
34btphystest_SOURCES = \
35    btphystest.cpp btphystest.h physicobject.h \
36    physics/easyphysics.cpp physics/easyphysics.h \
37    physics/lolbtphysicsintegration.h physics/lolphysics.h \
38    physics/easycharactercontroller.cpp physics/easycharactercontroller.h \
39    physics/easyconstraint.cpp physics/easyconstraint.h \
40    physics/bulletcharactercontroller.cpp physics/bulletcharactercontroller.h
41btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
42    -DHAVE_PHYS_USE_BULLET
43btphystest_DEPENDENCIES = @LOL_DEPS@
44
45meshviewer_SOURCES = meshviewer.cpp \
46    shinymvtexture.lolfx shinyfur.lolfx
47meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
48meshviewer_DEPENDENCIES = @LOL_DEPS@
49
Note: See TracBrowser for help on using the repository browser.