Makefile.am 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. AM_CPPFLAGS = -I$(top_srcdir)/include \
  2. -I$(top_builddir)/include \
  3. -DDRAWSTUFF_TEXTURE_PATH="\"$(abs_top_srcdir)/drawstuff/textures\""
  4. if X11
  5. AM_LDFLAGS = $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS)
  6. endif
  7. # On Windows, GL_LIBS must go after libdrawstuff.la.
  8. LDADD = $(top_builddir)/drawstuff/src/libdrawstuff.la \
  9. $(top_builddir)/ode/src/libode.la @GL_LIBS@
  10. noinst_HEADERS = basket_geom.h bunny_geom.h convex_bunny_geom.h convex_prism.h \
  11. icosahedron_geom.h halton235_geom.h texturepath.h world_geom3.h
  12. AM_DEFAULT_SOURCE_EXT = .cpp
  13. noinst_PROGRAMS = \
  14. demo_boxstack \
  15. demo_buggy \
  16. demo_cards \
  17. demo_chain1 \
  18. demo_chain2 \
  19. demo_collision \
  20. demo_convex \
  21. demo_crash \
  22. demo_cylvssphere \
  23. demo_dball \
  24. demo_dhinge \
  25. demo_transmission \
  26. demo_feedback \
  27. demo_friction \
  28. demo_gyroscopic \
  29. demo_gyro2 \
  30. demo_heightfield \
  31. demo_hinge \
  32. demo_I \
  33. demo_jointPR \
  34. demo_joints \
  35. demo_jointPU \
  36. demo_kinematic \
  37. demo_motion \
  38. demo_motor \
  39. demo_ode \
  40. demo_piston \
  41. demo_plane2d \
  42. demo_rfriction \
  43. demo_slider \
  44. demo_space \
  45. demo_space_stress \
  46. demo_step \
  47. demo_tracks
  48. demo_chain1_SOURCES = demo_chain1.c
  49. demo_chain1_LDADD = $(LDADD) -lstdc++
  50. if TRIMESH
  51. noinst_PROGRAMS += \
  52. demo_basket \
  53. demo_cyl \
  54. demo_moving_trimesh \
  55. demo_moving_convex \
  56. demo_trimesh
  57. AM_CPPFLAGS += -DdTRIMESH_ENABLED
  58. endif
  59. if WIN32
  60. resources.o: $(top_srcdir)/drawstuff/src/resources.rc $(top_srcdir)/drawstuff/src/resource.h
  61. @WINDRES@ $(top_srcdir)/drawstuff/src/resources.rc -o resources.o
  62. LDADD += resources.o
  63. endif