added Makefiles for IBM Cell SDK 2.1, thanks to Bruce D'Amora, IBM Watson
This commit is contained in:
63
Demos/CollisionDemo/ibmsdk/Makefile
Executable file
63
Demos/CollisionDemo/ibmsdk/Makefile
Executable file
@@ -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)
|
||||
36
Demos/OpenGL/ibmsdk/Makefile
Normal file
36
Demos/OpenGL/ibmsdk/Makefile
Normal file
@@ -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
|
||||
93
src/BulletCollision/ibmsdk/Makefile
Normal file
93
src/BulletCollision/ibmsdk/Makefile
Normal file
@@ -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
|
||||
43
src/BulletDynamics/ibmsdk/Makefile
Normal file
43
src/BulletDynamics/ibmsdk/Makefile
Normal file
@@ -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
|
||||
29
src/LinearMath/ibmsdk/Makefile
Normal file
29
src/LinearMath/ibmsdk/Makefile
Normal file
@@ -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
|
||||
8
src/ibmsdk/Makefile
Normal file
8
src/ibmsdk/Makefile
Normal file
@@ -0,0 +1,8 @@
|
||||
#### Visit Bullet library ibmsdk dirs and build code
|
||||
DIRS := \
|
||||
../BulletCollision/ibmsdk \
|
||||
../BulletDynamics/ibmsdk \
|
||||
../LinearMath/ibmsdk
|
||||
|
||||
|
||||
include $(TOP)/make.footer
|
||||
Reference in New Issue
Block a user