blob: 4b33d05c2eff54b179449b0bc54de74a5321baf3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
|