Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Makefile.am 2.4 KiB

il y a 11 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. scenesetup.cpp scenesetup.h \
  52. scenesetup-compiler.cpp scenesetup-compiler.h \
  53. generated/scenesetup-scanner.cpp generated/scenesetup-scanner.h \
  54. generated/scenesetup-parser.cpp
  55. meshviewer_CPPFLAGS = $(AM_CPPFLAGS)
  56. meshviewer_DEPENDENCIES = @LOL_DEPS@
  57. meshviewer_LDFLAGS = $(AM_LDFLAGS)
  58. if USE_EMSCRIPTEN
  59. meshviewer_LDFLAGS += -s EXPORTED_FUNCTIONS="['_main', '_C_Send']"
  60. endif