aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/ode/demo/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ode-0.9/ode/demo/Makefile.am')
-rw-r--r--libraries/ode-0.9/ode/demo/Makefile.am254
1 files changed, 254 insertions, 0 deletions
diff --git a/libraries/ode-0.9/ode/demo/Makefile.am b/libraries/ode-0.9/ode/demo/Makefile.am
new file mode 100644
index 0000000..361ad53
--- /dev/null
+++ b/libraries/ode-0.9/ode/demo/Makefile.am
@@ -0,0 +1,254 @@
1AM_CXXFLAGS = @ARCHFLAGS@ @CXXFLAGS@ -I$(top_srcdir)/include -I$(top_builddir)/include
2AM_CFLAGS = @ARCHFLAGS@ @CXXFLAGS@ -I$(top_srcdir)/include -I$(top_builddir)/include
3
4noinst_PROGRAMS=demo_collision \
5 demo_slider \
6 demo_feedback \
7 demo_crash \
8 demo_space \
9 demo_I \
10 demo_friction \
11 demo_space_stress \
12 demo_boxstack demo_hinge \
13 demo_step \
14 demo_buggy \
15 demo_joints \
16 demo_motor \
17 demo_chain1 \
18 demo_chain2 \
19 demo_cylvssphere \
20 demo_ode \
21 demo_plane2d \
22 demo_heightfield \
23 demo_convex_cd \
24 demo_jointPR
25if TRIMESH
26noinst_PROGRAMS+= demo_trimesh demo_moving_trimesh demo_basket demo_cyl
27endif
28demo_collision_SOURCES= demo_collision.cpp
29demo_slider_SOURCES= demo_slider.cpp
30demo_feedback_SOURCES= demo_feedback.cpp
31demo_crash_SOURCES= demo_crash.cpp
32demo_space_SOURCES= demo_space.cpp
33demo_I_SOURCES= demo_I.cpp
34demo_friction_SOURCES= demo_friction.cpp
35demo_space_stress_SOURCES= demo_space_stress.cpp
36demo_boxstack_SOURCES= demo_boxstack.cpp
37demo_hinge_SOURCES= demo_hinge.cpp
38demo_step_SOURCES= demo_step.cpp
39demo_buggy_SOURCES= demo_buggy.cpp
40demo_cyl_SOURCES= demo_cyl.cpp world_geom3.h
41demo_cylvssphere_SOURCES= demo_cylvssphere.cpp
42demo_joints_SOURCES= demo_joints.cpp
43demo_jointPR_SOURCES= demo_jointPR.cpp
44demo_motor_SOURCES= demo_motor.cpp
45demo_chain1_SOURCES= demo_chain1.c
46demo_chain2_SOURCES= demo_chain2.cpp
47demo_ode_SOURCES= demo_ode.cpp
48demo_plane2d_SOURCES= demo_plane2d.cpp
49demo_heightfield_SOURCES= demo_heightfield.cpp
50demo_convex_cd_SOURCES= demo_convex_cd.cpp
51demo_collision_LDFLAGS= -L$(top_builddir)/drawstuff/src \
52 -L$(top_builddir)/ode/src @LDFLAGS@
53demo_slider_LDFLAGS= -L$(top_builddir)/drawstuff/src \
54 -L$(top_builddir)/ode/src @LDFLAGS@
55demo_feedback_LDFLAGS= -L$(top_builddir)/drawstuff/src \
56 -L$(top_builddir)/ode/src @LDFLAGS@
57demo_crash_LDFLAGS= -L$(top_builddir)/drawstuff/src \
58 -L$(top_builddir)/ode/src @LDFLAGS@
59demo_space_LDFLAGS= -L$(top_builddir)/drawstuff/src \
60 -L$(top_builddir)/ode/src @LDFLAGS@
61demo_I_LDFLAGS= -L$(top_builddir)/drawstuff/src \
62 -L$(top_builddir)/ode/src @LDFLAGS@
63demo_friction_LDFLAGS= -L$(top_builddir)/drawstuff/src \
64 -L$(top_builddir)/ode/src @LDFLAGS@
65demo_space_stress_LDFLAGS= -L$(top_builddir)/drawstuff/src \
66 -L$(top_builddir)/ode/src @LDFLAGS@
67demo_boxstack_LDFLAGS= -L$(top_builddir)/drawstuff/src \
68 -L$(top_builddir)/ode/src @LDFLAGS@
69demo_hinge_LDFLAGS= -L$(top_builddir)/drawstuff/src \
70 -L$(top_builddir)/ode/src @LDFLAGS@
71demo_step_LDFLAGS= -L$(top_builddir)/drawstuff/src \
72 -L$(top_builddir)/ode/src @LDFLAGS@
73demo_buggy_LDFLAGS= -L$(top_builddir)/drawstuff/src \
74 -L$(top_builddir)/ode/src @LDFLAGS@
75demo_cyl_LDFLAGS= -L$(top_builddir)/drawstuff/src \
76 -L$(top_builddir)/ode/src @LDFLAGS@
77demo_cylvssphere_LDFLAGS= -L$(top_builddir)/drawstuff/src \
78 -L$(top_builddir)/ode/src @LDFLAGS@
79demo_joints_LDFLAGS= -L$(top_builddir)/drawstuff/src \
80 -L$(top_builddir)/ode/src @LDFLAGS@
81demo_jointPR_LDFLAGS= -L$(top_builddir)/drawstuff/src \
82 -L$(top_builddir)/ode/src @LDFLAGS@
83demo_motor_LDFLAGS= -L$(top_builddir)/drawstuff/src \
84 -L$(top_builddir)/ode/src @LDFLAGS@
85demo_chain1_LDFLAGS= -L$(top_builddir)/drawstuff/src \
86 -L$(top_builddir)/ode/src @LDFLAGS@
87demo_chain2_LDFLAGS= -L$(top_builddir)/drawstuff/src \
88 -L$(top_builddir)/ode/src @LDFLAGS@
89demo_ode_LDFLAGS= -L$(top_builddir)/drawstuff/src \
90 -L$(top_builddir)/ode/src @LDFLAGS@
91demo_plane2d_LDFLAGS= -L$(top_builddir)/drawstuff/src \
92 -L$(top_builddir)/ode/src @LDFLAGS@
93demo_heightfield_LDFLAGS= -L$(top_builddir)/drawstuff/src \
94 -L$(top_builddir)/ode/src @LDFLAGS@
95demo_convex_cd_LDFLAGS= -L$(top_builddir)/drawstuff/src \
96 -L$(top_builddir)/ode/src @LDFLAGS@
97
98demo_collision_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
99 $(top_builddir)/drawstuff/src/libdrawstuff.a
100demo_slider_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
101 $(top_builddir)/drawstuff/src/libdrawstuff.a
102demo_feedback_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
103 $(top_builddir)/drawstuff/src/libdrawstuff.a
104demo_crash_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
105 $(top_builddir)/drawstuff/src/libdrawstuff.a
106demo_space_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
107 $(top_builddir)/drawstuff/src/libdrawstuff.a
108demo_I_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
109 $(top_builddir)/drawstuff/src/libdrawstuff.a
110demo_friction_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
111 $(top_builddir)/drawstuff/src/libdrawstuff.a
112demo_space_stress_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
113 $(top_builddir)/drawstuff/src/libdrawstuff.a
114demo_boxstack_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
115 $(top_builddir)/drawstuff/src/libdrawstuff.a
116demo_hinge_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
117 $(top_builddir)/drawstuff/src/libdrawstuff.a
118demo_step_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
119 $(top_builddir)/drawstuff/src/libdrawstuff.a
120demo_buggy_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
121 $(top_builddir)/drawstuff/src/libdrawstuff.a
122demo_cyl_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
123 $(top_builddir)/drawstuff/src/libdrawstuff.a
124demo_cylvssphere_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
125 $(top_builddir)/drawstuff/src/libdrawstuff.a
126demo_joints_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
127 $(top_builddir)/drawstuff/src/libdrawstuff.a
128demo_jointPR_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
129 $(top_builddir)/drawstuff/src/libdrawstuff.a
130demo_motor_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
131 $(top_builddir)/drawstuff/src/libdrawstuff.a
132demo_chain1_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
133 $(top_builddir)/drawstuff/src/libdrawstuff.a
134demo_chain2_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
135 $(top_builddir)/drawstuff/src/libdrawstuff.a
136demo_ode_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
137 $(top_builddir)/drawstuff/src/libdrawstuff.a
138demo_plane2d_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
139 $(top_builddir)/drawstuff/src/libdrawstuff.a
140demo_heightfield_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
141 $(top_builddir)/drawstuff/src/libdrawstuff.a
142demo_convex_cd_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
143 $(top_builddir)/drawstuff/src/libdrawstuff.a
144
145if TRIMESH
146demo_trimesh_SOURCES= demo_trimesh.cpp
147demo_moving_trimesh_SOURCES= demo_moving_trimesh.cpp
148demo_basket_SOURCES= demo_basket.cpp
149demo_trimesh_LDFLAGS= -L$(top_builddir)/drawstuff/src \
150 -L$(top_builddir)/ode/src @LDFLAGS@ \
151 @GL_LIBS@ @LIBS@
152demo_moving_trimesh_LDFLAGS= -L$(top_builddir)/drawstuff/src \
153 -L$(top_builddir)/ode/src @LDFLAGS@ \
154 @GL_LIBS@ @LIBS@
155demo_basket_LDFLAGS= -L$(top_builddir)/drawstuff/src \
156 -L$(top_builddir)/ode/src @LDFLAGS@ \
157 @GL_LIBS@ @LIBS@
158demo_trimesh_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
159 $(top_builddir)/drawstuff/src/libdrawstuff.a
160demo_moving_trimesh_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
161 $(top_builddir)/drawstuff/src/libdrawstuff.a
162
163demo_basket_DEPENDENCIES= $(top_builddir)/ode/src/libode.a \
164 $(top_builddir)/drawstuff/src/libdrawstuff.a
165
166endif
167
168demo_ode_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
169demo_plane2d_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
170demo_heightfield_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
171demo_chain2_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
172demo_chain1_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
173demo_joints_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
174demo_jointPR_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
175demo_motor_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
176demo_buggy_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
177demo_cyl_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
178demo_cylvssphere_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
179demo_step_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
180demo_hinge_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
181demo_boxstack_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
182demo_space_stress_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
183demo_friction_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
184demo_I_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
185demo_space_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
186demo_crash_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
187demo_slider_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
188demo_feedback_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
189demo_collision_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
190demo_convex_cd_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
191
192
193if TRIMESH
194demo_trimesh_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
195demo_moving_trimesh_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
196demo_basket_LDADD= -ldrawstuff $(top_builddir)/ode/src/libode.a @GL_LIBS@ @LIBS@
197endif
198
199
200if WIN32
201resources.o: ../../drawstuff/src/resources.rc ../../drawstuff/src/resource.h
202 @WINDRES@ ../../drawstuff/src/resources.rc -o resources.o
203demo_ode_LDADD+= resources.o
204demo_heightfield_LDADD+= resources.o
205demo_chain2_LDADD+= resources.o
206demo_chain1_LDADD+= resources.o
207demo_joints_LDADD+= resources.o
208demo_jointPR_LDADD+= resources.o
209demo_motor_LDADD+= resources.o
210demo_buggy_LDADD+= resources.o
211demo_cyl_LDADD+= resources.o
212demo_cylvssphere_LDADD+= resources.o
213demo_step_LDADD+= resources.o
214demo_hinge_LDADD+= resources.o
215demo_boxstack_LDADD+= resources.o
216demo_space_stress_LDADD+= resources.o
217demo_friction_LDADD+= resources.o
218demo_I_LDADD+= resources.o
219demo_space_LDADD+= resources.o
220demo_crash_LDADD+= resources.o
221demo_slider_LDADD+= resources.o
222demo_feedback_LDADD+= resources.o
223demo_collision_LDADD+= resources.o
224demo_convex_cd_LDADD+= resources.o
225demo_ode_DEPENDENCIES+= resources.o
226demo_chain2_DEPENDENCIES+= resources.o
227demo_chain1_DEPENDENCIES+= resources.o
228demo_joints_DEPENDENCIES+= resources.o
229demo_jointPR_DEPENDENCIES+= resources.o
230demo_motor_DEPENDENCIES+= resources.o
231demo_buggy_DEPENDENCIES+= resources.o
232demo_cyl_DEPENDENCIES+= resources.o
233demo_cylvssphere_DEPENDENCIES+= resources.o
234demo_step_DEPENDENCIES+= resources.o
235demo_hinge_DEPENDENCIES+= resources.o
236demo_boxstack_DEPENDENCIES+= resources.o
237demo_space_stress_DEPENDENCIES+= resources.o
238demo_friction_DEPENDENCIES+= resources.o
239demo_I_DEPENDENCIES+= resources.o
240demo_space_DEPENDENCIES+= resources.o
241demo_crash_DEPENDENCIES+= resources.o
242demo_slider_DEPENDENCIES+= resources.o
243demo_feedback_DEPENDENCIES+= resources.o
244demo_collision_DEPENDENCIES+= resources.o
245demo_convex_cd_DEPENDENCIES+= resources.o
246
247if TRIMESH
248demo_trimesh_LDADD+= resources.o
249demo_moving_trimesh_LDADD+= resources.o
250demo_trimesh_DEPENDENCIES+= resources.o
251demo_moving_trimesh_DEPENDENCIES+= resources.o
252demo_basket_DEPENDENCIES+= resources.o
253endif
254endif