
include $(top_srcdir)/build/autotools/common.am

noinst_LIBRARIES = liblolbullet.a

# Only remove flags that were actually set, because we don't know
# what the compiler actually accepts.
disable_cflags = $(filter $(AM_CPPFLAGS:-W%=-Wno-%), \
    -Wno-shadow -Wno-unused -Wno-cast-qual -Wno-strict-aliasing \
    -Wno-reorder -Wno-maybe-uninitialized -Wno-narrowing \
    -Wno-parentheses)

liblolbullet_a_SOURCES = $(bullet_sources)
liblolbullet_a_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir) $(disable_cflags)

bullet_sources =

if FALSE #CONDITIONAL_BUILD_MULTITHREADED
bullet_sources += \
    BulletMultiThreaded/PosixThreadSupport.h \
    BulletMultiThreaded/vectormath/scalar/cpp/mat_aos.h \
    BulletMultiThreaded/vectormath/scalar/cpp/vec_aos.h \
    BulletMultiThreaded/vectormath/scalar/cpp/quat_aos.h \
    BulletMultiThreaded/vectormath/scalar/cpp/vectormath_aos.h \
    BulletMultiThreaded/PpuAddressSpace.h \
    BulletMultiThreaded/SpuCollisionTaskProcess.h \
    BulletMultiThreaded/PlatformDefinitions.h \
    BulletMultiThreaded/vectormath2bullet.h \
    BulletMultiThreaded/SpuGatheringCollisionDispatcher.h \
    BulletMultiThreaded/SpuCollisionObjectWrapper.h \
    BulletMultiThreaded/SpuSampleTaskProcess.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/boxBoxDistance.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/Box.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuMinkowskiPenetrationDepthSolver.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuLocalSupport.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuCollisionShapes.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuGatheringCollisionTask.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuConvexPenetrationDepthSolver.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuPreferredPenetrationDirections.h \
    BulletMultiThreaded/SpuSync.h \
    BulletMultiThreaded/btThreadSupportInterface.h \
    BulletMultiThreaded/SpuLibspe2Support.h \
    BulletMultiThreaded/SpuSampleTask/SpuSampleTask.h \
    BulletMultiThreaded/SpuFakeDma.h \
    BulletMultiThreaded/SpuContactManifoldCollisionAlgorithm.h \
    BulletMultiThreaded/SpuDoubleBuffer.h \
    BulletMultiThreaded/Win32ThreadSupport.h \
    BulletMultiThreaded/SequentialThreadSupport.h

libBulletMultiThreaded_la_CXXFLAGS = -I./BulletMultiThreaded/vectormath/scalar/cpp
bullet_sources += \
    BulletMultiThreaded/SpuCollisionObjectWrapper.cpp \
    BulletMultiThreaded/SpuSampleTask/SpuSampleTask.cpp \
    BulletMultiThreaded/SpuLibspe2Support.cpp \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.cpp \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuGatheringCollisionTask.cpp \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuMinkowskiPenetrationDepthSolver.cpp \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuCollisionShapes.cpp \
    BulletMultiThreaded/btThreadSupportInterface.cpp \
    BulletMultiThreaded/SequentialThreadSupport.cpp \
    BulletMultiThreaded/SpuGatheringCollisionDispatcher.cpp \
    BulletMultiThreaded/Win32ThreadSupport.cpp \
    BulletMultiThreaded/SpuFakeDma.cpp \
    BulletMultiThreaded/PosixThreadSupport.cpp \
    BulletMultiThreaded/SpuCollisionTaskProcess.cpp \
    BulletMultiThreaded/SpuContactManifoldCollisionAlgorithm.cpp \
    BulletMultiThreaded/SpuSampleTaskProcess.cpp \
    BulletMultiThreaded/SpuSampleTask/SpuSampleTask.h \
    BulletMultiThreaded/PpuAddressSpace.h \
    BulletMultiThreaded/SpuSampleTaskProcess.h \
    BulletMultiThreaded/SequentialThreadSupport.h \
    BulletMultiThreaded/PlatformDefinitions.h \
    BulletMultiThreaded/Win32ThreadSupport.h \
    BulletMultiThreaded/SpuContactManifoldCollisionAlgorithm.h \
    BulletMultiThreaded/btThreadSupportInterface.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuGatheringCollisionTask.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuConvexPenetrationDepthSolver.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuPreferredPenetrationDirections.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuCollisionShapes.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuLocalSupport.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuMinkowskiPenetrationDepthSolver.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/SpuContactResult.h \
    BulletMultiThreaded/SpuGatheringCollisionDispatcher.h \
    BulletMultiThreaded/SpuFakeDma.h \
    BulletMultiThreaded/SpuSync.h \
    BulletMultiThreaded/SpuCollisionObjectWrapper.h \
    BulletMultiThreaded/SpuDoubleBuffer.h \
    BulletMultiThreaded/SpuCollisionTaskProcess.h \
    BulletMultiThreaded/PosixThreadSupport.h \
    BulletMultiThreaded/SpuLibspe2Support.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/boxBoxDistance.cpp \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/boxBoxDistance.h \
    BulletMultiThreaded/SpuNarrowPhaseCollisionTask/Box.h
