aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/ode-0.9/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/ode-0.9/Makefile.am')
-rw-r--r--libraries/ode-0.9/Makefile.am37
1 files changed, 37 insertions, 0 deletions
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 @@
1LIBTOOL_DEPS = @LIBTOOL_DEPS@
2libtool: $(LIBTOOL_DEPS)
3 $(SHELL) ./config.status --recheck
4
5if ENABLE_DEMOS
6SUBDIRS = include drawstuff ode tests
7else
8SUBDIRS = include ode tests
9endif
10
11bin_SCRIPTS = ode-config
12
13# Utility rule for making a release
14release: dist dist-bz2 dist-zip
15 @echo Created release packages for ${PACKAGE}-${VERSION}.
16
17# Rules for creating .tar.bz2 and .zip packages
18dist-bz2: ${PACKAGE}-${VERSION}.tar.gz
19 gzip -dc ${PACKAGE}-${VERSION}.tar.gz | bzip2 > ${PACKAGE}-${VERSION}.tar.bz2
20
21dist-zip: ${PACKAGE}-${VERSION}.tar.gz
22 tar -zxf ${PACKAGE}-${VERSION}.tar.gz && \
23 zip -r ${PACKAGE}-${VERSION}.zip ${PACKAGE}-${VERSION} && \
24 rm -rf ${PACKAGE}-${VERSION}
25
26if USE_SONAME
27install-exec-hook:
28 ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
29 $(libdir)/libode.so
30 ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
31 $(libdir)/@ODE_SONAME@
32 ln -s $(libdir)/@ODE_SONAME@.@ODE_REVISION@.@ODE_AGE@ \
33 $(libdir)/@ODE_SONAME@.@ODE_REVISION@
34 /sbin/ldconfig
35else
36install-exec-hook:
37endif