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
|
|
|
# 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
|
2021-02-17 22:52:36 +08:00
|
|
|
# distribution tree, or in https://www.hdfgroup.org/licenses.
|
2017-04-18 03:32:16 +08:00
|
|
|
# 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-C++ Makefile(.in)
|
2006-06-27 22:45:06 +08:00
|
|
|
#
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
include $(top_srcdir)/config/commence.am
|
|
|
|
|
|
|
|
# Include src, test, and c++/src directories
|
2014-04-01 01:07:05 +08:00
|
|
|
AM_CPPFLAGS+=-I$(top_srcdir)/src -I$(top_srcdir)/test -I$(top_srcdir)/c++/src
|
2005-02-01 11:17:02 +08:00
|
|
|
|
|
|
|
# These are our main targets. They should be listed in the order to be
|
|
|
|
# executed, generally most specific tests to least specific tests.
|
2010-02-28 12:09:19 +08:00
|
|
|
TEST_PROG=testhdf5
|
2005-02-01 11:17:02 +08:00
|
|
|
check_PROGRAMS=$(TEST_PROG)
|
|
|
|
|
|
|
|
# The tests depend on the hdf5 library, test library, and the c++ library
|
2008-01-30 22:07:18 +08:00
|
|
|
LDADD=$(LIBH5TEST) $(LIBH5CPP) $(LIBHDF5)
|
2005-02-01 11:17:02 +08:00
|
|
|
|
2016-01-15 23:53:33 +08:00
|
|
|
testhdf5_SOURCES=testhdf5.cpp dsets.cpp tattr.cpp tarray.cpp \
|
|
|
|
tcompound.cpp tdspl.cpp tfile.cpp tfilter.cpp th5s.cpp \
|
|
|
|
tlinks.cpp tobject.cpp trefer.cpp ttypes.cpp tvlstr.cpp \
|
2016-09-22 03:53:17 +08:00
|
|
|
titerate.cpp h5cpputil.cpp
|
2005-02-01 11:17:02 +08:00
|
|
|
|
2005-04-26 01:43:58 +08:00
|
|
|
# Tell conclude.am that these are C++ tests.
|
2008-05-19 13:06:51 +08:00
|
|
|
CXX_API=yes
|
2005-04-26 01:43:58 +08:00
|
|
|
|
2006-06-27 22:45:06 +08:00
|
|
|
# Some C++ compilers/linkers (PGI?) create a directory named "ii_files" that
|
2005-07-22 03:28:11 +08:00
|
|
|
# holds *.ii files, which are template entity instantiations.
|
|
|
|
# This entire directory should be cleaned.
|
2006-06-27 22:45:06 +08:00
|
|
|
mostlyclean-local:
|
2005-08-02 06:22:55 +08:00
|
|
|
@if test -d ii_files; then \
|
2005-07-22 03:28:11 +08:00
|
|
|
$(RM) -rf ii_files; \
|
|
|
|
fi
|
2013-11-03 09:21:23 +08:00
|
|
|
# Temporary files
|
|
|
|
CHECK_CLEANFILES+=tattr_multi.h5 tfattrs.h5 tattr_scalar.h5 tattr_compound.h5 \
|
|
|
|
tattr_dtype.h5 tattr_basic.h5
|
2005-07-22 03:28:11 +08:00
|
|
|
|
2005-02-01 11:17:02 +08:00
|
|
|
include $(top_srcdir)/config/conclude.am
|