Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

69 рядки
2.2 KiB

  1. include $(top_srcdir)/build/autotools/common.am
  2. SUBDIRS = math sandbox xolotl
  3. bench: benchsuite$(EXEEXT)
  4. ./benchsuite$(EXEEXT)
  5. noinst_PROGRAMS = benchsuite $(testsuite) btphystest nacl_phystest meshviewer
  6. TESTS = $(testsuite)
  7. # Conditionally built for now because of STLport issues
  8. if !USE_ANDROID
  9. testsuite = testsuite
  10. endif
  11. testsuite_SOURCES = testsuite.cpp \
  12. unit/vector.cpp unit/matrix.cpp unit/half.cpp unit/trig.cpp \
  13. unit/build.cpp unit/real.cpp unit/image.cpp unit/quat.cpp unit/cmplx.cpp \
  14. unit/array.cpp unit/rotation.cpp unit/string.cpp unit/map.cpp \
  15. unit/color.cpp unit/atomic.cpp unit/interp.cpp unit/box.cpp \
  16. unit/rand.cpp unit/thread.cpp unit/camera.cpp
  17. testsuite_CPPFLAGS = $(AM_CPPFLAGS)
  18. testsuite_DEPENDENCIES = @LOL_DEPS@
  19. noinst_DATA = data/gradient.png
  20. benchsuite_SOURCES = benchsuite.cpp \
  21. benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
  22. benchmark/real.cpp
  23. benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
  24. benchsuite_DEPENDENCIES = @LOL_DEPS@
  25. btphystest_SOURCES = \
  26. btphystest.cpp btphystest.h physicobject.h \
  27. physics/easyphysics.cpp physics/easyphysics.h \
  28. physics/lolbtphysicsintegration.h physics/lolphysics.h \
  29. physics/easycharactercontroller.cpp physics/easycharactercontroller.h \
  30. physics/easyconstraint.cpp physics/easyconstraint.h \
  31. physics/bulletcharactercontroller.cpp physics/bulletcharactercontroller.h \
  32. \
  33. front_camera_sprite.lolfx
  34. btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
  35. -DHAVE_PHYS_USE_BULLET
  36. btphystest_DEPENDENCIES = @LOL_DEPS@
  37. btphystest_LDFLAGS = $(AM_LDFLAGS)
  38. if USE_EMSCRIPTEN
  39. btphystest_LDFLAGS += \
  40. --preload-file data/CatsSheet.png \
  41. -s TOTAL_MEMORY=$(shell expr 32 '*' 1024 '*' 1024)
  42. endif
  43. nacl_phystest_SOURCES = \
  44. nacl_phystest.cpp nacl_phystest.h
  45. nacl_phystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
  46. -DHAVE_PHYS_USE_BULLET
  47. nacl_phystest_DEPENDENCIES = @LOL_DEPS@
  48. nacl_phystest_LDFLAGS = $(AM_LDFLAGS)
  49. meshviewer_SOURCES = meshviewer.cpp \
  50. shinymvtexture.lolfx shinyfur.lolfx
  51. meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
  52. meshviewer_DEPENDENCIES = @LOL_DEPS@
  53. meshviewer_LDFLAGS = $(AM_LDFLAGS)
  54. if USE_EMSCRIPTEN
  55. meshviewer_LDFLAGS += -s EXPORTED_FUNCTIONS="['_main', '_C_Send']"
  56. endif