您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

74 行
2.5 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/array2d.cpp unit/array3d.cpp unit/arraynd.cpp \
  15. unit/string.cpp unit/map.cpp unit/color.cpp unit/enum.cpp \
  16. unit/interp.cpp unit/box.cpp unit/rand.cpp unit/thread.cpp \
  17. unit/camera.cpp unit/rotation.cpp
  18. testsuite_CPPFLAGS = $(AM_CPPFLAGS)
  19. testsuite_DEPENDENCIES = @LOL_DEPS@
  20. noinst_DATA = data/gradient.png
  21. benchsuite_SOURCES = benchsuite.cpp \
  22. benchmark/vector.cpp benchmark/half.cpp benchmark/trig.cpp \
  23. benchmark/real.cpp
  24. benchsuite_CPPFLAGS = $(AM_CPPFLAGS)
  25. benchsuite_DEPENDENCIES = @LOL_DEPS@
  26. btphystest_SOURCES = \
  27. btphystest.cpp btphystest.h physicobject.h \
  28. physics/easyphysics.cpp physics/easyphysics.h \
  29. physics/lolbtphysicsintegration.h physics/lolphysics.h \
  30. physics/easycharactercontroller.cpp physics/easycharactercontroller.h \
  31. physics/easyconstraint.cpp physics/easyconstraint.h \
  32. physics/bulletcharactercontroller.cpp physics/bulletcharactercontroller.h \
  33. \
  34. front_camera_sprite.lolfx
  35. btphystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
  36. -DHAVE_PHYS_USE_BULLET
  37. btphystest_DEPENDENCIES = @LOL_DEPS@
  38. btphystest_LDFLAGS = $(AM_LDFLAGS)
  39. if USE_EMSCRIPTEN
  40. btphystest_LDFLAGS += \
  41. --preload-file data/CatsSheet.png \
  42. -s TOTAL_MEMORY=$(shell expr 32 '*' 1024 '*' 1024)
  43. endif
  44. nacl_phystest_SOURCES = \
  45. nacl_phystest.cpp nacl_phystest.h
  46. nacl_phystest_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/bullet \
  47. -DHAVE_PHYS_USE_BULLET
  48. nacl_phystest_DEPENDENCIES = @LOL_DEPS@
  49. nacl_phystest_LDFLAGS = $(AM_LDFLAGS)
  50. meshviewer_SOURCES = meshviewer.cpp \
  51. shinymvtexture.lolfx shinyfur.lolfx \
  52. scenesetup.cpp scenesetup.h \
  53. scenesetup-compiler.cpp scenesetup-compiler.h \
  54. generated/scenesetup-scanner.cpp generated/scenesetup-scanner.h \
  55. generated/scenesetup-parser.cpp
  56. meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
  57. meshviewer_DEPENDENCIES = @LOL_DEPS@
  58. meshviewer_LDFLAGS = $(AM_LDFLAGS)
  59. if USE_EMSCRIPTEN
  60. meshviewer_LDFLAGS += -s EXPORTED_FUNCTIONS="['_main', '_C_Send']"
  61. endif