endif

bullet_sources += \
    LinearMath/btQuickprof.cpp \
    LinearMath/btGeometryUtil.cpp \
    LinearMath/btAlignedAllocator.cpp \
    LinearMath/btSerializer.cpp \
    LinearMath/btConvexHull.cpp \
    LinearMath/btConvexHullComputer.cpp \
    LinearMath/btConvexHullComputer.h \
    LinearMath/btGrahamScan2dConvexHull.h \
    LinearMath/btHashMap.h \
    LinearMath/btConvexHull.h \
    LinearMath/btAabbUtil2.h \
    LinearMath/btGeometryUtil.h \
    LinearMath/btQuadWord.h \
    LinearMath/btPoolAllocator.h \
    LinearMath/btScalar.h \
    LinearMath/btMinMax.h \
    LinearMath/btVector3.h \
    LinearMath/btList.h \
    LinearMath/btStackAlloc.h \
    LinearMath/btMatrix3x3.h \
    LinearMath/btMotionState.h \
    LinearMath/btAlignedAllocator.h \
    LinearMath/btQuaternion.h \
    LinearMath/btAlignedObjectArray.h \
    LinearMath/btQuickprof.h \
    LinearMath/btSerializer.h \
    LinearMath/btTransformUtil.h \
    LinearMath/btTransform.h \
    LinearMath/btDefaultMotionState.h \
    LinearMath/btIDebugDraw.h \
    LinearMath/btRandom.h

