diff --git a/Extras/MayaPlugin/Makefile.mac b/Extras/MayaPlugin/Makefile.mac index 440be2b25..e5d1f0a55 100644 --- a/Extras/MayaPlugin/Makefile.mac +++ b/Extras/MayaPlugin/Makefile.mac @@ -26,9 +26,10 @@ CPPFLAGS = -DMAC_PLUGIN -DOSMac_MachO_ -DBits32_ -m32 -DUNIX -D_BOOL -DOSMac_ -D -Wno-deprecated -fno-gnu-keywords \ -g -LDFLAGS =-bundle -ldl -shared +#LDFLAGS =-bundle -ldl -shared +LDFLAGS = -ldl -shared -BULLET_INCLUDE=-I$(BULLET)/src +BULLET_INCLUDE=-I$(BULLET)/src -I. BULLET_LIB=-L$(BULLET)/out/macosxx86/optimize/libs -L$(BULLET)/src \ -lBulletColladaConverter -lcolladadom -llibxml -lGIMPACTUtils -lbulletdynamics \ -lbulletcollision -lbulletmath @@ -40,7 +41,11 @@ MAYA_LIB=-L/Applications/Autodesk/maya2008/Maya.app/Contents/MacOS -lOpenMaya -l SOURCES = pluginMain.cpp colladaExport.cpp rigidBodyNode.cpp rigidBodyArrayNode.cpp collisionShapeNode.cpp \ solver.cpp bt_solver.cpp dSolverNode.cpp dSolverCmd.cpp dRigidBodyCmd.cpp dRigidBodyArrayCmd.cpp \ - pdbIO.cpp drawUtils.cpp nailConstraintNode.cpp dNailConstraintCmd.cpp + pdbIO.cpp drawUtils.cpp constraint/dHingeConstraintCmd.cpp constraint/dSliderConstraintCmd.cpp \ + constraint/hingeConstraintNode.cpp constraint/sixdofConstraintNode.cpp constraint/dNailConstraintCmd.cpp \ + constraint/dsixdofConstraintCmd.cpp constraint/nailConstraintNode.cpp constraint/sliderConstraintNode.cpp + + HEADERS = box_shape.h bt_sphere_shape.h dSolverNode.h rigid_body_impl.h \ box_shape_impl.h collision_shape.h mathUtils.h rigidBodyNode.h \ @@ -51,7 +56,7 @@ HEADERS = box_shape.h bt_sphere_shape.h dSolverNode.h bt_plane_shape.h dRigidBodyArrayCmd.h plane_shape_impl.h \ bt_rigid_body.h dRigidBodyCmd.h rigidBodyArrayNode.h \ bt_solver.h dSolverCmd.h rigid_body.h pdbIO.h \ - shared_ptr.h drawUtils.h nailConstraintNode.h + shared_ptr.h drawUtils.h INCLUDE_FLAGS= $(GL_INCLUDE) $(BULLET_INCLUDE) $(MAYA_INCLUDE)