You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

56 line
1.3 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. if BUILD_TEST
  3. noinst_PROGRAMS = $(testsuite)
  4. TESTS = $(testsuite)
  5. endif
  6. testsuite = test-base test-math
  7. if LOL_USE_GL
  8. testsuite += test-entity # FIXME: this should not really depend on GL
  9. testsuite += test-sys
  10. endif
  11. if LOL_USE_GDIPLUS
  12. testsuite += test-image
  13. else
  14. if LOL_USE_LIBPNG
  15. testsuite += test-image
  16. else
  17. if LOL_USE_IMLIB2
  18. testsuite += test-image
  19. endif
  20. endif
  21. endif
  22. test_base_SOURCES = test-common.cpp \
  23. base/avl_tree.cpp base/array.cpp base/enum.cpp base/map.cpp \
  24. base/string.cpp base/types.cpp
  25. test_base_DEPENDENCIES = @LOL_DEPS@
  26. test_math_SOURCES = test-common.cpp \
  27. math/array2d.cpp math/array3d.cpp math/arraynd.cpp math/box.cpp \
  28. math/cmplx.cpp math/half.cpp math/interp.cpp math/matrix.cpp \
  29. math/quat.cpp math/rand.cpp math/real.cpp math/rotation.cpp \
  30. math/trig.cpp math/vector.cpp math/polynomial.cpp math/noise/simplex.cpp \
  31. math/bigint.cpp math/sqt.cpp math/numbers.cpp
  32. test_math_DEPENDENCIES = @LOL_DEPS@
  33. test_sys_SOURCES = test-common.cpp \
  34. sys/thread.cpp sys/timer.cpp
  35. test_sys_DEPENDENCIES = @LOL_DEPS@
  36. test_image_SOURCES = test-common.cpp \
  37. image/color.cpp image/image.cpp
  38. test_image_DEPENDENCIES = @LOL_DEPS@
  39. test_entity_SOURCES = test-common.cpp \
  40. entity/camera.cpp
  41. test_entity_DEPENDENCIES = @LOL_DEPS@
  42. EXTRA_DIST += data/gradient.png