diff options
author | James Laird <jlaird@hdfgroup.org> | 2005-02-01 03:17:02 (GMT) |
---|---|---|
committer | James Laird <jlaird@hdfgroup.org> | 2005-02-01 03:17:02 (GMT) |
commit | 26303241febadd20aea77fc8a1d48f05823170af (patch) | |
tree | 4ba1d92050fa6cc33feab6a38bc9778f71bbb146 /c++/src/Makefile.am | |
parent | 9f17319144fca94a852fd500487b0e4ae48e0997 (diff) | |
download | hdf5-26303241febadd20aea77fc8a1d48f05823170af.zip hdf5-26303241febadd20aea77fc8a1d48f05823170af.tar.gz hdf5-26303241febadd20aea77fc8a1d48f05823170af.tar.bz2 |
[svn-r9902] Purpose:
Configuration feature
Description:
HDF5 now uses automake to generate Makefiles
Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh
Platforms tested:
Many
Diffstat (limited to 'c++/src/Makefile.am')
-rw-r--r-- | c++/src/Makefile.am | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/c++/src/Makefile.am b/c++/src/Makefile.am new file mode 100644 index 0000000..24c618d --- /dev/null +++ b/c++/src/Makefile.am @@ -0,0 +1,56 @@ +# +# 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 +# the files COPYING and Copyright.html. COPYING can be found at the root +# of the source code distribution tree; Copyright.html can be found at the +# root level of an installed copy of the electronic HDF5 document set and +# is linked from the top-level documents page. It can also be found at +# http://hdf.ncsa.uiuc.edu/HDF5/doc/Copyright.html. If you do not have +# access to either file, you may request a copy from hdfhelp@ncsa.uiuc.edu. +## +## Makefile.am +## Run automake to generate a Makefile.in from this file. +# +# HDF5-C++ Makefile(.in) +# + +include $(top_srcdir)/config/commence.am + +# Include src directory +AM_CPPFLAGS=-I$(top_srcdir)/src + +# This is our main target +lib_LTLIBRARIES=libhdf5_cpp.la + +# Build the library statically because some compliers can only link one +# dynamic library, and that's the main hdf5 library (which is much larger +# than this one). +libhdf5_cpp_la_LDFLAGS=-static + +bin_SCRIPTS=h5c++ + +# Source files for the library +libhdf5_cpp_la_SOURCES=H5Exception.cpp H5IdComponent.cpp H5Library.cpp \ + H5Attribute.cpp H5Object.cpp H5PropList.cpp H5FaccProp.cpp \ + H5FcreatProp.cpp H5DcreatProp.cpp H5DxferProp.cpp H5DataType.cpp \ + H5DataSpace.cpp H5AbstractDs.cpp H5AtomType.cpp H5PredType.cpp \ + H5EnumType.cpp H5IntType.cpp H5FloatType.cpp H5StrType.cpp \ + H5ArrayType.cpp H5VarLenType.cpp H5CompType.cpp H5DataSet.cpp \ + H5CommonFG.cpp H5Group.cpp H5File.cpp + +# Public headers +include_HEADERS=H5Cpp.h H5AbstractDs.h H5AtomType.h H5Attribute.h H5Classes.h \ + H5CommonFG.h H5CompType.h H5DataSet.h H5DataSpace.h H5DataType.h \ + H5DcreatProp.h H5DxferProp.h H5EnumType.h H5Exception.h H5FaccProp.h \ + H5FcreatProp.h H5File.h H5FloatType.h H5Group.h H5IdComponent.h \ + H5Include.h H5IntType.h H5Library.h H5Object.h H5PredType.h \ + H5PropList.h H5StrType.h H5CppDoc.h H5ArrayType.h H5VarLenType.h + +# h5c++ and libhdf5.settings are generated during configure. Remove only when +# distclean. +DISTCLEANFILES=h5c++ libhdf5.settings + +include $(top_srcdir)/config/conclude.am |