[642] | 1 | |
---|
[1923] | 2 | include $(top_srcdir)/build/autotools/common.am |
---|
| 3 | |
---|
[1518] | 4 | SUBDIRS = math sandbox xolotl |
---|
[984] | 5 | |
---|
[642] | 6 | AM_CPPFLAGS = -I$(top_srcdir)/src |
---|
| 7 | |
---|
[942] | 8 | bench: benchsuite$(EXEEXT) |
---|
| 9 | ./benchsuite$(EXEEXT) |
---|
[642] | 10 | |
---|
[978] | 11 | EXTRA_DIST = data/gradient.png |
---|
| 12 | |
---|
[2298] | 13 | noinst_PROGRAMS = benchsuite $(testsuite) btphystest meshviewer |
---|
[868] | 14 | |
---|
[1684] | 15 | TESTS = $(testsuite) |
---|
[642] | 16 | |
---|
[1684] | 17 | # Conditionally built for now because of STLport issues |
---|
| 18 | if !USE_ANDROID |
---|
| 19 | testsuite = testsuite |
---|
| 20 | endif |
---|
| 21 | |
---|
[942] | 22 | testsuite_SOURCES = testsuite.cpp \ |
---|
[1257] | 23 | unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \ |
---|
[1294] | 24 | unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \ |
---|
[2205] | 25 | unit/array.cpp unit/rotation.cpp unit/string.cpp unit/map.cpp \ |
---|
[2359] | 26 | unit/color.cpp unit/atomic.cpp |
---|
[2084] | 27 | testsuite_CPPFLAGS = @LOL_CFLAGS@ |
---|
[2386] | 28 | testsuite_LDFLAGS = @LOL_STATIC_LIBS@ @LOL_LIBS@ |
---|
| 29 | testsuite_DEPENDENCIES = @LOL_STATIC_LIBS@ |
---|
[642] | 30 | |
---|
[942] | 31 | benchsuite_SOURCES = benchsuite.cpp \ |
---|
[1139] | 32 | benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \ |
---|
[977] | 33 | benchmark/real.cpp |
---|
[2084] | 34 | benchsuite_CPPFLAGS = @LOL_CFLAGS@ |
---|
[2386] | 35 | benchsuite_LDFLAGS = @LOL_STATIC_LIBS@ @LOL_LIBS@ |
---|
| 36 | benchsuite_DEPENDENCIES = @LOL_STATIC_LIBS@ |
---|
[868] | 37 | |
---|
[2098] | 38 | btphystest_SOURCES = BtPhysTest.cpp BtPhysTest.h PhysicObject.h \ |
---|
[1754] | 39 | Physics/Src/EasyPhysics.cpp Physics/Include/EasyPhysics.h \ |
---|
| 40 | Physics/Include/LolBtPhysicsIntegration.h Physics/Include/LolPhysics.h \ |
---|
[1938] | 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 |
---|
[2084] | 47 | btphystest_CPPFLAGS = @LOL_CFLAGS@ -I$(top_srcdir)/src/bullet \ |
---|
[1594] | 48 | -DHAVE_PHYS_USE_BULLET |
---|
[2386] | 49 | btphystest_LDFLAGS = @LOL_STATIC_LIBS@ @LOL_LIBS@ |
---|
| 50 | btphystest_DEPENDENCIES = @LOL_STATIC_LIBS@ |
---|
[1571] | 51 | |
---|
[2298] | 52 | meshviewer_SOURCES = MeshViewer.cpp |
---|
| 53 | meshviewer_CPPFLAGS = @LOL_CFLAGS@ |
---|
[2386] | 54 | meshviewer_LDFLAGS = @LOL_STATIC_LIBS@ @LOL_LIBS@ |
---|
| 55 | meshviewer_DEPENDENCIES = @LOL_STATIC_LIBS@ |
---|
[2294] | 56 | |
---|