bullet_sources += \
    BulletCollision/NarrowPhaseCollision/btRaycastCallback.cpp \
    BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.cpp \
    BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.cpp \
    BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.cpp \
    BulletCollision/NarrowPhaseCollision/btGjkConvexCast.cpp \
    BulletCollision/NarrowPhaseCollision/btPersistentManifold.cpp \
    BulletCollision/NarrowPhaseCollision/btConvexCast.cpp \
    BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.cpp \
    BulletCollision/NarrowPhaseCollision/btPolyhedralContactClipping.h \
    BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.cpp \
    BulletCollision/NarrowPhaseCollision/btGjkPairDetector.cpp \
    BulletCollision/NarrowPhaseCollision/btGjkEpa2.cpp \
    BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.cpp \
    BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btCollisionObject.cpp \
    BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btGhostObject.cpp \
    BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btCollisionDispatcher.cpp \
    BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.cpp \
    BulletCollision/CollisionDispatch/btSimulationIslandManager.cpp \
    BulletCollision/CollisionDispatch/btBoxBoxDetector.cpp \
    BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.cpp \
    BulletCollision/CollisionDispatch/SphereTriangleDetector.cpp \
    BulletCollision/CollisionDispatch/btInternalEdgeUtility.cpp \
    BulletCollision/CollisionDispatch/btManifoldResult.cpp \
    BulletCollision/CollisionDispatch/btCollisionWorld.cpp \
    BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.cpp \
    BulletCollision/CollisionDispatch/btUnionFind.cpp \
    BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.cpp \
    BulletCollision/CollisionShapes/btTetrahedronShape.cpp \
    BulletCollision/CollisionShapes/btShapeHull.cpp \
    BulletCollision/CollisionShapes/btMinkowskiSumShape.cpp \
    BulletCollision/CollisionShapes/btCompoundShape.cpp \
    BulletCollision/CollisionShapes/btConeShape.cpp \
    BulletCollision/CollisionShapes/btConvexPolyhedron.cpp \
    BulletCollision/CollisionShapes/btConvexPolyhedron.h \
    BulletCollision/CollisionShapes/btMultiSphereShape.cpp \
    BulletCollision/CollisionShapes/btUniformScalingShape.cpp \
    BulletCollision/CollisionShapes/btSphereShape.cpp \
    BulletCollision/CollisionShapes/btTriangleIndexVertexArray.cpp \
    BulletCollision/CollisionShapes/btBvhTriangleMeshShape.cpp \
    BulletCollision/CollisionShapes/btTriangleMeshShape.cpp \
    BulletCollision/CollisionShapes/btTriangleBuffer.cpp \
    BulletCollision/CollisionShapes/btStaticPlaneShape.cpp \
    BulletCollision/CollisionShapes/btPolyhedralConvexShape.cpp \
    BulletCollision/CollisionShapes/btEmptyShape.cpp \
    BulletCollision/CollisionShapes/btCollisionShape.cpp \
    BulletCollision/CollisionShapes/btConvexShape.cpp \
    BulletCollision/CollisionShapes/btConvex2dShape.cpp \
    BulletCollision/CollisionShapes/btConvexInternalShape.cpp \
    BulletCollision/CollisionShapes/btConvexHullShape.cpp \
    BulletCollision/CollisionShapes/btTriangleCallback.cpp \
    BulletCollision/CollisionShapes/btCapsuleShape.cpp \
    BulletCollision/CollisionShapes/btConvexTriangleMeshShape.cpp \
    BulletCollision/CollisionShapes/btConcaveShape.cpp \
    BulletCollision/CollisionShapes/btConvexPointCloudShape.cpp \
    BulletCollision/CollisionShapes/btBoxShape.cpp \
    BulletCollision/CollisionShapes/btBox2dShape.cpp \
    BulletCollision/CollisionShapes/btOptimizedBvh.cpp \
    BulletCollision/CollisionShapes/btHeightfieldTerrainShape.cpp \
    BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.cpp \
    BulletCollision/CollisionShapes/btCylinderShape.cpp \
    BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.cpp \
    BulletCollision/CollisionShapes/btStridingMeshInterface.cpp \
    BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.cpp \
    BulletCollision/CollisionShapes/btTriangleMesh.cpp \
    BulletCollision/BroadphaseCollision/btAxisSweep3.cpp \
    BulletCollision/BroadphaseCollision/btOverlappingPairCache.cpp \
    BulletCollision/BroadphaseCollision/btDbvtBroadphase.cpp \
    BulletCollision/BroadphaseCollision/btMultiSapBroadphase.cpp \
    BulletCollision/BroadphaseCollision/btDispatcher.cpp \
    BulletCollision/BroadphaseCollision/btBroadphaseProxy.cpp \
    BulletCollision/BroadphaseCollision/btQuantizedBvh.cpp \
    BulletCollision/BroadphaseCollision/btCollisionAlgorithm.cpp \
    BulletCollision/BroadphaseCollision/btDbvt.cpp \
    BulletCollision/BroadphaseCollision/btSimpleBroadphase.cpp \
    BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h \
    BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h \
    BulletCollision/NarrowPhaseCollision/btConvexCast.h \
    BulletCollision/NarrowPhaseCollision/btGjkEpa2.h \
    BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h \
    BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h \
    BulletCollision/NarrowPhaseCollision/btPointCollector.h \
    BulletCollision/NarrowPhaseCollision/btConvexPenetrationDepthSolver.h \
    BulletCollision/NarrowPhaseCollision/btSimplexSolverInterface.h \
    BulletCollision/NarrowPhaseCollision/btRaycastCallback.h \
    BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h \
    BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h \
    BulletCollision/NarrowPhaseCollision/btPersistentManifold.h \
    BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h \
    BulletCollision/NarrowPhaseCollision/btManifoldPoint.h \
    BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h \
    BulletCollision/CollisionDispatch/btCollisionObject.h \
    BulletCollision/CollisionDispatch/btGhostObject.h \
    BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btCollisionCreateFunc.h \
    BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.h \
    BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.h \
    BulletCollision/CollisionDispatch/btBoxBoxDetector.h \
    BulletCollision/CollisionDispatch/btCollisionDispatcher.h \
    BulletCollision/CollisionDispatch/SphereTriangleDetector.h \
    BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btUnionFind.h \
    BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btSimulationIslandManager.h \
    BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h \
    BulletCollision/CollisionDispatch/btCollisionWorld.h \
    BulletCollision/CollisionDispatch/btInternalEdgeUtility.h \
    BulletCollision/CollisionDispatch/btManifoldResult.h \
    BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btCollisionConfiguration.h \
    BulletCollision/CollisionShapes/btConvexShape.h \
    BulletCollision/CollisionShapes/btConvex2dShape.h \
    BulletCollision/CollisionShapes/btTriangleCallback.h \
    BulletCollision/CollisionShapes/btPolyhedralConvexShape.h \
    BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btCompoundShape.h \
    BulletCollision/CollisionShapes/btBoxShape.h \
    BulletCollision/CollisionShapes/btBox2dShape.h \
    BulletCollision/CollisionShapes/btMultiSphereShape.h \
    BulletCollision/CollisionShapes/btCollisionMargin.h \
    BulletCollision/CollisionShapes/btConcaveShape.h \
    BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btEmptyShape.h \
    BulletCollision/CollisionShapes/btUniformScalingShape.h \
    BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btMaterial.h \
    BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h \
    BulletCollision/CollisionShapes/btTriangleInfoMap.h \
    BulletCollision/CollisionShapes/btSphereShape.h \
    BulletCollision/CollisionShapes/btConvexPointCloudShape.h \
    BulletCollision/CollisionShapes/btCapsuleShape.h \
    BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h \
    BulletCollision/CollisionShapes/btCollisionShape.h \
    BulletCollision/CollisionShapes/btStaticPlaneShape.h \
    BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btStridingMeshInterface.h \
    BulletCollision/CollisionShapes/btTriangleMesh.h \
    BulletCollision/CollisionShapes/btTriangleBuffer.h \
    BulletCollision/CollisionShapes/btShapeHull.h \
    BulletCollision/CollisionShapes/btMinkowskiSumShape.h \
    BulletCollision/CollisionShapes/btOptimizedBvh.h \
    BulletCollision/CollisionShapes/btTriangleShape.h \
    BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.h \
    BulletCollision/CollisionShapes/btCylinderShape.h \
    BulletCollision/CollisionShapes/btTetrahedronShape.h \
    BulletCollision/CollisionShapes/btConvexInternalShape.h \
    BulletCollision/CollisionShapes/btConeShape.h \
    BulletCollision/CollisionShapes/btConvexHullShape.h \
    BulletCollision/BroadphaseCollision/btAxisSweep3.h \
    BulletCollision/BroadphaseCollision/btDbvtBroadphase.h \
    BulletCollision/BroadphaseCollision/btSimpleBroadphase.h \
    BulletCollision/BroadphaseCollision/btMultiSapBroadphase.h \
    BulletCollision/BroadphaseCollision/btDbvt.h \
    BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h \
    BulletCollision/BroadphaseCollision/btDispatcher.h \
    BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h \
    BulletCollision/BroadphaseCollision/btBroadphaseProxy.h \
    BulletCollision/BroadphaseCollision/btOverlappingPairCache.h \
    BulletCollision/BroadphaseCollision/btBroadphaseInterface.h \
    BulletCollision/BroadphaseCollision/btQuantizedBvh.h \
    BulletCollision/Gimpact/btGImpactBvh.cpp\
    BulletCollision/Gimpact/btGImpactQuantizedBvh.cpp\
    BulletCollision/Gimpact/btTriangleShapeEx.cpp\
    BulletCollision/Gimpact/btGImpactCollisionAlgorithm.cpp\
    BulletCollision/Gimpact/btGImpactShape.cpp\
    BulletCollision/Gimpact/gim_box_set.cpp\
    BulletCollision/Gimpact/gim_contact.cpp\
    BulletCollision/Gimpact/gim_memory.cpp\
    BulletCollision/Gimpact/gim_tri_collision.cpp

