diff --git a/Demos/CollisionDemo/ibmsdk/Makefile b/Demos/CollisionDemo/ibmsdk/Makefile new file mode 100755 index 000000000..7403160fe --- /dev/null +++ b/Demos/CollisionDemo/ibmsdk/Makefile @@ -0,0 +1,63 @@ +# --------------------------------------------------------------- +# PLEASE DO NOT MODIFY THIS SECTION +# This prolog section is automatically generated. +# +# (C) Copyright 2001,2006, +# International Business Machines Corporation, +# +# All Rights Reserved. +# --------------------------------------------------------------- +# -------------------------------------------------------------- +# PROLOG END TAG zYx + +######################################################################## +# Source Code +######################################################################## +VPATH = ../ +######################################################################## +# Target +######################################################################## +ROOT = ../../.. +HOSTINC = /usr/include +PROGRAM_ppu := CollisionDemo + +####################################################################### +# Objs +###################################################################### +OBJS = CollisionDemo.o + +######################################################################## +# Libraries, Include paths, Defines +######################################################################## +INCLUDE = \ + -I../ \ + -I$(ROOT)/src \ + -I$(ROOT)/Demos/OpenGL \ + -I$(HOSTINC) +SYS_LIBS := -lglut -lGLU -lGL -lm -lXext -lXmu -lX11 + +IMPORTS = $(ROOT)/lib/ibmsdk/bulletopenglsupport.a \ + $(ROOT)/lib/ibmsdk/bulletdynamics.a \ + $(ROOT)/lib/ibmsdk/bulletcollision.a \ + $(ROOT)/lib/ibmsdk/bulletmath.a + +####################################################################### +# Install files/dirs +####################################################################### +INSTALL_DIR = $(ROOT)/ibmsdk +INSTALL_FILES = $(PROGRAM_ppu) +######################################################################## +# make.footer +######################################################################## + +ifdef CELL_TOP + include $(CELL_TOP)/make.footer +else + include ../../../make.footer +endif + +$(PPMS): + cp textures/$@ . + +cleanlocal: + rm -f $(PPMS) diff --git a/Demos/OpenGL/ibmsdk/Makefile b/Demos/OpenGL/ibmsdk/Makefile new file mode 100644 index 000000000..a8b1fbe6f --- /dev/null +++ b/Demos/OpenGL/ibmsdk/Makefile @@ -0,0 +1,36 @@ +#### Source code Dirs +VPATH = ../ + +ROOT = ../../.. +HOST = /usr/include + +#### Library +LIBRARY_ppu = bulletopenglsupport.a + +#### Compiler flags +CPPFLAGS = \ +-I$(ROOT)/src/ \ +-I$(SDKINC) \ +-I$(HOST) + +#### Optimization level flags +#CC_OPT_LEVEL = $(CC_OPT_LEVEL_DEBUG) +CC_OPT_LEVEL = -O3 + +##### Objects to be archived in lib +OBJS = \ +BMF_Api.o \ +BMF_BitmapFont.o \ +BMF_font_helv10.o \ +DemoApplication.o \ +GLDebugDrawer.o \ +GL_ShapeDrawer.o \ +GL_Simplex1to4.o \ +GlutStuff.o \ +RenderTexture.o + +#### Install directories +INSTALL_DIR = $(ROOT)/lib/ibmsdk/ +INSTALL_FILES = $(LIBRARY) + +include $(TOP)/make.footer diff --git a/src/BulletCollision/ibmsdk/Makefile b/src/BulletCollision/ibmsdk/Makefile new file mode 100644 index 000000000..6f64f6cce --- /dev/null +++ b/src/BulletCollision/ibmsdk/Makefile @@ -0,0 +1,93 @@ +#### Source code Dirs +VPATH = \ +../BroadphaseCollision \ +../CollisionDispatch \ +../NarrowPhaseCollision \ +../CollisionShapes + +ROOT = ../../.. + +#### Library +LIBRARY_ppu = bulletcollision.a + +#### Compiler flags +CPPFLAGS = \ +-I../BroadphaseCollision \ +-I../CollisionDispath \ +-I../NarrowPhaseCollision \ +-I../CollisionShapes \ +-I$(ROOT)/src/ \ +-I$(SDKINC) + +#### Optimization level flags +#CC_OPT_LEVEL = $(CC_OPT_LEVEL_DEBUG) +CC_OPT_LEVEL = -O3 + +##### Objects to be archived in lib + +OBJS = \ +btAxisSweep3.o \ +btBroadphaseProxy.o \ +btCollisionAlgorithm.o \ +btDispatcher.o \ +btOverlappingPairCache.o \ +btSimpleBroadphase.o \ +btContinuousConvexCollision.o \ +btConvexCast.o \ +btGjkConvexCast.o \ +btGjkEpa.o \ +btGjkEpaPenetrationDepthSolver.o \ +btGjkPairDetector.o \ +btMinkowskiPenetrationDepthSolver.o \ +btPersistentManifold.o \ +btRaycastCallback.o \ +btSubSimplexConvexCast.o \ +btVoronoiSimplexSolver.o \ +btCollisionDispatcher.o \ +btCollisionObject.o \ +btCollisionWorld.o \ +btCompoundCollisionAlgorithm.o \ +btConvexConcaveCollisionAlgorithm.o \ +btConvexConvexAlgorithm.o \ +btEmptyCollisionAlgorithm.o \ +btManifoldResult.o \ +btSimulationIslandManager.o \ +btSphereBoxCollisionAlgorithm.o \ +btSphereSphereCollisionAlgorithm.o \ +btSphereTriangleCollisionAlgorithm.o \ +btUnionFind.o \ +SphereTriangleDetector.o \ +btBoxShape.o \ +btBvhTriangleMeshShape.o \ +btCapsuleShape.o \ +btCollisionShape.o \ +btCompoundShape.o \ +btConcaveShape.o \ +btConeShape.o \ +btConvexHullShape.o \ +btConvexShape.o \ +btConvexInternalShape.o \ +btConvexTriangleMeshShape.o \ +btCylinderShape.o \ +btEmptyShape.o \ +btHeightfieldTerrainShape.o \ +btMinkowskiSumShape.o \ +btMultiSphereShape.o \ +btOptimizedBvh.o \ +btPolyhedralConvexShape.o \ +btSphereShape.o \ +btStaticPlaneShape.o \ +btStridingMeshInterface.o \ +btTetrahedronShape.o \ +btTriangleBuffer.o \ +btTriangleCallback.o \ +btTriangleIndexVertexArray.o \ +btTriangleMesh.o \ +btTriangleMeshShape.o \ +btUniformScalingShape.o + +#### Install directories +INSTALL_DIR = $(ROOT)/lib/ibmsdk +INSTALL_FILES = $(LIBRARY_ppu) + +include $(TOP)/make.footer diff --git a/src/BulletDynamics/ibmsdk/Makefile b/src/BulletDynamics/ibmsdk/Makefile new file mode 100644 index 000000000..e9a84699b --- /dev/null +++ b/src/BulletDynamics/ibmsdk/Makefile @@ -0,0 +1,43 @@ +#### Source code Dirs +VPATH = \ +../ConstraintSolver \ +../Dynamics \ +../Vehicle + +ROOT = ../../.. + +#### Library +LIBRARY_ppu = bulletdynamics.a + +#### Compiler flags +CPPFLAGS = \ +-I../ConstraintSolver \ +-I../Dynamics \ +-I../Vehicle \ +-I$(ROOT)/src \ +-I$(SDKINC) + +#### Optimization level flags +#CC_OPT_LEVEL = $(CC_OPT_LEVEL_DEBUG) +CC_OPT_LEVEL = -O3 + +##### Objects to be archived in lib + +OBJS = \ +btContactConstraint.o \ +btGeneric6DofConstraint.o \ +btHingeConstraint.o \ +btPoint2PointConstraint.o \ +btSequentialImpulseConstraintSolver.o \ +btSolve2LinearConstraint.o \ +btTypedConstraint.o \ +btDiscreteDynamicsWorld.o \ +btRigidBody.o \ +btSimpleDynamicsWorld.o \ +btRaycastVehicle.o \ +btWheelInfo.o +#### Install directories +INSTALL_DIR = $(ROOT)/lib/ibmsdk +INSTALL_FILES = $(LIBRARY_ppu) + +include $(TOP)/make.footer diff --git a/src/LinearMath/ibmsdk/Makefile b/src/LinearMath/ibmsdk/Makefile new file mode 100644 index 000000000..4f330bd67 --- /dev/null +++ b/src/LinearMath/ibmsdk/Makefile @@ -0,0 +1,29 @@ +#### Source code Dirs +VPATH = ../ + +ROOT = ../../.. + +#### Library +LIBRARY_ppu = bulletmath.a + +#### Compiler flags +CPPFLAGS = \ +-I$(ROOT)/src \ +-I$(SDKINC) + +#### Optimization level flags +#CC_OPT_LEVEL = $(CC_OPT_LEVEL_DEBUG) +CC_OPT_LEVEL = -O3 + +##### Objects to be archived in lib + +OBJS = \ +btAlignedAllocator.o \ +btGeometryUtil.o \ +btQuickprof.o + +#### Install directories +INSTALL_DIR = $(ROOT)/lib/ibmsdk +INSTALL_FILES = $(LIBRARY_ppu) + +include $(TOP)/make.footer diff --git a/src/ibmsdk/Makefile b/src/ibmsdk/Makefile new file mode 100644 index 000000000..3f7d55ca2 --- /dev/null +++ b/src/ibmsdk/Makefile @@ -0,0 +1,8 @@ +#### Visit Bullet library ibmsdk dirs and build code +DIRS := \ +../BulletCollision/ibmsdk \ +../BulletDynamics/ibmsdk \ +../LinearMath/ibmsdk + + +include $(TOP)/make.footer