add dynamechs

A Multibody Dynamic Simulation Library
This commit is contained in:
Ying-Chieh Liao 2001-12-06 15:37:51 +00:00
parent 82c0c69040
commit a99f4bc31d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=51142
7 changed files with 115 additions and 0 deletions

View File

@ -33,6 +33,7 @@
SUBDIR += dore SUBDIR += dore
SUBDIR += drm-kmod SUBDIR += drm-kmod
SUBDIR += dumpmpeg SUBDIR += dumpmpeg
SUBDIR += dynamechs
SUBDIR += ecg2png SUBDIR += ecg2png
SUBDIR += electriceyes SUBDIR += electriceyes
SUBDIR += enfle SUBDIR += enfle

View File

@ -0,0 +1,33 @@
# ex:ts=8
# New ports collection makefile for: dynamechs
# Date created: Dec 6, 2001
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= dynamechs
PORTVERSION= 4.0p1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME= ${PORTNAME}_${PORTVERSION:S/p/pre/}
MAINTAINER= ports@FreeBSD.org
USE_MESA= yes
USE_GMAKE= yes
MAKE_ENV= OPENGLINCDIR="${X11BASE}/include" \
OPENGLLIBDIR="${X11BASE}/lib" \
CXXFLAGS="${CXXFLAGS} ${PTHREAD_CFLAGS}" \
LDFLAGS="${PTHREAD_LIBS}"
ALL_TARGET= freebsd
do-install:
.for dir in dm dmu dmGL
@${MKDIR} ${PREFIX}/include/${PORTNAME}/${dir}
${INSTALL_DATA} ${WRKSRC}/${dir}/*.h* ${PREFIX}/include/${PORTNAME}/${dir}
${INSTALL_DATA} ${WRKSRC}/lib/platform.freebsd/lib${dir}.so ${PREFIX}/lib
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (dynamechs_4.0pre1.tar.gz) = ca082694968d97b3e41c38fc69ee045b

View File

@ -0,0 +1,28 @@
--- /dev/null Thu Dec 6 21:05:22 2001
+++ make/make.platform.freebsd Thu Dec 6 21:09:26 2001
@@ -0,0 +1,25 @@
+CXXFLAGS += -D_BOOL -c -fPIC -D_POSIX_C_SOURCE=199506L -I/$(OPENGLINCDIR)
+# -pthreads
+DEPENDFLAGS := $(CXXFLAGS)
+
+LDFLAGS += -fPIC -L/$(OPENGLLIBDIR) -L/usr/X11R6/lib -L/usr/X11/lib -lX11 -lm -l$(MESA)GLU -l$(MESA)GL
+LDGLUT := -lglut
+
+CXX := g++
+LINKER := g++
+SHLINKER := g++
+
+SHLKFLAG := -shared -fPIC
+
+space :=
+OBJNAMEARG := -o $(space)
+EXENAMEARG := -o $(space)
+SHLNAMEARG := -o $(space)
+LINKDIRARG := -L
+LINKLIBARG := -l
+LINKLIBSFX :=
+
+LIBSFX := so
+LIBPFX := lib
+EXESFX :=
+OBJSFX := o

View File

@ -0,0 +1 @@
A Multibody Dynamic Simulation Library

View File

@ -0,0 +1,3 @@
DynaMechs (Dynamics of Mechanisms): A Multibody Dynamic Simulation Library
WWW: http://dynamechs.sourceforge.net/

View File

@ -0,0 +1,48 @@
include/dynamechs/dm/dm.h
include/dynamechs/dm/dmActuator.hpp
include/dynamechs/dm/dmArticulation.hpp
include/dynamechs/dm/dmClosedArticulation.hpp
include/dynamechs/dm/dmContactModel.hpp
include/dynamechs/dm/dmEnvironment.hpp
include/dynamechs/dm/dmForce.hpp
include/dynamechs/dm/dmIntegEuler.hpp
include/dynamechs/dm/dmIntegRK4.hpp
include/dynamechs/dm/dmIntegRK45.hpp
include/dynamechs/dm/dmIntegrator.hpp
include/dynamechs/dm/dmLink.hpp
include/dynamechs/dm/dmMDHLink.hpp
include/dynamechs/dm/dmMobileBaseLink.hpp
include/dynamechs/dm/dmObject.hpp
include/dynamechs/dm/dmPrismaticLink.hpp
include/dynamechs/dm/dmQuaternionLink.hpp
include/dynamechs/dm/dmRevDCMotor.hpp
include/dynamechs/dm/dmRevoluteLink.hpp
include/dynamechs/dm/dmRigidBody.hpp
include/dynamechs/dm/dmSecondaryForce.hpp
include/dynamechs/dm/dmSecondaryJoint.hpp
include/dynamechs/dm/dmSecondaryPrismaticJoint.hpp
include/dynamechs/dm/dmSecondaryRevoluteJoint.hpp
include/dynamechs/dm/dmSecondarySphericalJoint.hpp
include/dynamechs/dm/dmSphericalLink.hpp
include/dynamechs/dm/dmStaticRootLink.hpp
include/dynamechs/dm/dmSystem.hpp
include/dynamechs/dm/dmTime.h
include/dynamechs/dm/dmTreadmill.hpp
include/dynamechs/dm/dmZScrewTxLink.hpp
include/dynamechs/dmu/dmLoadFile.h
include/dynamechs/dmu/dmu.h
include/dynamechs/dmu/glLoadModels.h
include/dynamechs/dmGL/dmGL.h
include/dynamechs/dmGL/dmGLCamera.hpp
include/dynamechs/dmGL/dmGLFlyCamera.hpp
include/dynamechs/dmGL/dmGLMouse.hpp
include/dynamechs/dmGL/dmGLPolarCamera.hpp
include/dynamechs/dmGL/dmGLPolarCamera_yup.hpp
include/dynamechs/dmGL/dmGLPolarCamera_zup.hpp
@dirrm include/dynamechs/dm
@dirrm include/dynamechs/dmu
@dirrm include/dynamechs/dmGL
@dirrm include/dynamechs
lib/libdm.so
lib/libdmu.so
lib/libdmGL.so