bullet_sources += \
    BulletDynamics/Dynamics/btRigidBody.cpp \
    BulletDynamics/Dynamics/btSimpleDynamicsWorld.cpp \
    BulletDynamics/Dynamics/Bullet-C-API.cpp \
    BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp \
    BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.cpp \
    BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.cpp \
    BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.cpp \
    BulletDynamics/ConstraintSolver/btSolve2LinearConstraint.h \
    BulletDynamics/ConstraintSolver/btPoint2PointConstraint.cpp \
    BulletDynamics/ConstraintSolver/btTypedConstraint.cpp \
    BulletDynamics/ConstraintSolver/btContactConstraint.cpp \
    BulletDynamics/ConstraintSolver/btSliderConstraint.cpp \
    BulletDynamics/ConstraintSolver/btConeTwistConstraint.cpp \
    BulletDynamics/ConstraintSolver/btHingeConstraint.cpp \
    BulletDynamics/ConstraintSolver/btHinge2Constraint.cpp \
    BulletDynamics/ConstraintSolver/btUniversalConstraint.cpp \
    BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.cpp \
    BulletDynamics/Vehicle/btWheelInfo.cpp \
    BulletDynamics/Vehicle/btRaycastVehicle.cpp \
    BulletDynamics/Character/btKinematicCharacterController.cpp \
    BulletDynamics/Character/btKinematicCharacterController.h \
    BulletDynamics/Character/btCharacterControllerInterface.h \
    BulletDynamics/Dynamics/btActionInterface.h \
    BulletDynamics/Dynamics/btSimpleDynamicsWorld.h \
    BulletDynamics/Dynamics/btRigidBody.h \
    BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h \
    BulletDynamics/Dynamics/btDynamicsWorld.h \
    BulletDynamics/ConstraintSolver/btSolverBody.h \
    BulletDynamics/ConstraintSolver/btConstraintSolver.h \
    BulletDynamics/ConstraintSolver/btConeTwistConstraint.h \
    BulletDynamics/ConstraintSolver/btTypedConstraint.h \
    BulletDynamics/ConstraintSolver/btContactSolverInfo.h \
    BulletDynamics/ConstraintSolver/btContactConstraint.h \
    BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h \
    BulletDynamics/ConstraintSolver/btJacobianEntry.h \
    BulletDynamics/ConstraintSolver/btSolverConstraint.h \
    BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h \
    BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h \
    BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h \
    BulletDynamics/ConstraintSolver/btSliderConstraint.h \
    BulletDynamics/ConstraintSolver/btHingeConstraint.h \
    BulletDynamics/ConstraintSolver/btHinge2Constraint.h \
    BulletDynamics/ConstraintSolver/btUniversalConstraint.h \
    BulletDynamics/Vehicle/btVehicleRaycaster.h \
    BulletDynamics/Vehicle/btRaycastVehicle.h \
    BulletDynamics/Vehicle/btWheelInfo.h

