blob: 609044b963d3e62033cbeb178328c8195d46399e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
|
SUBDIRS = joints
AM_CPPFLAGS = -I$(top_srcdir)/include \
-I$(top_builddir)/include \
-D__ODE__
lib_LTLIBRARIES = libode.la
libode_la_LDFLAGS = @EXTRA_LIBTOOL_LDFLAGS@ @ODE_VERSION_INFO@
libode_la_LIBADD = joints/libjoints.la
# please, let's keep the filenames sorted
libode_la_SOURCES = nextafterf.c \
array.cpp array.h \
box.cpp \
capsule.cpp \
collision_cylinder_box.cpp \
collision_cylinder_plane.cpp \
collision_cylinder_sphere.cpp \
collision_kernel.cpp collision_kernel.h \
collision_quadtreespace.cpp \
collision_sapspace.cpp \
collision_space.cpp \
collision_space_internal.h \
collision_std.h \
collision_transform.cpp collision_transform.h \
collision_trimesh_colliders.h \
collision_trimesh_disabled.cpp \
collision_trimesh_internal.h \
collision_trimesh_opcode.h \
collision_trimesh_gimpact.h \
collision_util.cpp collision_util.h \
common.h \
convex.cpp \
coop_matrix_types.h \
cylinder.cpp \
default_threading.cpp default_threading.h \
error.cpp error.h \
export-dif.cpp \
fastdot.cpp fastdot_impl.h \
fastldltfactor.cpp fastldltfactor_impl.h \
fastldltsolve.cpp fastldltsolve_impl.h \
fastlsolve.cpp fastlsolve_impl.h \
fastltsolve.cpp fastltsolve_impl.h \
fastvecscale.cpp fastvecscale_impl.h \
heightfield.cpp heightfield.h \
lcp.cpp lcp.h \
mass.cpp \
mat.cpp mat.h \
matrix.cpp matrix.h \
memory.cpp \
misc.cpp \
objects.cpp objects.h \
obstack.cpp obstack.h \
ode.cpp \
odeinit.cpp \
odemath.cpp odemath.h \
odeou.h \
odetls.h \
plane.cpp \
quickstep.cpp quickstep.h \
ray.cpp \
resource_control.cpp resource_control.h \
rotation.cpp \
simple_cooperative.cpp simple_cooperative.h \
sphere.cpp \
step.cpp step.h \
timer.cpp \
threaded_solver_ldlt.h \
threading_atomics_provs.h \
threading_base.cpp threading_base.h \
threading_fake_sync.h \
threading_impl.cpp threading_impl.h \
threading_impl_posix.h \
threading_impl_templates.h \
threading_impl_win.h \
threading_pool_posix.cpp \
threading_pool_win.cpp \
threadingutils.h \
typedefs.h \
util.cpp util.h
###################################
# O U S T U F F
###################################
if ENABLE_OU
AM_CPPFLAGS += -I$(top_srcdir)/ou/include
libode_la_LIBADD += $(top_builddir)/ou/src/ou/libou.la
libode_la_SOURCES += odetls.cpp odetls.h \
odeou.cpp odeou.h
endif
###################################
# G I M P A C T S T U F F
###################################
if GIMPACT
AM_CPPFLAGS += -DdTRIMESH_ENABLED -DdTRIMESH_GIMPACT -I$(top_srcdir)/GIMPACT/include
libode_la_LIBADD += $(top_builddir)/GIMPACT/src/libGIMPACT.la
libode_la_SOURCES += collision_trimesh_gimpact.cpp \
collision_trimesh_internal.cpp collision_trimesh_internal_impl.h \
gimpact_contact_export_helper.cpp gimpact_contact_export_helper.h \
gimpact_gim_contact_accessor.h \
gimpact_plane_contact_accessor.h \
collision_trimesh_trimesh.cpp \
collision_trimesh_sphere.cpp \
collision_trimesh_ray.cpp \
collision_trimesh_box.cpp \
collision_trimesh_ccylinder.cpp \
collision_trimesh_internal.h \
collision_cylinder_trimesh.cpp \
collision_trimesh_plane.cpp \
collision_convex_trimesh.cpp
endif
#################################
# O P C O D E S T U F F
#################################
if OPCODE
AM_CPPFLAGS += -I$(top_srcdir)/OPCODE -I$(top_srcdir)/OPCODE/Ice -DdTRIMESH_ENABLED -DdTRIMESH_OPCODE
libode_la_LIBADD += $(top_builddir)/OPCODE/libOPCODE.la \
$(top_builddir)/OPCODE/Ice/libIce.la
libode_la_SOURCES+= collision_trimesh_opcode.cpp \
collision_trimesh_internal.cpp collision_trimesh_internal_impl.h \
collision_trimesh_trimesh.cpp \
collision_trimesh_trimesh_old.cpp \
collision_trimesh_sphere.cpp \
collision_trimesh_ray.cpp \
collision_trimesh_box.cpp \
collision_trimesh_ccylinder.cpp \
collision_trimesh_internal.h \
collision_cylinder_trimesh.cpp \
collision_trimesh_plane.cpp \
collision_convex_trimesh.cpp
endif
if LIBCCD
AM_CPPFLAGS += -DdLIBCCD_ENABLED
AM_CPPFLAGS += -I$(top_srcdir)/libccd/src/custom
if LIBCCD_INTERNAL
AM_CPPFLAGS += -I$(top_srcdir)/libccd/src -I$(top_builddir)/libccd/src
libode_la_LIBADD += $(top_builddir)/libccd/src/libccd.la
AM_CPPFLAGS += -DdLIBCCD_INTERNAL
else
AM_CPPFLAGS += $(CCD_CFLAGS)
libode_la_LIBADD += $(CCD_LIBS)
AM_CPPFLAGS += -DdLIBCCD_SYSTEM
endif
libode_la_SOURCES += collision_libccd.cpp collision_libccd.h
if LIBCCD_BOX_CYL
AM_CPPFLAGS += -DdLIBCCD_BOX_CYL
endif
if LIBCCD_CYL_CYL
AM_CPPFLAGS += -DdLIBCCD_CYL_CYL
endif
if LIBCCD_CAP_CYL
AM_CPPFLAGS += -DdLIBCCD_CAP_CYL
endif
if LIBCCD_CONVEX_BOX
AM_CPPFLAGS += -DdLIBCCD_CONVEX_BOX
endif
if LIBCCD_CONVEX_CAP
AM_CPPFLAGS += -DdLIBCCD_CONVEX_CAP
endif
if LIBCCD_CONVEX_CYL
AM_CPPFLAGS += -DdLIBCCD_CONVEX_CYL
endif
if LIBCCD_CONVEX_SPHERE
AM_CPPFLAGS += -DdLIBCCD_CONVEX_SPHERE
endif
if LIBCCD_CONVEX_CONVEX
AM_CPPFLAGS += -DdLIBCCD_CONVEX_CONVEX
endif
endif
|