1 | |
---|
2 | include $(top_srcdir)/build/autotools/common.am |
---|
3 | |
---|
4 | SUBDIRS = math sandbox xolotl |
---|
5 | |
---|
6 | AM_CPPFLAGS = -I$(top_srcdir)/src |
---|
7 | |
---|
8 | bench: benchsuite$(EXEEXT) |
---|
9 | ./benchsuite$(EXEEXT) |
---|
10 | |
---|
11 | EXTRA_DIST = data/gradient.png |
---|
12 | |
---|
13 | noinst_PROGRAMS = benchsuite $(testsuite) btphystest meshviewer |
---|
14 | |
---|
15 | TESTS = $(testsuite) |
---|
16 | |
---|
17 | # Conditionally built for now because of STLport issues |
---|
18 | if !USE_ANDROID |
---|
19 | testsuite = testsuite |
---|
20 | endif |
---|
21 | |
---|
22 | testsuite_SOURCES = testsuite.cpp \ |
---|
23 | unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \ |
---|
24 | unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \ |
---|
25 | unit/array.cpp unit/rotation.cpp unit/string.cpp unit/map.cpp \ |
---|
26 | unit/color.cpp |
---|
27 | testsuite_CPPFLAGS = @LOL_CFLAGS@ |
---|
28 | testsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ |
---|
29 | testsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
30 | |
---|
31 | benchsuite_SOURCES = benchsuite.cpp \ |
---|
32 | benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \ |
---|
33 | benchmark/real.cpp |
---|
34 | benchsuite_CPPFLAGS = @LOL_CFLAGS@ |
---|
35 | benchsuite_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ |
---|
36 | benchsuite_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
37 | |
---|
38 | btphystest_SOURCES = BtPhysTest.cpp BtPhysTest.h PhysicObject.h \ |
---|
39 | Physics/Src/EasyPhysics.cpp Physics/Include/EasyPhysics.h \ |
---|
40 | Physics/Include/LolBtPhysicsIntegration.h Physics/Include/LolPhysics.h \ |
---|
41 | Physics/Src/EasyCharacterController.cpp \ |
---|
42 | Physics/Include/EasyCharacterController.h \ |
---|
43 | Physics/Src/EasyConstraint.cpp \ |
---|
44 | Physics/Include/EasyConstraint.h \ |
---|
45 | Physics/Src/BulletCharacterController.cpp \ |
---|
46 | Physics/Include/BulletCharacterController.h |
---|
47 | btphystest_CPPFLAGS = @LOL_CFLAGS@ -I$(top_srcdir)/src/bullet \ |
---|
48 | -DHAVE_PHYS_USE_BULLET |
---|
49 | btphystest_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ |
---|
50 | btphystest_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
51 | |
---|
52 | meshviewer_SOURCES = MeshViewer.cpp |
---|
53 | meshviewer_CPPFLAGS = @LOL_CFLAGS@ |
---|
54 | meshviewer_LDFLAGS = $(top_builddir)/src/liblol.a @LOL_LIBS@ |
---|
55 | meshviewer_DEPENDENCIES = $(top_builddir)/src/liblol.a |
---|
56 | |
---|