diff options
author | James Laird <jlaird@hdfgroup.org> | 2006-06-21 23:15:08 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2006-06-21 23:15:08 (GMT) |
commit | 64b5d95251ccf3f783eff886ad4e825f0a5d9fae (patch) | |
tree | 10d23dad8364d87865c5bbafc4647bbb75369b19 /config/examples.am | |
parent | b4e2d8d79a6a33ec43f2e4f5acfaeff03adbfc8a (diff) | |
download | hdf5-64b5d95251ccf3f783eff886ad4e825f0a5d9fae.zip hdf5-64b5d95251ccf3f783eff886ad4e825f0a5d9fae.tar.gz hdf5-64b5d95251ccf3f783eff886ad4e825f0a5d9fae.tar.bz2 |
[svn-r12431] Purpose:
Configuration feature
Description:
'make install' now tests both static and shared libraries if both are installed.
Solution:
Previously, shared libraries were only tested when static libraries were not installed.
Also cleaned up line in commence.am that was including HL library in all Makefiles.
Platforms tested:
mir (Makefile change only)
Diffstat (limited to 'config/examples.am')
-rw-r--r-- | config/examples.am | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/config/examples.am b/config/examples.am index b3651ef..5eab7c1 100644 --- a/config/examples.am +++ b/config/examples.am @@ -70,5 +70,15 @@ uninstall-examples: fi installcheck-local: - @$(MAKE) $(AM_MAKEFLAGS) check + @if test "$(STATIC_SHARED)" = "static, shared"; then \ + H5CCFLAGS="-shlib" $(MAKE) $(AM_MAKEFLAGS) check; \ + $(MAKE) $(AM_MAKEFLAGS) clean; \ + H5CCFLAGS="" $(MAKE) $(AM_MAKEFLAGS) check; \ + elif test "$(STATIC_SHARED)" = "shared"; then \ + H5CCFLAGS="-shlib" $(MAKE) $(AM_MAKEFLAGS) check; \ + else \ + $(MAKE) $(AM_MAKEFLAGS) check; \ + fi + + |