2005-02-01 11:17:02 +08:00
|
|
|
#
|
2007-02-08 06:28:58 +08:00
|
|
|
# Copyright by The HDF Group.
|
2005-02-01 11:17:02 +08:00
|
|
|
# Copyright by the Board of Trustees of the University of Illinois.
|
|
|
|
# All rights reserved.
|
|
|
|
#
|
|
|
|
# This file is part of HDF5. The full HDF5 copyright notice, including
|
|
|
|
# terms governing use, modification, and redistribution, is contained in
|
2017-04-18 03:32:16 +08:00
|
|
|
# the COPYING file, which can be found at the root of the source code
|
|
|
|
# distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.
|
|
|
|
# If you do not have access to either file, you may request a copy from
|
|
|
|
# help@hdfgroup.org.
|
2005-02-01 11:17:02 +08:00
|
|
|
##
|
|
|
|
## Makefile.am
|
|
|
|
## Run automake to generate a Makefile.in from this file.
|
|
|
|
#
|
|
|
|
# HDF5 Library Makefile(.in)
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(top_srcdir)/config/commence.am
|
|
|
|
|
|
|
|
# Include files in /src directory
|
2014-04-01 01:07:05 +08:00
|
|
|
AM_CPPFLAGS+=-I$(top_srcdir)/src
|
2005-02-01 11:17:02 +08:00
|
|
|
|
[svn-r11411] Purpose:
Bug fix
Description:
Building with --disable-static seems to have been broken on several platforms.
Fixed this.
Configure will now disable shared libraries automatically when using pgf90
or when building on Cygwin.
Solution:
To avoid errors when using shared libraries with pgf90 (which I had not
realized were compiler-specific), I had manually set convenience libraries
to use the -static linking flag. Apparently, this is not necessary, and
caused these libraries to be created as empty archives when --disable-static
was used.
Also, some libraries were including other libraries, which was not
necessary.
I also fixed code in configure.in to correctly detect whether shared
or static libraries are enabled, and moved code that disables shared libraries
to before libtool is created (rather than editing libtool after the fact).
Despite repeated warnings that only one shared library can be linked at a
time, I have yet to have shared libraries break the linking of tests on
any system. We'll see if the Daily Tests turn up anything.
Platforms tested:
mir (fortran, C++), sleipnir (C++), modi4 (fortran, C++, parallel),
sol (fortran, C++), cygwin
2005-09-14 06:30:33 +08:00
|
|
|
# This is our main target, the h5tools library.
|
2005-02-01 11:17:02 +08:00
|
|
|
noinst_LTLIBRARIES=libh5tools.la
|
[svn-r11411] Purpose:
Bug fix
Description:
Building with --disable-static seems to have been broken on several platforms.
Fixed this.
Configure will now disable shared libraries automatically when using pgf90
or when building on Cygwin.
Solution:
To avoid errors when using shared libraries with pgf90 (which I had not
realized were compiler-specific), I had manually set convenience libraries
to use the -static linking flag. Apparently, this is not necessary, and
caused these libraries to be created as empty archives when --disable-static
was used.
Also, some libraries were including other libraries, which was not
necessary.
I also fixed code in configure.in to correctly detect whether shared
or static libraries are enabled, and moved code that disables shared libraries
to before libtool is created (rather than editing libtool after the fact).
Despite repeated warnings that only one shared library can be linked at a
time, I have yet to have shared libraries break the linking of tests on
any system. We'll see if the Daily Tests turn up anything.
Platforms tested:
mir (fortran, C++), sleipnir (C++), modi4 (fortran, C++, parallel),
sol (fortran, C++), cygwin
2005-09-14 06:30:33 +08:00
|
|
|
|
2012-02-18 05:41:58 +08:00
|
|
|
libh5tools_la_SOURCES=h5tools.c h5tools_dump.c h5tools_str.c h5tools_utils.c h5diff.c \
|
2005-02-01 11:17:02 +08:00
|
|
|
h5diff_array.c h5diff_attr.c h5diff_dset.c h5diff_util.c h5trav.c \
|
2015-01-02 00:24:55 +08:00
|
|
|
h5tools_filters.c h5tools_ref.c h5tools_type.c io_timer.c
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
# Test program. Link using libhdf5 and libh5tools
|
2009-09-15 03:52:42 +08:00
|
|
|
TEST_PROG=
|
2005-02-01 11:17:02 +08:00
|
|
|
check_PROGRAMS=$(TEST_PROG)
|
|
|
|
|
2005-02-04 05:59:40 +08:00
|
|
|
# Name libh5tools.la so that dependencies work out. Automake knows how
|
|
|
|
# to build 'libh5tools.la', but not '../../tools/lib/libh5tools.la'.
|
|
|
|
LDADD=libh5tools.la $(LIBHDF5)
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
include $(top_srcdir)/config/conclude.am
|
|
|
|
|