bullet_sources += \
    BulletSoftBody/btDefaultSoftBodySolver.cpp \
    BulletSoftBody/btDefaultSoftBodySolver.h \
    BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.cpp \
    BulletSoftBody/btSoftBody.cpp \
    BulletSoftBody/btSoftBodySolvers.h \
    BulletSoftBody/btSoftBodySolverVertexBuffer.h \
    BulletSoftBody/btSoftBodyData.h \
    BulletSoftBody/btSoftRigidCollisionAlgorithm.cpp \
    BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.cpp \
    BulletSoftBody/btSoftRigidDynamicsWorld.cpp \
    BulletSoftBody/btSoftBodyHelpers.cpp \
    BulletSoftBody/btSoftSoftCollisionAlgorithm.cpp \
    BulletSoftBody/btSparseSDF.h \
    BulletSoftBody/btSoftRigidCollisionAlgorithm.h \
    BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h \
    BulletSoftBody/btSoftBody.h \
    BulletSoftBody/btSoftSoftCollisionAlgorithm.h \
    BulletSoftBody/btSoftBodyInternals.h \
    BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.h \
    BulletSoftBody/btSoftRigidDynamicsWorld.h \
    BulletSoftBody/btSoftBodyHelpers.h

bullet_sources += \
    BulletSoftBody/btSoftBodyRigidBodyCollisionConfiguration.h \
    BulletSoftBody/btSoftBodyInternals.h \
    BulletSoftBody/btSoftBodyConcaveCollisionAlgorithm.h \
    BulletSoftBody/btSoftSoftCollisionAlgorithm.h \
    BulletSoftBody/btSoftBody.h \
    BulletSoftBody/btSoftBodyHelpers.h \
    BulletSoftBody/btSparseSDF.h \
    BulletSoftBody/btSoftRigidCollisionAlgorithm.h \
    BulletSoftBody/btSoftRigidDynamicsWorld.h \
    BulletDynamics/Vehicle/btRaycastVehicle.h \
    BulletDynamics/Vehicle/btWheelInfo.h \
    BulletDynamics/Vehicle/btVehicleRaycaster.h \
    BulletDynamics/Dynamics/btActionInterface.h \
    BulletDynamics/Dynamics/btRigidBody.h \
    BulletDynamics/Dynamics/btDynamicsWorld.h \
    BulletDynamics/Dynamics/btSimpleDynamicsWorld.h \
    BulletDynamics/Dynamics/btDiscreteDynamicsWorld.h \
    BulletDynamics/ConstraintSolver/btSequentialImpulseConstraintSolver.h \
    BulletDynamics/ConstraintSolver/btSolverConstraint.h \
    BulletDynamics/ConstraintSolver/btPoint2PointConstraint.h \
    BulletDynamics/ConstraintSolver/btTypedConstraint.h \
    BulletDynamics/ConstraintSolver/btSliderConstraint.h \
    BulletDynamics/ConstraintSolver/btConstraintSolver.h \
    BulletDynamics/ConstraintSolver/btContactConstraint.h \
    BulletDynamics/ConstraintSolver/btContactSolverInfo.h \
    BulletDynamics/ConstraintSolver/btGeneric6DofConstraint.h \
    BulletDynamics/ConstraintSolver/btGeneric6DofSpringConstraint.h \
    BulletDynamics/ConstraintSolver/btJacobianEntry.h \
    BulletDynamics/ConstraintSolver/btConeTwistConstraint.h \
    BulletDynamics/ConstraintSolver/btHingeConstraint.h \
    BulletDynamics/ConstraintSolver/btHinge2Constraint.h \
    BulletDynamics/ConstraintSolver/btUniversalConstraint.h \
    BulletDynamics/ConstraintSolver/btSolverBody.h \
    BulletDynamics/Character/btCharacterControllerInterface.h \
    BulletDynamics/Character/btKinematicCharacterController.h \
    BulletCollision/CollisionShapes/btShapeHull.h \
    BulletCollision/CollisionShapes/btConcaveShape.h \
    BulletCollision/CollisionShapes/btCollisionMargin.h \
    BulletCollision/CollisionShapes/btCompoundShape.h \
    BulletCollision/CollisionShapes/btConvexHullShape.h \
    BulletCollision/CollisionShapes/btCylinderShape.h \
    BulletCollision/CollisionShapes/btTriangleMesh.h \
    BulletCollision/CollisionShapes/btHeightfieldTerrainShape.h \
    BulletCollision/CollisionShapes/btUniformScalingShape.h \
    BulletCollision/CollisionShapes/btConvexPointCloudShape.h \
    BulletCollision/CollisionShapes/btTetrahedronShape.h \
    BulletCollision/CollisionShapes/btCapsuleShape.h \
    BulletCollision/CollisionShapes/btSphereShape.h \
    BulletCollision/CollisionShapes/btMultiSphereShape.h \
    BulletCollision/CollisionShapes/btConvexInternalShape.h \
    BulletCollision/CollisionShapes/btScaledBvhTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btStridingMeshInterface.h \
    BulletCollision/CollisionShapes/btBvhTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btEmptyShape.h \
    BulletCollision/CollisionShapes/btOptimizedBvh.h \
    BulletCollision/CollisionShapes/btConvexTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btTriangleCallback.h \
    BulletCollision/CollisionShapes/btTriangleIndexVertexMaterialArray.h \
    BulletCollision/CollisionShapes/btTriangleIndexVertexArray.h \
    BulletCollision/CollisionShapes/btTriangleInfoMap.h \
    BulletCollision/CollisionShapes/btTriangleBuffer.h \
    BulletCollision/CollisionShapes/btConvexShape.h \
    BulletCollision/CollisionShapes/btConvex2dShape.h \
    BulletCollision/CollisionShapes/btStaticPlaneShape.h \
    BulletCollision/CollisionShapes/btConeShape.h \
    BulletCollision/CollisionShapes/btCollisionShape.h \
    BulletCollision/CollisionShapes/btTriangleShape.h \
    BulletCollision/CollisionShapes/btBoxShape.h \
    BulletCollision/CollisionShapes/btBox2dShape.h \
    BulletCollision/CollisionShapes/btMinkowskiSumShape.h \
    BulletCollision/CollisionShapes/btTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btMaterial.h \
    BulletCollision/CollisionShapes/btMultimaterialTriangleMeshShape.h \
    BulletCollision/CollisionShapes/btPolyhedralConvexShape.h \
    BulletCollision/NarrowPhaseCollision/btConvexCast.h \
    BulletCollision/NarrowPhaseCollision/btGjkEpa2.h \
    BulletCollision/NarrowPhaseCollision/btSimplexSolverInterface.h \
    BulletCollision/NarrowPhaseCollision/btContinuousConvexCollision.h \
    BulletCollision/NarrowPhaseCollision/btConvexPenetrationDepthSolver.h \
    BulletCollision/NarrowPhaseCollision/btGjkConvexCast.h \
    BulletCollision/NarrowPhaseCollision/btDiscreteCollisionDetectorInterface.h \
    BulletCollision/NarrowPhaseCollision/btVoronoiSimplexSolver.h \
    BulletCollision/NarrowPhaseCollision/btPersistentManifold.h \
    BulletCollision/NarrowPhaseCollision/btManifoldPoint.h \
    BulletCollision/NarrowPhaseCollision/btGjkPairDetector.h \
    BulletCollision/NarrowPhaseCollision/btGjkEpaPenetrationDepthSolver.h \
    BulletCollision/NarrowPhaseCollision/btRaycastCallback.h \
    BulletCollision/NarrowPhaseCollision/btSubSimplexConvexCast.h \
    BulletCollision/NarrowPhaseCollision/btPointCollector.h \
    BulletCollision/NarrowPhaseCollision/btMinkowskiPenetrationDepthSolver.h \
    BulletCollision/BroadphaseCollision/btDbvt.h \
    BulletCollision/BroadphaseCollision/btDispatcher.h \
    BulletCollision/BroadphaseCollision/btDbvtBroadphase.h \
    BulletCollision/BroadphaseCollision/btSimpleBroadphase.h \
    BulletCollision/BroadphaseCollision/btCollisionAlgorithm.h \
    BulletCollision/BroadphaseCollision/btOverlappingPairCallback.h \
    BulletCollision/BroadphaseCollision/btMultiSapBroadphase.h \
    BulletCollision/BroadphaseCollision/btQuantizedBvh.h \
    BulletCollision/BroadphaseCollision/btAxisSweep3.h \
    BulletCollision/BroadphaseCollision/btBroadphaseInterface.h \
    BulletCollision/BroadphaseCollision/btOverlappingPairCache.h \
    BulletCollision/BroadphaseCollision/btBroadphaseProxy.h \
    BulletCollision/CollisionDispatch/btUnionFind.h \
    BulletCollision/CollisionDispatch/btCollisionConfiguration.h \
    BulletCollision/CollisionDispatch/btCollisionDispatcher.h \
    BulletCollision/CollisionDispatch/SphereTriangleDetector.h \
    BulletCollision/CollisionDispatch/btEmptyCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btCollisionWorld.h \
    BulletCollision/CollisionDispatch/btCollisionCreateFunc.h \
    BulletCollision/CollisionDispatch/btSphereTriangleCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btConvexConvexAlgorithm.h \
    BulletCollision/CollisionDispatch/btConvex2dConvex2dAlgorithm.h \
    BulletCollision/CollisionDispatch/btCollisionObject.h \
    BulletCollision/CollisionDispatch/btConvexPlaneCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btBoxBoxCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btBox2dBox2dCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btDefaultCollisionConfiguration.h \
    BulletCollision/CollisionDispatch/btCompoundCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btSphereBoxCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btGhostObject.h \
    BulletCollision/CollisionDispatch/btSimulationIslandManager.h \
    BulletCollision/CollisionDispatch/btActivatingCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btConvexConcaveCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btBoxBoxDetector.h \
    BulletCollision/CollisionDispatch/btSphereSphereCollisionAlgorithm.h \
    BulletCollision/CollisionDispatch/btInternalEdgeUtility.h \
    BulletCollision/CollisionDispatch/btManifoldResult.h \
    BulletCollision/Gimpact/gim_memory.h \
    BulletCollision/Gimpact/gim_clip_polygon.h \
    BulletCollision/Gimpact/gim_bitset.h \
    BulletCollision/Gimpact/gim_linear_math.h \
    BulletCollision/Gimpact/btGeometryOperations.h \
    BulletCollision/Gimpact/btGImpactCollisionAlgorithm.h \
    BulletCollision/Gimpact/btGImpactBvh.h \
    BulletCollision/Gimpact/gim_box_set.h \
    BulletCollision/Gimpact/gim_array.h \
    BulletCollision/Gimpact/btGImpactShape.h \
    BulletCollision/Gimpact/btTriangleShapeEx.h \
    BulletCollision/Gimpact/btClipPolygon.h \
    BulletCollision/Gimpact/gim_box_collision.h \
    BulletCollision/Gimpact/gim_tri_collision.h \
    BulletCollision/Gimpact/gim_geometry.h \
    BulletCollision/Gimpact/gim_math.h \
    BulletCollision/Gimpact/btQuantization.h \
    BulletCollision/Gimpact/btGImpactQuantizedBvh.h \
    BulletCollision/Gimpact/gim_geom_types.h \
    BulletCollision/Gimpact/gim_basic_geometry_operations.h \
    BulletCollision/Gimpact/gim_contact.h \
    BulletCollision/Gimpact/gim_hash_table.h \
    BulletCollision/Gimpact/gim_radixsort.h \
    BulletCollision/Gimpact/btGImpactMassUtil.h \
    BulletCollision/Gimpact/btGenericPoolAllocator.h \
    BulletCollision/Gimpact/btBoxCollision.h \
    BulletCollision/Gimpact/btContactProcessing.h \
    LinearMath/btGeometryUtil.h \
    LinearMath/btConvexHull.h \
    LinearMath/btList.h \
    LinearMath/btMatrix3x3.h \
    LinearMath/btVector3.h \
    LinearMath/btPoolAllocator.h \
    LinearMath/btScalar.h \
    LinearMath/btDefaultMotionState.h \
    LinearMath/btTransform.h \
    LinearMath/btQuadWord.h \
    LinearMath/btAabbUtil2.h \
    LinearMath/btTransformUtil.h \
    LinearMath/btRandom.h \
    LinearMath/btQuaternion.h \
    LinearMath/btMinMax.h \
    LinearMath/btMotionState.h \
    LinearMath/btIDebugDraw.h \
    LinearMath/btAlignedAllocator.h \
    LinearMath/btStackAlloc.h \
    LinearMath/btAlignedObjectArray.h \
    LinearMath/btHashMap.h \
    LinearMath/btQuickprof.h\
    LinearMath/btSerializer.h \
    Bullet-C-Api.h \
    btBulletDynamicsCommon.h \
    btBulletCollisionCommon.h

