diff options
Diffstat (limited to 'libraries/ode-0.9/Makefile.am')
-rw-r--r-- | libraries/ode-0.9/Makefile.am | 37 |
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 @@ | |||
1 | LIBTOOL_DEPS = @LIBTOOL_DEPS@ | ||
2 | libtool: $(LIBTOOL_DEPS) | ||
3 | $(SHELL) ./config.status --recheck | ||
4 | |||
5 | if ENABLE_DEMOS | ||
6 | SUBDIRS = include drawstuff ode tests | ||
7 | else | ||
8 | SUBDIRS = include ode tests | ||
9 | endif | ||
10 | |||
11 | bin_SCRIPTS = ode-config | ||
12 | |||
13 | # Utility rule for making a release | ||
14 | release: dist dist-bz2 dist-zip | ||
15 | @echo Created release packages for ${PACKAGE}-${VERSION}. | ||
16 | |||
17 | # Rules for creating .tar.bz2 and .zip packages | ||
18 | dist-bz2: ${PACKAGE}-${VERSION}.tar.gz | ||
19 | gzip -dc ${PACKAGE}-${VERSION}.tar.gz | bzip2 > ${PACKAGE}-${VERSION}.tar.bz2 | ||
20 | |||
21 | dist-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 | |||
26 | if USE_SONAME | ||
27 | install-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 | ||
35 | else | ||
36 | install-exec-hook: | ||
37 | endif | ||