From d48ea5bb797037069d641da41da0f195f0124491 Mon Sep 17 00:00:00 2001 From: dan miller Date: Fri, 19 Oct 2007 05:20:48 +0000 Subject: one more for the gipper --- libraries/ode-0.9/Makefile.am | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 libraries/ode-0.9/Makefile.am (limited to 'libraries/ode-0.9/Makefile.am') diff --git a/libraries/ode-0.9/Makefile.am b/libraries/ode-0.9/Makefile.am new file mode 100644 index 0000000..4b33d05 --- /dev/null +++ b/libraries/ode-0.9/Makefile.am @@ -0,0 +1,37 @@ +LIBTOOL_DEPS = @LIBTOOL_DEPS@ +libtool: $(LIBTOOL_DEPS) + $(SHELL) ./config.status --recheck + +if ENABLE_DEMOS +SUBDIRS = include drawstuff ode tests +else +SUBDIRS = include ode tests +endif + +bin_SCRIPTS = ode-config + +# Utility rule for making a release +release: dist dist-bz2 dist-zip + @echo Created release packages for ${PACKAGE}-${VERSION}. + +# Rules for creating .tar.bz2 and .zip packages +dist-bz2: ${PACKAGE}-${VERSION}.tar.gz + gzip -dc ${PACKAGE}-${VERSION}.tar.gz | bzip2 > ${PACKAGE}-${VERSION}.tar.bz2 + +dist-zip: ${PACKAGE}-${VERSION}.tar.gz + tar -zxf ${PACKAGE}-${VERSION}.tar.gz && \ + zip -r ${PACKAGE}-${VERSION}.zip ${PACKAGE}-${VERSION} && \ + rm -rf ${PACKAGE}-${VERSION} + +if USE_SONAME +install-exec-hook: + ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ + $(libdir)/libode.so + ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ + $(libdir)/@ODE_SONAME@ + ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \ + $(libdir)/@ODE_SONAME@.@ODE_REVISION@ + /sbin/ldconfig +else +install-exec-hook: +endif -- cgit v1.1