|
|
# Makefile.in generated by automake 1.16.5 from Makefile.am.
|
|
|
# nc_test/Makefile. Generated from Makefile.in by configure.
|
|
|
|
|
|
# Copyright (C) 1994-2021 Free Software Foundation, Inc.
|
|
|
|
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
|
# PARTICULAR PURPOSE.
|
|
|
|
|
|
|
|
|
|
|
|
# Copyright 2018, see the COPYRIGHT file for more information.
|
|
|
|
|
|
# This file builds and runs the nc_test program, which tests the
|
|
|
# netCDF-3 API for all formats.
|
|
|
|
|
|
# Ed Hartnett, Dennis Heimbigner, Ward Fisher
|
|
|
|
|
|
# Un comment to use a more verbose test driver
|
|
|
#SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
|
|
|
#sh_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
|
|
|
#LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver-verbose
|
|
|
#TESTS_ENVIRONMENT = export SETX=1;
|
|
|
|
|
|
# This is part of the netCDF package.
|
|
|
# Copyright 2018 University Corporation for Atmospheric Research/Unidata
|
|
|
# See COPYRIGHT file for conditions of use.
|
|
|
#
|
|
|
# Assemble the CPPFLAGS and LDFLAGS that point to all the needed
|
|
|
# libraries for netCDF-4.
|
|
|
#
|
|
|
|
|
|
am__is_gnu_make = { \
|
|
|
if test -z '$(MAKELEVEL)'; then \
|
|
|
false; \
|
|
|
elif test -n '$(MAKE_HOST)'; then \
|
|
|
true; \
|
|
|
elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
|
|
|
true; \
|
|
|
else \
|
|
|
false; \
|
|
|
fi; \
|
|
|
}
|
|
|
am__make_running_with_option = \
|
|
|
case $${target_option-} in \
|
|
|
?) ;; \
|
|
|
*) echo "am__make_running_with_option: internal error: invalid" \
|
|
|
"target option '$${target_option-}' specified" >&2; \
|
|
|
exit 1;; \
|
|
|
esac; \
|
|
|
has_opt=no; \
|
|
|
sane_makeflags=$$MAKEFLAGS; \
|
|
|
if $(am__is_gnu_make); then \
|
|
|
sane_makeflags=$$MFLAGS; \
|
|
|
else \
|
|
|
case $$MAKEFLAGS in \
|
|
|
*\\[\ \ ]*) \
|
|
|
bs=\\; \
|
|
|
sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
|
|
|
| sed "s/$$bs$$bs[$$bs $$bs ]*//g"`;; \
|
|
|
esac; \
|
|
|
fi; \
|
|
|
skip_next=no; \
|
|
|
strip_trailopt () \
|
|
|
{ \
|
|
|
flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
|
|
|
}; \
|
|
|
for flg in $$sane_makeflags; do \
|
|
|
test $$skip_next = yes && { skip_next=no; continue; }; \
|
|
|
case $$flg in \
|
|
|
*=*|--*) continue;; \
|
|
|
-*I) strip_trailopt 'I'; skip_next=yes;; \
|
|
|
-*I?*) strip_trailopt 'I';; \
|
|
|
-*O) strip_trailopt 'O'; skip_next=yes;; \
|
|
|
-*O?*) strip_trailopt 'O';; \
|
|
|
-*l) strip_trailopt 'l'; skip_next=yes;; \
|
|
|
-*l?*) strip_trailopt 'l';; \
|
|
|
-[dEDm]) skip_next=yes;; \
|
|
|
-[JT]) skip_next=yes;; \
|
|
|
esac; \
|
|
|
case $$flg in \
|
|
|
*$$target_option*) has_opt=yes; break;; \
|
|
|
esac; \
|
|
|
done; \
|
|
|
test $$has_opt = yes
|
|
|
am__make_dryrun = (target_option=n; $(am__make_running_with_option))
|
|
|
am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
|
|
|
pkgdatadir = $(datadir)/netcdf-c
|
|
|
pkgincludedir = $(includedir)/netcdf-c
|
|
|
pkglibdir = $(libdir)/netcdf-c
|
|
|
pkglibexecdir = $(libexecdir)/netcdf-c
|
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
|
|
install_sh_PROGRAM = $(install_sh) -c
|
|
|
install_sh_SCRIPT = $(install_sh) -c
|
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
|
transform = $(program_transform_name)
|
|
|
NORMAL_INSTALL = :
|
|
|
PRE_INSTALL = :
|
|
|
POST_INSTALL = :
|
|
|
NORMAL_UNINSTALL = :
|
|
|
PRE_UNINSTALL = :
|
|
|
POST_UNINSTALL = :
|
|
|
build_triplet = x86_64-pc-linux-gnu
|
|
|
host_triplet = x86_64-pc-linux-gnu
|
|
|
target_triplet = x86_64-pc-linux-gnu
|
|
|
am__append_1 = -I${top_srcdir}/oc2
|
|
|
am__append_2 = -I${top_srcdir}/libnczarr
|
|
|
#am__append_3 = -lstdc++
|
|
|
|
|
|
# => tinyxml2
|
|
|
#am__append_4 = -lstdc++
|
|
|
check_PROGRAMS = t_nc$(EXEEXT) tst_atts3$(EXEEXT) tst_nofill$(EXEEXT) \
|
|
|
nc_test$(EXEEXT) tst_small$(EXEEXT) $(am__EXEEXT_1) \
|
|
|
$(am__EXEEXT_2) $(am__EXEEXT_7) tst_diskless$(EXEEXT) \
|
|
|
tst_diskless3$(EXEEXT) tst_diskless4$(EXEEXT) \
|
|
|
tst_diskless5$(EXEEXT) tst_inmemory$(EXEEXT) \
|
|
|
tst_open_mem$(EXEEXT) $(am__EXEEXT_8) $(am__EXEEXT_9) \
|
|
|
$(am__EXEEXT_10)
|
|
|
|
|
|
# These tests are only run if pnetcdf is enabled.
|
|
|
#am__append_5 = tst_parallel2 tst_pnetcdf tst_addvar \
|
|
|
#tst_formatx_pnetcdf tst_default_format_pnetcdf
|
|
|
|
|
|
#am__append_6 = tst_cdf5format
|
|
|
|
|
|
# If the user asked for large file tests, then add them.
|
|
|
#am__append_7 = quick_large_files tst_big_var6 tst_big_var2 \
|
|
|
#tst_big_rvar tst_big_var tst_large large_files
|
|
|
|
|
|
#am__append_8 = testnc3perf
|
|
|
am__append_9 = tst_diskless6
|
|
|
am__append_10 = tst_diskless2
|
|
|
TESTS = $(am__EXEEXT_7) $(am__append_12) $(am__append_13) \
|
|
|
$(am__append_14) $(am__append_15) $(am__append_16) \
|
|
|
$(am__EXEEXT_11) $(am__append_18)
|
|
|
#am__append_11 = tst_byterange
|
|
|
#am__append_12 = test_byterange.sh
|
|
|
am__append_13 = run_diskless.sh run_diskless5.sh run_inmemory.sh
|
|
|
#am__append_14 = run_diskless2.sh
|
|
|
#am__append_15 = run_mmap.sh
|
|
|
|
|
|
# If pnetcdf is enabled, these tests are run by a test
|
|
|
# script. Otherwise, the are run by automake in the usual way.
|
|
|
#am__append_16 = run_pnetcdf_tests.sh
|
|
|
am__append_17 = t_nc tst_atts3 tst_nofill nc_test tst_small
|
|
|
am__append_18 = run_cdf5.sh
|
|
|
am__append_19 = tst_open_cdf5
|
|
|
#am__append_20 = tst_large_cdf5 tst_cdf5_begin
|
|
|
subdir = nc_test
|
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
|
am__aclocal_m4_deps = $(top_srcdir)/m4/libtool.m4 \
|
|
|
$(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
|
|
|
$(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
|
|
|
$(top_srcdir)/acinclude.m4 $(top_srcdir)/configure.ac
|
|
|
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
|
|
$(ACLOCAL_M4)
|
|
|
DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
|
|
|
mkinstalldirs = $(install_sh) -d
|
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
|
|
CONFIG_CLEAN_FILES = run_pnetcdf_tests.sh
|
|
|
CONFIG_CLEAN_VPATH_FILES =
|
|
|
#am__EXEEXT_1 = tst_parallel2$(EXEEXT) \
|
|
|
# tst_pnetcdf$(EXEEXT) tst_addvar$(EXEEXT) \
|
|
|
# tst_formatx_pnetcdf$(EXEEXT) \
|
|
|
# tst_default_format_pnetcdf$(EXEEXT)
|
|
|
#am__EXEEXT_2 = \
|
|
|
# tst_cdf5format$(EXEEXT)
|
|
|
#am__EXEEXT_3 = quick_large_files$(EXEEXT) \
|
|
|
# tst_big_var6$(EXEEXT) \
|
|
|
# tst_big_var2$(EXEEXT) \
|
|
|
# tst_big_rvar$(EXEEXT) \
|
|
|
# tst_big_var$(EXEEXT) tst_large$(EXEEXT) \
|
|
|
# large_files$(EXEEXT)
|
|
|
#am__EXEEXT_4 = testnc3perf$(EXEEXT)
|
|
|
am__EXEEXT_5 = tst_diskless6$(EXEEXT)
|
|
|
#am__EXEEXT_6 = tst_large_cdf5$(EXEEXT) \
|
|
|
# tst_cdf5_begin$(EXEEXT)
|
|
|
am__EXEEXT_7 = tst_names$(EXEEXT) tst_nofill2$(EXEEXT) \
|
|
|
tst_nofill3$(EXEEXT) tst_meta$(EXEEXT) tst_inq_type$(EXEEXT) \
|
|
|
tst_utf8_validate$(EXEEXT) tst_utf8_phrases$(EXEEXT) \
|
|
|
tst_global_fillval$(EXEEXT) tst_max_var_dims$(EXEEXT) \
|
|
|
tst_formats$(EXEEXT) tst_def_var_fill$(EXEEXT) \
|
|
|
tst_err_enddef$(EXEEXT) tst_default_format$(EXEEXT) \
|
|
|
$(am__EXEEXT_3) $(am__EXEEXT_4) $(am__EXEEXT_5) \
|
|
|
$(am__EXEEXT_6)
|
|
|
am__EXEEXT_8 = tst_diskless2$(EXEEXT)
|
|
|
#am__EXEEXT_9 = tst_byterange$(EXEEXT)
|
|
|
am__EXEEXT_10 = tst_open_cdf5$(EXEEXT)
|
|
|
large_files_SOURCES = large_files.c
|
|
|
large_files_OBJECTS = large_files.$(OBJEXT)
|
|
|
large_files_LDADD = $(LDADD)
|
|
|
large_files_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
AM_V_lt = $(am__v_lt_$(V))
|
|
|
am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY))
|
|
|
am__v_lt_0 = --silent
|
|
|
am__v_lt_1 =
|
|
|
am_nc_test_OBJECTS = nc_test.$(OBJEXT) error.$(OBJEXT) \
|
|
|
test_get.$(OBJEXT) test_put.$(OBJEXT) test_read.$(OBJEXT) \
|
|
|
test_write.$(OBJEXT) util.$(OBJEXT)
|
|
|
nc_test_OBJECTS = $(am_nc_test_OBJECTS)
|
|
|
nc_test_LDADD = $(LDADD)
|
|
|
nc_test_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
quick_large_files_SOURCES = quick_large_files.c
|
|
|
quick_large_files_OBJECTS = quick_large_files.$(OBJEXT)
|
|
|
quick_large_files_LDADD = $(LDADD)
|
|
|
quick_large_files_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
t_nc_SOURCES = t_nc.c
|
|
|
t_nc_OBJECTS = t_nc.$(OBJEXT)
|
|
|
t_nc_LDADD = $(LDADD)
|
|
|
t_nc_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
testnc3perf_SOURCES = testnc3perf.c
|
|
|
testnc3perf_OBJECTS = testnc3perf.$(OBJEXT)
|
|
|
testnc3perf_LDADD = $(LDADD)
|
|
|
testnc3perf_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_addvar_SOURCES = tst_addvar.c
|
|
|
tst_addvar_OBJECTS = tst_addvar.$(OBJEXT)
|
|
|
tst_addvar_LDADD = $(LDADD)
|
|
|
tst_addvar_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_atts3_SOURCES = tst_atts3.c
|
|
|
tst_atts3_OBJECTS = tst_atts3.$(OBJEXT)
|
|
|
tst_atts3_LDADD = $(LDADD)
|
|
|
tst_atts3_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_big_rvar_SOURCES = tst_big_rvar.c
|
|
|
tst_big_rvar_OBJECTS = tst_big_rvar.$(OBJEXT)
|
|
|
tst_big_rvar_LDADD = $(LDADD)
|
|
|
tst_big_rvar_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_big_var_SOURCES = tst_big_var.c
|
|
|
tst_big_var_OBJECTS = tst_big_var.$(OBJEXT)
|
|
|
tst_big_var_LDADD = $(LDADD)
|
|
|
tst_big_var_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_big_var2_SOURCES = tst_big_var2.c
|
|
|
tst_big_var2_OBJECTS = tst_big_var2.$(OBJEXT)
|
|
|
tst_big_var2_LDADD = $(LDADD)
|
|
|
tst_big_var2_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_big_var6_SOURCES = tst_big_var6.c
|
|
|
tst_big_var6_OBJECTS = tst_big_var6.$(OBJEXT)
|
|
|
tst_big_var6_LDADD = $(LDADD)
|
|
|
tst_big_var6_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
am__tst_byterange_SOURCES_DIST = tst_byterange.c
|
|
|
#am_tst_byterange_OBJECTS = tst_byterange.$(OBJEXT)
|
|
|
tst_byterange_OBJECTS = $(am_tst_byterange_OBJECTS)
|
|
|
tst_byterange_LDADD = $(LDADD)
|
|
|
tst_byterange_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_cdf5_begin_SOURCES = tst_cdf5_begin.c
|
|
|
tst_cdf5_begin_OBJECTS = tst_cdf5_begin.$(OBJEXT)
|
|
|
tst_cdf5_begin_LDADD = $(LDADD)
|
|
|
tst_cdf5_begin_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_cdf5format_SOURCES = tst_cdf5format.c
|
|
|
tst_cdf5format_OBJECTS = tst_cdf5format.$(OBJEXT)
|
|
|
tst_cdf5format_LDADD = $(LDADD)
|
|
|
tst_cdf5format_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_def_var_fill_SOURCES = tst_def_var_fill.c
|
|
|
tst_def_var_fill_OBJECTS = tst_def_var_fill.$(OBJEXT)
|
|
|
tst_def_var_fill_LDADD = $(LDADD)
|
|
|
tst_def_var_fill_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_default_format_SOURCES = tst_default_format.c
|
|
|
tst_default_format_OBJECTS = tst_default_format.$(OBJEXT)
|
|
|
tst_default_format_LDADD = $(LDADD)
|
|
|
tst_default_format_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_default_format_pnetcdf_SOURCES = tst_default_format_pnetcdf.c
|
|
|
tst_default_format_pnetcdf_OBJECTS = \
|
|
|
tst_default_format_pnetcdf.$(OBJEXT)
|
|
|
tst_default_format_pnetcdf_LDADD = $(LDADD)
|
|
|
tst_default_format_pnetcdf_DEPENDENCIES = \
|
|
|
${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_diskless_SOURCES = tst_diskless.c
|
|
|
tst_diskless_OBJECTS = tst_diskless.$(OBJEXT)
|
|
|
tst_diskless_LDADD = $(LDADD)
|
|
|
tst_diskless_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_diskless2_SOURCES = tst_diskless2.c
|
|
|
tst_diskless2_OBJECTS = tst_diskless2.$(OBJEXT)
|
|
|
tst_diskless2_LDADD = $(LDADD)
|
|
|
tst_diskless2_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_diskless3_SOURCES = tst_diskless3.c
|
|
|
tst_diskless3_OBJECTS = tst_diskless3.$(OBJEXT)
|
|
|
tst_diskless3_LDADD = $(LDADD)
|
|
|
tst_diskless3_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_diskless4_SOURCES = tst_diskless4.c
|
|
|
tst_diskless4_OBJECTS = tst_diskless4.$(OBJEXT)
|
|
|
tst_diskless4_LDADD = $(LDADD)
|
|
|
tst_diskless4_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_diskless5_SOURCES = tst_diskless5.c
|
|
|
tst_diskless5_OBJECTS = tst_diskless5.$(OBJEXT)
|
|
|
tst_diskless5_LDADD = $(LDADD)
|
|
|
tst_diskless5_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_diskless6_SOURCES = tst_diskless6.c
|
|
|
tst_diskless6_OBJECTS = tst_diskless6.$(OBJEXT)
|
|
|
tst_diskless6_LDADD = $(LDADD)
|
|
|
tst_diskless6_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_err_enddef_SOURCES = tst_err_enddef.c
|
|
|
tst_err_enddef_OBJECTS = tst_err_enddef.$(OBJEXT)
|
|
|
tst_err_enddef_LDADD = $(LDADD)
|
|
|
tst_err_enddef_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_formats_SOURCES = tst_formats.c
|
|
|
tst_formats_OBJECTS = tst_formats.$(OBJEXT)
|
|
|
tst_formats_LDADD = $(LDADD)
|
|
|
tst_formats_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_formatx_pnetcdf_SOURCES = tst_formatx_pnetcdf.c
|
|
|
tst_formatx_pnetcdf_OBJECTS = tst_formatx_pnetcdf.$(OBJEXT)
|
|
|
tst_formatx_pnetcdf_LDADD = $(LDADD)
|
|
|
tst_formatx_pnetcdf_DEPENDENCIES = \
|
|
|
${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_global_fillval_SOURCES = tst_global_fillval.c
|
|
|
tst_global_fillval_OBJECTS = tst_global_fillval.$(OBJEXT)
|
|
|
tst_global_fillval_LDADD = $(LDADD)
|
|
|
tst_global_fillval_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_inmemory_SOURCES = tst_inmemory.c
|
|
|
tst_inmemory_OBJECTS = tst_inmemory.$(OBJEXT)
|
|
|
tst_inmemory_LDADD = $(LDADD)
|
|
|
tst_inmemory_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_inq_type_SOURCES = tst_inq_type.c
|
|
|
tst_inq_type_OBJECTS = tst_inq_type.$(OBJEXT)
|
|
|
tst_inq_type_LDADD = $(LDADD)
|
|
|
tst_inq_type_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_large_SOURCES = tst_large.c
|
|
|
tst_large_OBJECTS = tst_large.$(OBJEXT)
|
|
|
tst_large_LDADD = $(LDADD)
|
|
|
tst_large_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_large_cdf5_SOURCES = tst_large_cdf5.c
|
|
|
tst_large_cdf5_OBJECTS = tst_large_cdf5.$(OBJEXT)
|
|
|
tst_large_cdf5_LDADD = $(LDADD)
|
|
|
tst_large_cdf5_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_max_var_dims_SOURCES = tst_max_var_dims.c
|
|
|
tst_max_var_dims_OBJECTS = tst_max_var_dims.$(OBJEXT)
|
|
|
tst_max_var_dims_LDADD = $(LDADD)
|
|
|
tst_max_var_dims_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_meta_SOURCES = tst_meta.c
|
|
|
tst_meta_OBJECTS = tst_meta.$(OBJEXT)
|
|
|
tst_meta_LDADD = $(LDADD)
|
|
|
tst_meta_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_names_SOURCES = tst_names.c
|
|
|
tst_names_OBJECTS = tst_names.$(OBJEXT)
|
|
|
tst_names_LDADD = $(LDADD)
|
|
|
tst_names_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_nofill_SOURCES = tst_nofill.c
|
|
|
tst_nofill_OBJECTS = tst_nofill.$(OBJEXT)
|
|
|
tst_nofill_LDADD = $(LDADD)
|
|
|
tst_nofill_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_nofill2_SOURCES = tst_nofill2.c
|
|
|
tst_nofill2_OBJECTS = tst_nofill2.$(OBJEXT)
|
|
|
tst_nofill2_LDADD = $(LDADD)
|
|
|
tst_nofill2_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_nofill3_SOURCES = tst_nofill3.c
|
|
|
tst_nofill3_OBJECTS = tst_nofill3.$(OBJEXT)
|
|
|
tst_nofill3_LDADD = $(LDADD)
|
|
|
tst_nofill3_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_open_cdf5_SOURCES = tst_open_cdf5.c
|
|
|
tst_open_cdf5_OBJECTS = tst_open_cdf5.$(OBJEXT)
|
|
|
tst_open_cdf5_LDADD = $(LDADD)
|
|
|
tst_open_cdf5_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_open_mem_SOURCES = tst_open_mem.c
|
|
|
tst_open_mem_OBJECTS = tst_open_mem.$(OBJEXT)
|
|
|
tst_open_mem_LDADD = $(LDADD)
|
|
|
tst_open_mem_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_parallel2_SOURCES = tst_parallel2.c
|
|
|
tst_parallel2_OBJECTS = tst_parallel2.$(OBJEXT)
|
|
|
tst_parallel2_LDADD = $(LDADD)
|
|
|
tst_parallel2_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_pnetcdf_SOURCES = tst_pnetcdf.c
|
|
|
tst_pnetcdf_OBJECTS = tst_pnetcdf.$(OBJEXT)
|
|
|
tst_pnetcdf_LDADD = $(LDADD)
|
|
|
tst_pnetcdf_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_small_SOURCES = tst_small.c
|
|
|
tst_small_OBJECTS = tst_small.$(OBJEXT)
|
|
|
tst_small_LDADD = $(LDADD)
|
|
|
tst_small_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_utf8_phrases_SOURCES = tst_utf8_phrases.c
|
|
|
tst_utf8_phrases_OBJECTS = tst_utf8_phrases.$(OBJEXT)
|
|
|
tst_utf8_phrases_LDADD = $(LDADD)
|
|
|
tst_utf8_phrases_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
tst_utf8_validate_SOURCES = tst_utf8_validate.c
|
|
|
tst_utf8_validate_OBJECTS = tst_utf8_validate.$(OBJEXT)
|
|
|
tst_utf8_validate_LDADD = $(LDADD)
|
|
|
tst_utf8_validate_DEPENDENCIES = ${top_builddir}/liblib/libnetcdf.la
|
|
|
AM_V_P = $(am__v_P_$(V))
|
|
|
am__v_P_ = $(am__v_P_$(AM_DEFAULT_VERBOSITY))
|
|
|
am__v_P_0 = false
|
|
|
am__v_P_1 = :
|
|
|
AM_V_GEN = $(am__v_GEN_$(V))
|
|
|
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
|
|
am__v_GEN_0 = @echo " GEN " $@;
|
|
|
am__v_GEN_1 =
|
|
|
AM_V_at = $(am__v_at_$(V))
|
|
|
am__v_at_ = $(am__v_at_$(AM_DEFAULT_VERBOSITY))
|
|
|
am__v_at_0 = @
|
|
|
am__v_at_1 =
|
|
|
DEFAULT_INCLUDES = -I. -I$(top_builddir)
|
|
|
depcomp = $(SHELL) $(top_srcdir)/depcomp
|
|
|
am__maybe_remake_depfiles = depfiles
|
|
|
am__depfiles_remade = ./$(DEPDIR)/error.Po ./$(DEPDIR)/large_files.Po \
|
|
|
./$(DEPDIR)/nc_test.Po ./$(DEPDIR)/quick_large_files.Po \
|
|
|
./$(DEPDIR)/t_nc.Po ./$(DEPDIR)/test_get.Po \
|
|
|
./$(DEPDIR)/test_put.Po ./$(DEPDIR)/test_read.Po \
|
|
|
./$(DEPDIR)/test_write.Po ./$(DEPDIR)/testnc3perf.Po \
|
|
|
./$(DEPDIR)/tst_addvar.Po ./$(DEPDIR)/tst_atts3.Po \
|
|
|
./$(DEPDIR)/tst_big_rvar.Po ./$(DEPDIR)/tst_big_var.Po \
|
|
|
./$(DEPDIR)/tst_big_var2.Po ./$(DEPDIR)/tst_big_var6.Po \
|
|
|
./$(DEPDIR)/tst_byterange.Po ./$(DEPDIR)/tst_cdf5_begin.Po \
|
|
|
./$(DEPDIR)/tst_cdf5format.Po ./$(DEPDIR)/tst_def_var_fill.Po \
|
|
|
./$(DEPDIR)/tst_default_format.Po \
|
|
|
./$(DEPDIR)/tst_default_format_pnetcdf.Po \
|
|
|
./$(DEPDIR)/tst_diskless.Po ./$(DEPDIR)/tst_diskless2.Po \
|
|
|
./$(DEPDIR)/tst_diskless3.Po ./$(DEPDIR)/tst_diskless4.Po \
|
|
|
./$(DEPDIR)/tst_diskless5.Po ./$(DEPDIR)/tst_diskless6.Po \
|
|
|
./$(DEPDIR)/tst_err_enddef.Po ./$(DEPDIR)/tst_formats.Po \
|
|
|
./$(DEPDIR)/tst_formatx_pnetcdf.Po \
|
|
|
./$(DEPDIR)/tst_global_fillval.Po ./$(DEPDIR)/tst_inmemory.Po \
|
|
|
./$(DEPDIR)/tst_inq_type.Po ./$(DEPDIR)/tst_large.Po \
|
|
|
./$(DEPDIR)/tst_large_cdf5.Po ./$(DEPDIR)/tst_max_var_dims.Po \
|
|
|
./$(DEPDIR)/tst_meta.Po ./$(DEPDIR)/tst_names.Po \
|
|
|
./$(DEPDIR)/tst_nofill.Po ./$(DEPDIR)/tst_nofill2.Po \
|
|
|
./$(DEPDIR)/tst_nofill3.Po ./$(DEPDIR)/tst_open_cdf5.Po \
|
|
|
./$(DEPDIR)/tst_open_mem.Po ./$(DEPDIR)/tst_parallel2.Po \
|
|
|
./$(DEPDIR)/tst_pnetcdf.Po ./$(DEPDIR)/tst_small.Po \
|
|
|
./$(DEPDIR)/tst_utf8_phrases.Po \
|
|
|
./$(DEPDIR)/tst_utf8_validate.Po ./$(DEPDIR)/util.Po
|
|
|
am__mv = mv -f
|
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
|
|
LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
|
$(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
|
|
|
$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
|
|
|
$(AM_CFLAGS) $(CFLAGS)
|
|
|
AM_V_CC = $(am__v_CC_$(V))
|
|
|
am__v_CC_ = $(am__v_CC_$(AM_DEFAULT_VERBOSITY))
|
|
|
am__v_CC_0 = @echo " CC " $@;
|
|
|
am__v_CC_1 =
|
|
|
CCLD = $(CC)
|
|
|
LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
|
|
|
$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
|
|
|
$(AM_LDFLAGS) $(LDFLAGS) -o $@
|
|
|
AM_V_CCLD = $(am__v_CCLD_$(V))
|
|
|
am__v_CCLD_ = $(am__v_CCLD_$(AM_DEFAULT_VERBOSITY))
|
|
|
am__v_CCLD_0 = @echo " CCLD " $@;
|
|
|
am__v_CCLD_1 =
|
|
|
SOURCES = large_files.c $(nc_test_SOURCES) quick_large_files.c t_nc.c \
|
|
|
testnc3perf.c tst_addvar.c tst_atts3.c tst_big_rvar.c \
|
|
|
tst_big_var.c tst_big_var2.c tst_big_var6.c \
|
|
|
$(tst_byterange_SOURCES) tst_cdf5_begin.c tst_cdf5format.c \
|
|
|
tst_def_var_fill.c tst_default_format.c \
|
|
|
tst_default_format_pnetcdf.c tst_diskless.c tst_diskless2.c \
|
|
|
tst_diskless3.c tst_diskless4.c tst_diskless5.c \
|
|
|
tst_diskless6.c tst_err_enddef.c tst_formats.c \
|
|
|
tst_formatx_pnetcdf.c tst_global_fillval.c tst_inmemory.c \
|
|
|
tst_inq_type.c tst_large.c tst_large_cdf5.c tst_max_var_dims.c \
|
|
|
tst_meta.c tst_names.c tst_nofill.c tst_nofill2.c \
|
|
|
tst_nofill3.c tst_open_cdf5.c tst_open_mem.c tst_parallel2.c \
|
|
|
tst_pnetcdf.c tst_small.c tst_utf8_phrases.c \
|
|
|
tst_utf8_validate.c
|
|
|
DIST_SOURCES = large_files.c $(nc_test_SOURCES) quick_large_files.c \
|
|
|
t_nc.c testnc3perf.c tst_addvar.c tst_atts3.c tst_big_rvar.c \
|
|
|
tst_big_var.c tst_big_var2.c tst_big_var6.c \
|
|
|
$(am__tst_byterange_SOURCES_DIST) tst_cdf5_begin.c \
|
|
|
tst_cdf5format.c tst_def_var_fill.c tst_default_format.c \
|
|
|
tst_default_format_pnetcdf.c tst_diskless.c tst_diskless2.c \
|
|
|
tst_diskless3.c tst_diskless4.c tst_diskless5.c \
|
|
|
tst_diskless6.c tst_err_enddef.c tst_formats.c \
|
|
|
tst_formatx_pnetcdf.c tst_global_fillval.c tst_inmemory.c \
|
|
|
tst_inq_type.c tst_large.c tst_large_cdf5.c tst_max_var_dims.c \
|
|
|
tst_meta.c tst_names.c tst_nofill.c tst_nofill2.c \
|
|
|
tst_nofill3.c tst_open_cdf5.c tst_open_mem.c tst_parallel2.c \
|
|
|
tst_pnetcdf.c tst_small.c tst_utf8_phrases.c \
|
|
|
tst_utf8_validate.c
|
|
|
am__can_run_installinfo = \
|
|
|
case $$AM_UPDATE_INFO_DIR in \
|
|
|
n|no|NO) false;; \
|
|
|
*) (install-info --version) >/dev/null 2>&1;; \
|
|
|
esac
|
|
|
am__extra_recursive_targets = check-valgrind-recursive \
|
|
|
check-valgrind-memcheck-recursive \
|
|
|
check-valgrind-helgrind-recursive check-valgrind-drd-recursive \
|
|
|
check-valgrind-sgcheck-recursive
|
|
|
am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
|
|
|
# Read a list of newline-separated strings from the standard input,
|
|
|
# and print each of them once, without duplicates. Input order is
|
|
|
# *not* preserved.
|
|
|
am__uniquify_input = $(AWK) '\
|
|
|
BEGIN { nonempty = 0; } \
|
|
|
{ items[$$0] = 1; nonempty = 1; } \
|
|
|
END { if (nonempty) { for (i in items) print i; }; } \
|
|
|
'
|
|
|
# Make sure the list of sources is unique. This is necessary because,
|
|
|
# e.g., the same source file might be shared among _SOURCES variables
|
|
|
# for different programs/libraries.
|
|
|
am__define_uniq_tagged_files = \
|
|
|
list='$(am__tagged_files)'; \
|
|
|
unique=`for i in $$list; do \
|
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
|
done | $(am__uniquify_input)`
|
|
|
am__tty_colors_dummy = \
|
|
|
mgn= red= grn= lgn= blu= brg= std=; \
|
|
|
am__color_tests=no
|
|
|
am__tty_colors = { \
|
|
|
$(am__tty_colors_dummy); \
|
|
|
if test "X$(AM_COLOR_TESTS)" = Xno; then \
|
|
|
am__color_tests=no; \
|
|
|
elif test "X$(AM_COLOR_TESTS)" = Xalways; then \
|
|
|
am__color_tests=yes; \
|
|
|
elif test "X$$TERM" != Xdumb && { test -t 1; } 2>/dev/null; then \
|
|
|
am__color_tests=yes; \
|
|
|
fi; \
|
|
|
if test $$am__color_tests = yes; then \
|
|
|
red='[0;31m'; \
|
|
|
grn='[0;32m'; \
|
|
|
lgn='[1;32m'; \
|
|
|
blu='[1;34m'; \
|
|
|
mgn='[0;35m'; \
|
|
|
brg='[1m'; \
|
|
|
std='[m'; \
|
|
|
fi; \
|
|
|
}
|
|
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
|
|
am__vpath_adj = case $$p in \
|
|
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
|
|
*) f=$$p;; \
|
|
|
esac;
|
|
|
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
|
|
am__install_max = 40
|
|
|
am__nobase_strip_setup = \
|
|
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
|
|
am__nobase_strip = \
|
|
|
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
|
|
am__nobase_list = $(am__nobase_strip_setup); \
|
|
|
for p in $$list; do echo "$$p $$p"; done | \
|
|
|
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
|
|
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
|
|
if (++n[$$2] == $(am__install_max)) \
|
|
|
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
|
|
END { for (dir in files) print dir, files[dir] }'
|
|
|
am__base_list = \
|
|
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
|
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
|
|
am__uninstall_files_from_dir = { \
|
|
|
test -z "$$files" \
|
|
|
|| { test ! -d "$$dir" && test ! -f "$$dir" && test ! -r "$$dir"; } \
|
|
|
|| { echo " ( cd '$$dir' && rm -f" $$files ")"; \
|
|
|
$(am__cd) "$$dir" && rm -f $$files; }; \
|
|
|
}
|
|
|
am__recheck_rx = ^[ ]*:recheck:[ ]*
|
|
|
am__global_test_result_rx = ^[ ]*:global-test-result:[ ]*
|
|
|
am__copy_in_global_log_rx = ^[ ]*:copy-in-global-log:[ ]*
|
|
|
# A command that, given a newline-separated list of test names on the
|
|
|
# standard input, print the name of the tests that are to be re-run
|
|
|
# upon "make recheck".
|
|
|
am__list_recheck_tests = $(AWK) '{ \
|
|
|
recheck = 1; \
|
|
|
while ((rc = (getline line < ($$0 ".trs"))) != 0) \
|
|
|
{ \
|
|
|
if (rc < 0) \
|
|
|
{ \
|
|
|
if ((getline line2 < ($$0 ".log")) < 0) \
|
|
|
recheck = 0; \
|
|
|
break; \
|
|
|
} \
|
|
|
else if (line ~ /$(am__recheck_rx)[nN][Oo]/) \
|
|
|
{ \
|
|
|
recheck = 0; \
|
|
|
break; \
|
|
|
} \
|
|
|
else if (line ~ /$(am__recheck_rx)[yY][eE][sS]/) \
|
|
|
{ \
|
|
|
break; \
|
|
|
} \
|
|
|
}; \
|
|
|
if (recheck) \
|
|
|
print $$0; \
|
|
|
close ($$0 ".trs"); \
|
|
|
close ($$0 ".log"); \
|
|
|
}'
|
|
|
# A command that, given a newline-separated list of test names on the
|
|
|
# standard input, create the global log from their .trs and .log files.
|
|
|
am__create_global_log = $(AWK) ' \
|
|
|
function fatal(msg) \
|
|
|
{ \
|
|
|
print "fatal: making $@: " msg | "cat >&2"; \
|
|
|
exit 1; \
|
|
|
} \
|
|
|
function rst_section(header) \
|
|
|
{ \
|
|
|
print header; \
|
|
|
len = length(header); \
|
|
|
for (i = 1; i <= len; i = i + 1) \
|
|
|
printf "="; \
|
|
|
printf "\n\n"; \
|
|
|
} \
|
|
|
{ \
|
|
|
copy_in_global_log = 1; \
|
|
|
global_test_result = "RUN"; \
|
|
|
while ((rc = (getline line < ($$0 ".trs"))) != 0) \
|
|
|
{ \
|
|
|
if (rc < 0) \
|
|
|
fatal("failed to read from " $$0 ".trs"); \
|
|
|
if (line ~ /$(am__global_test_result_rx)/) \
|
|
|
{ \
|
|
|
sub("$(am__global_test_result_rx)", "", line); \
|
|
|
sub("[ ]*$$", "", line); \
|
|
|
global_test_result = line; \
|
|
|
} \
|
|
|
else if (line ~ /$(am__copy_in_global_log_rx)[nN][oO]/) \
|
|
|
copy_in_global_log = 0; \
|
|
|
}; \
|
|
|
if (copy_in_global_log) \
|
|
|
{ \
|
|
|
rst_section(global_test_result ": " $$0); \
|
|
|
while ((rc = (getline line < ($$0 ".log"))) != 0) \
|
|
|
{ \
|
|
|
if (rc < 0) \
|
|
|
fatal("failed to read from " $$0 ".log"); \
|
|
|
print line; \
|
|
|
}; \
|
|
|
printf "\n"; \
|
|
|
}; \
|
|
|
close ($$0 ".trs"); \
|
|
|
close ($$0 ".log"); \
|
|
|
}'
|
|
|
# Restructured Text title.
|
|
|
am__rst_title = { sed 's/.*/ & /;h;s/./=/g;p;x;s/ *$$//;p;g' && echo; }
|
|
|
# Solaris 10 'make', and several other traditional 'make' implementations,
|
|
|
# pass "-e" to $(SHELL), and POSIX 2008 even requires this. Work around it
|
|
|
# by disabling -e (using the XSI extension "set +e") if it's set.
|
|
|
am__sh_e_setup = case $$- in *e*) set +e;; esac
|
|
|
# Default flags passed to test drivers.
|
|
|
am__common_driver_flags = \
|
|
|
--color-tests "$$am__color_tests" \
|
|
|
--enable-hard-errors "$$am__enable_hard_errors" \
|
|
|
--expect-failure "$$am__expect_failure"
|
|
|
# To be inserted before the command running the test. Creates the
|
|
|
# directory for the log if needed. Stores in $dir the directory
|
|
|
# containing $f, in $tst the test, in $log the log. Executes the
|
|
|
# developer- defined test setup AM_TESTS_ENVIRONMENT (if any), and
|
|
|
# passes TESTS_ENVIRONMENT. Set up options for the wrapper that
|
|
|
# will run the test scripts (or their associated LOG_COMPILER, if
|
|
|
# thy have one).
|
|
|
am__check_pre = \
|
|
|
$(am__sh_e_setup); \
|
|
|
$(am__vpath_adj_setup) $(am__vpath_adj) \
|
|
|
$(am__tty_colors); \
|
|
|
srcdir=$(srcdir); export srcdir; \
|
|
|
case "$@" in \
|
|
|
*/*) am__odir=`echo "./$@" | sed 's|/[^/]*$$||'`;; \
|
|
|
*) am__odir=.;; \
|
|
|
esac; \
|
|
|
test "x$$am__odir" = x"." || test -d "$$am__odir" \
|
|
|
|| $(MKDIR_P) "$$am__odir" || exit $$?; \
|
|
|
if test -f "./$$f"; then dir=./; \
|
|
|
elif test -f "$$f"; then dir=; \
|
|
|
else dir="$(srcdir)/"; fi; \
|
|
|
tst=$$dir$$f; log='$@'; \
|
|
|
if test -n '$(DISABLE_HARD_ERRORS)'; then \
|
|
|
am__enable_hard_errors=no; \
|
|
|
else \
|
|
|
am__enable_hard_errors=yes; \
|
|
|
fi; \
|
|
|
case " $(XFAIL_TESTS) " in \
|
|
|
*[\ \ ]$$f[\ \ ]* | *[\ \ ]$$dir$$f[\ \ ]*) \
|
|
|
am__expect_failure=yes;; \
|
|
|
*) \
|
|
|
am__expect_failure=no;; \
|
|
|
esac; \
|
|
|
$(AM_TESTS_ENVIRONMENT) $(TESTS_ENVIRONMENT)
|
|
|
# A shell command to get the names of the tests scripts with any registered
|
|
|
# extension removed (i.e., equivalently, the names of the test logs, with
|
|
|
# the '.log' extension removed). The result is saved in the shell variable
|
|
|
# '$bases'. This honors runtime overriding of TESTS and TEST_LOGS. Sadly,
|
|
|
# we cannot use something simpler, involving e.g., "$(TEST_LOGS:.log=)",
|
|
|
# since that might cause problem with VPATH rewrites for suffix-less tests.
|
|
|
# See also 'test-harness-vpath-rewrite.sh' and 'test-trs-basic.sh'.
|
|
|
am__set_TESTS_bases = \
|
|
|
bases='$(TEST_LOGS)'; \
|
|
|
bases=`for i in $$bases; do echo $$i; done | sed 's/\.log$$//'`; \
|
|
|
bases=`echo $$bases`
|
|
|
AM_TESTSUITE_SUMMARY_HEADER = ' for $(PACKAGE_STRING)'
|
|
|
RECHECK_LOGS = $(TEST_LOGS)
|
|
|
AM_RECURSIVE_TARGETS = check recheck
|
|
|
am__EXEEXT_11 = \
|
|
|
t_nc$(EXEEXT) \
|
|
|
tst_atts3$(EXEEXT) \
|
|
|
tst_nofill$(EXEEXT) \
|
|
|
nc_test$(EXEEXT) \
|
|
|
tst_small$(EXEEXT)
|
|
|
TEST_SUITE_LOG = test-suite.log
|
|
|
LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
|
|
|
LOG_COMPILE = $(LOG_COMPILER) $(AM_LOG_FLAGS) $(LOG_FLAGS)
|
|
|
am__set_b = \
|
|
|
case '$@' in \
|
|
|
*/*) \
|
|
|
case '$*' in \
|
|
|
*/*) b='$*';; \
|
|
|
*) b=`echo '$@' | sed 's/\.log$$//'`; \
|
|
|
esac;; \
|
|
|
*) \
|
|
|
b='$*';; \
|
|
|
esac
|
|
|
am__test_logs1 = $(TESTS:=.log)
|
|
|
am__test_logs2 = $(am__test_logs1:.log=.log)
|
|
|
TEST_LOGS = $(am__test_logs2:.sh.log=.log)
|
|
|
SH_LOG_DRIVER = $(SHELL) $(top_srcdir)/test-driver
|
|
|
SH_LOG_COMPILE = $(SH_LOG_COMPILER) $(AM_SH_LOG_FLAGS) $(SH_LOG_FLAGS)
|
|
|
am__DIST_COMMON = $(srcdir)/Makefile.in \
|
|
|
$(srcdir)/run_pnetcdf_tests.sh.in $(top_srcdir)/depcomp \
|
|
|
$(top_srcdir)/lib_flags.am $(top_srcdir)/test-driver
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
ACLOCAL = ${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' aclocal-1.16
|
|
|
ALLOCA =
|
|
|
AMTAR = $${TAR-tar}
|
|
|
AM_CFLAGS =
|
|
|
|
|
|
# Put together AM_CPPFLAGS and AM_LDFLAGS.
|
|
|
AM_CPPFLAGS = -I$(top_builddir)/include -I$(top_srcdir)/include \
|
|
|
$(am__append_1) $(am__append_2) -I$(top_srcdir)/libsrc \
|
|
|
-DTOPSRCDIR=${abs_top_srcdir} -DTOPBINDIR=${abs_top_builddir} \
|
|
|
-I$(top_builddir)/liblib -I$(top_builddir)/include \
|
|
|
-I$(top_srcdir)/libsrc
|
|
|
AM_DEFAULT_VERBOSITY = 1
|
|
|
AM_LDFLAGS = $(am__append_3) $(am__append_4)
|
|
|
AR = ar
|
|
|
AUTOCONF = ${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' autoconf
|
|
|
AUTOHEADER = ${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' autoheader
|
|
|
AUTOMAKE = ${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' automake-1.16
|
|
|
AWK = gawk
|
|
|
BINFILE_NAME = binary-netcdf-4.9.2.tar
|
|
|
BUILD_INTERNAL_DOCS = no
|
|
|
CC = gcc
|
|
|
CCDEPMODE = depmode=gcc3
|
|
|
CC_VERSION = /usr/bin/gcc
|
|
|
CFLAGS = -fno-strict-aliasing
|
|
|
CONFIG_DATE = Thu Jun 15 00:26:09 CDT 2023
|
|
|
CPP =
|
|
|
CPPFLAGS = -I/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1/include -I/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/include
|
|
|
CSCOPE = cscope
|
|
|
CTAGS = ctags
|
|
|
CXX = g++
|
|
|
CXXCPP = g++ -E
|
|
|
CXXDEPMODE = depmode=gcc3
|
|
|
CXXFLAGS = -g -O2
|
|
|
CYGPATH_W = echo
|
|
|
DEFS = -DHAVE_CONFIG_H
|
|
|
DEPDIR = .deps
|
|
|
DLLTOOL = false
|
|
|
DOT = dot
|
|
|
DOXYGEN =
|
|
|
DOXYGEN_CSS_FILE =
|
|
|
DOXYGEN_HEADER_FILE =
|
|
|
DOXYGEN_SEARCHENGINE = YES
|
|
|
DOXYGEN_SERVER_BASED_SEARCH = NO
|
|
|
DO_FILTER_TESTS = yes
|
|
|
DO_NCZARR_S3_TESTS = no
|
|
|
DO_NCZARR_ZIP_TESTS = no
|
|
|
DSYMUTIL =
|
|
|
DUMPBIN =
|
|
|
ECHO_C =
|
|
|
ECHO_N = -n
|
|
|
ECHO_T =
|
|
|
EGREP = /usr/bin/grep -E
|
|
|
ENABLED_DOC_SECTIONS =
|
|
|
ENABLE_NCZARR =
|
|
|
ENABLE_VALGRIND_drd = no
|
|
|
ENABLE_VALGRIND_helgrind = no
|
|
|
ENABLE_VALGRIND_memcheck = no
|
|
|
ENABLE_VALGRIND_sgcheck = no
|
|
|
ETAGS = etags
|
|
|
EXEEXT =
|
|
|
FGREP = /usr/bin/grep -F
|
|
|
FILECMD = file
|
|
|
GREP = /usr/bin/grep
|
|
|
HAS_BENCHMARKS = no
|
|
|
HAS_BYTERANGE = yes
|
|
|
HAS_CDF5 = yes
|
|
|
HAS_DAP = yes
|
|
|
HAS_DAP2 = yes
|
|
|
HAS_DAP4 = yes
|
|
|
HAS_DISKLESS = yes
|
|
|
HAS_ERANGE_FILL = no
|
|
|
HAS_HDF4 = no
|
|
|
HAS_HDF5 = yes
|
|
|
HAS_JNA = no
|
|
|
HAS_LOGGING = no
|
|
|
HAS_MMAP = no
|
|
|
HAS_MULTIFILTERS = yes
|
|
|
HAS_NC2 = yes
|
|
|
HAS_NC4 = yes
|
|
|
HAS_NCZARR = yes
|
|
|
HAS_NCZARR_ZIP = no
|
|
|
HAS_PARALLEL = no
|
|
|
HAS_PARALLEL4 = no
|
|
|
HAS_PAR_FILTERS = yes
|
|
|
HAS_PNETCDF = no
|
|
|
HAS_QUANTIZE = yes
|
|
|
HAS_S3 = no
|
|
|
HAS_SZLIB = yes
|
|
|
HAS_SZLIB_WRITE = yes
|
|
|
HAS_ZSTD = no
|
|
|
HAVE_DOT = NO
|
|
|
INSTALL = /usr/bin/install -c
|
|
|
INSTALL_DATA = ${INSTALL} -m 644
|
|
|
INSTALL_PROGRAM = ${INSTALL}
|
|
|
INSTALL_SCRIPT = ${INSTALL}
|
|
|
INSTALL_STRIP_PROGRAM = $(install_sh) -c -s
|
|
|
ISCMAKE =
|
|
|
ISCYGWIN =
|
|
|
ISMINGW =
|
|
|
ISMSVC =
|
|
|
ISMSYS =
|
|
|
ISOSX =
|
|
|
ISREGEDIT = yes
|
|
|
LD = /usr/bin/ld -m elf_x86_64
|
|
|
LDFLAGS = -L/mnt/Storage/Documents/Code/LibraryTest/lib/hdf5-1.14.1/lib -L/mnt/Storage/Documents/Code/LibraryTest/lib/zlib-1.2.13/lib
|
|
|
LIBOBJS =
|
|
|
LIBS = -lhdf5_hl -lhdf5 -lm -lz -ldl -lsz -lbz2 -lxml2 -lcurl
|
|
|
LIBTOOL = $(SHELL) $(top_builddir)/libtool
|
|
|
LIPO =
|
|
|
LN_S = ln -s
|
|
|
LTLIBOBJS =
|
|
|
LT_SYS_LIBRARY_PATH =
|
|
|
M4FLAGS =
|
|
|
MAINT = #
|
|
|
MAKEINFO = ${SHELL} '/home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/missing' makeinfo
|
|
|
MANIFEST_TOOL = :
|
|
|
MKDIR_P = /usr/bin/mkdir -p
|
|
|
MPIEXEC = mpiexec
|
|
|
NC_DISPATCH_VERSION = 5
|
|
|
NC_ENABLE_DOXYGEN_PDF_OUTPUT =
|
|
|
NC_HAS_BENCHMARKS = 0
|
|
|
NC_HAS_BLOSC = 0
|
|
|
NC_HAS_BYTERANGE = 1
|
|
|
NC_HAS_BZ2 = 1
|
|
|
NC_HAS_CDF5 = 1
|
|
|
NC_HAS_DAP2 = 1
|
|
|
NC_HAS_DAP4 = 1
|
|
|
NC_HAS_DISKLESS = 1
|
|
|
NC_HAS_ERANGE_FILL = 0
|
|
|
NC_HAS_HDF4 = 0
|
|
|
NC_HAS_HDF5 = 1
|
|
|
NC_HAS_JNA = 0
|
|
|
NC_HAS_LOGGING = 0
|
|
|
NC_HAS_MMAP = 0
|
|
|
NC_HAS_MULTIFILTERS = 1
|
|
|
NC_HAS_NC2 = 1
|
|
|
NC_HAS_NC4 = 1
|
|
|
NC_HAS_NCZARR = 1
|
|
|
NC_HAS_PARALLEL = 0
|
|
|
NC_HAS_PARALLEL4 = 0
|
|
|
NC_HAS_PAR_FILTERS = 1
|
|
|
NC_HAS_PNETCDF = 0
|
|
|
NC_HAS_QUANTIZE = 1
|
|
|
NC_HAS_S3 = 0
|
|
|
NC_HAS_SZIP = 0
|
|
|
NC_HAS_ZSTD = 0
|
|
|
NC_LIBS = -lnetcdf
|
|
|
NC_M4 = m4
|
|
|
NC_VERSION = 4.9.2
|
|
|
NC_VERSION_MAJOR = 4
|
|
|
NC_VERSION_MINOR = 9
|
|
|
NC_VERSION_NOTE =
|
|
|
NC_VERSION_PATCH = 2
|
|
|
NC_XML2_CONFIG = xml2-config
|
|
|
NM = /usr/bin/nm -B
|
|
|
NMEDIT =
|
|
|
NOUNDEFINED =
|
|
|
OBJDUMP = objdump
|
|
|
OBJEXT = o
|
|
|
OTOOL =
|
|
|
OTOOL64 =
|
|
|
PACKAGE = netcdf-c
|
|
|
PACKAGE_BUGREPORT = support-netcdf@unidata.ucar.edu
|
|
|
PACKAGE_NAME = netCDF
|
|
|
PACKAGE_STRING = netCDF 4.9.2
|
|
|
PACKAGE_TARNAME = netcdf-c
|
|
|
PACKAGE_URL =
|
|
|
PACKAGE_VERSION = 4.9.2
|
|
|
PATH_SEPARATOR = :
|
|
|
PLUGIN_INSTALL_DIR = no
|
|
|
PLUGIN_INSTALL_DIR_SETTING = N.A.
|
|
|
RANLIB = ranlib
|
|
|
RELAX_COORD_BOUND = yes
|
|
|
SED = /usr/bin/sed
|
|
|
SET_MAKE =
|
|
|
SHELL = /bin/bash
|
|
|
SHOW_DOXYGEN_TAG_LIST = no
|
|
|
STD_FILTERS = deflate bz2
|
|
|
STRIP = strip
|
|
|
USEPLUGINS = yes
|
|
|
VALGRIND =
|
|
|
VALGRIND_ENABLED = no
|
|
|
VERSION = 4.9.2
|
|
|
WINVERBUILD = 0
|
|
|
WINVERMAJOR = 0
|
|
|
XML2FLAGS = -I/usr/include/libxml2
|
|
|
XMLPARSER = libxml2
|
|
|
abs_builddir = /home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/nc_test
|
|
|
abs_srcdir = /home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/nc_test
|
|
|
abs_top_builddir = /home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2
|
|
|
abs_top_srcdir = /home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2
|
|
|
ac_ct_AR = ar
|
|
|
ac_ct_CC = gcc
|
|
|
ac_ct_CXX = g++
|
|
|
ac_ct_DUMPBIN =
|
|
|
am__include = include
|
|
|
am__leading_dot = .
|
|
|
am__quote =
|
|
|
am__tar = $${TAR-tar} chof - "$$tardir"
|
|
|
am__untar = $${TAR-tar} xf -
|
|
|
bindir = ${exec_prefix}/bin
|
|
|
build = x86_64-pc-linux-gnu
|
|
|
build_alias =
|
|
|
build_cpu = x86_64
|
|
|
build_os = linux-gnu
|
|
|
build_vendor = pc
|
|
|
builddir = .
|
|
|
datadir = ${datarootdir}
|
|
|
datarootdir = ${prefix}/share
|
|
|
docdir = ${datarootdir}/doc/${PACKAGE_TARNAME}
|
|
|
dvidir = ${docdir}
|
|
|
enable_shared = yes
|
|
|
enable_static = yes
|
|
|
exec_prefix = ${prefix}
|
|
|
host = x86_64-pc-linux-gnu
|
|
|
host_alias =
|
|
|
host_cpu = x86_64
|
|
|
host_os = linux-gnu
|
|
|
host_vendor = pc
|
|
|
htmldir = ${docdir}
|
|
|
includedir = ${prefix}/include
|
|
|
infodir = ${datarootdir}/info
|
|
|
install_sh = ${SHELL} /home/kjao/Documents/Code/LibraryTest/lib/clone/netcdf-c-4.9.2/install-sh
|
|
|
libdir = ${exec_prefix}/lib
|
|
|
libexecdir = ${exec_prefix}/libexec
|
|
|
localedir = ${datarootdir}/locale
|
|
|
localstatedir = ${prefix}/var
|
|
|
mandir = ${datarootdir}/man
|
|
|
mkdir_p = $(MKDIR_P)
|
|
|
netCDF_SO_VERSION = 21:2:2
|
|
|
oldincludedir = /usr/include
|
|
|
pdfdir = ${docdir}
|
|
|
prefix = /mnt/Storage/Documents/Code/LibraryTest/lib/netcdf-c-4.9.2
|
|
|
program_transform_name = s,x,x,
|
|
|
psdir = ${docdir}
|
|
|
runstatedir = ${localstatedir}/run
|
|
|
sbindir = ${exec_prefix}/sbin
|
|
|
sharedstatedir = ${prefix}/com
|
|
|
srcdir = .
|
|
|
sysconfdir = ${prefix}/etc
|
|
|
target = x86_64-pc-linux-gnu
|
|
|
target_alias =
|
|
|
target_cpu = x86_64
|
|
|
target_os = linux-gnu
|
|
|
target_vendor = pc
|
|
|
top_build_prefix = ../
|
|
|
top_builddir = ..
|
|
|
top_srcdir = ..
|
|
|
valgrind_enabled_tools =
|
|
|
valgrind_tools = memcheck helgrind drd sgcheck
|
|
|
AM_TESTS_ENVIRONMENT = export TOPSRCDIR=${abs_top_srcdir}; export TOPBUILDDIR=${abs_top_builddir};
|
|
|
LDADD = ${top_builddir}/liblib/libnetcdf.la
|
|
|
TEST_EXTENSIONS = .sh
|
|
|
|
|
|
# These are the tests which are always run.
|
|
|
TESTPROGRAMS = tst_names tst_nofill2 tst_nofill3 tst_meta tst_inq_type \
|
|
|
tst_utf8_validate tst_utf8_phrases tst_global_fillval \
|
|
|
tst_max_var_dims tst_formats tst_def_var_fill tst_err_enddef \
|
|
|
tst_default_format $(am__append_7) $(am__append_8) \
|
|
|
$(am__append_9) $(am__append_20)
|
|
|
|
|
|
# These are the source files for the main workhorse test program,
|
|
|
# nc_test. If you pass nc_test, you are doing well.
|
|
|
nc_test_SOURCES = nc_test.c error.c test_get.c test_put.c test_read.c \
|
|
|
test_write.c util.c error.h tests.h
|
|
|
|
|
|
#tst_byterange_SOURCES = tst_byterange.c
|
|
|
|
|
|
# The .c files that are generated with m4 are already distributed, but
|
|
|
# we also include the original m4 files, plus test scripts data.
|
|
|
EXTRA_DIST = test_get.m4 test_put.m4 run_diskless.sh run_diskless2.sh \
|
|
|
run_diskless5.sh run_mmap.sh test_read.m4 test_write.m4 \
|
|
|
ref_tst_diskless2.cdl tst_diskless5.cdl \
|
|
|
ref_tst_diskless3_create.cdl ref_tst_diskless3_open.cdl \
|
|
|
run_inmemory.sh run_mmap.sh f03tst_open_mem.nc \
|
|
|
test_byterange.sh ref_tst_http_nc3.cdl ref_tst_http_nc4a.cdl \
|
|
|
ref_tst_http_nc4b.cdl ref_tst_http_nc4c.cdl CMakeLists.txt \
|
|
|
run_pnetcdf_tests.sh.in tst_misc.c tst_norm.c \
|
|
|
ref_tst_http_nc4e.cdl ref_tst_http_nc4f.cdl bad_cdf5_begin.nc \
|
|
|
run_cdf5.sh nc_enddef.cdl
|
|
|
|
|
|
# These files are created by the tests.
|
|
|
CLEANFILES = nc_test_*.nc tst_*.nc t_nc.nc large_files.nc \
|
|
|
quick_large_files.nc tst_diskless3_file.cdl \
|
|
|
tst_diskless4.cdl ref_tst_diskless4.cdl benchmark.nc \
|
|
|
tst_http_nc3.cdl tst_http_nc4?.cdl tmp*.cdl tmp*.nc
|
|
|
|
|
|
|
|
|
# Only clean these on maintainer-clean, because they require m4 to
|
|
|
# regenerate.
|
|
|
MAINTAINERCLEANFILES = test_get.c test_put.c
|
|
|
all: all-am
|
|
|
|
|
|
.SUFFIXES:
|
|
|
.SUFFIXES: .c .lo .log .m4 .o .obj .sh .sh$(EXEEXT) .trs
|
|
|
$(srcdir)/Makefile.in: # $(srcdir)/Makefile.am $(top_srcdir)/lib_flags.am $(am__configure_deps)
|
|
|
@for dep in $?; do \
|
|
|
case '$(am__configure_deps)' in \
|
|
|
*$$dep*) \
|
|
|
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
|
|
|
&& { if test -f $@; then exit 0; else break; fi; }; \
|
|
|
exit 1;; \
|
|
|
esac; \
|
|
|
done; \
|
|
|
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign nc_test/Makefile'; \
|
|
|
$(am__cd) $(top_srcdir) && \
|
|
|
$(AUTOMAKE) --foreign nc_test/Makefile
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
|
@case '$?' in \
|
|
|
*config.status*) \
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
|
|
|
*) \
|
|
|
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles)'; \
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__maybe_remake_depfiles);; \
|
|
|
esac;
|
|
|
$(top_srcdir)/lib_flags.am $(am__empty):
|
|
|
|
|
|
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
|
|
|
$(top_srcdir)/configure: # $(am__configure_deps)
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
$(ACLOCAL_M4): # $(am__aclocal_m4_deps)
|
|
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
|
|
$(am__aclocal_m4_deps):
|
|
|
run_pnetcdf_tests.sh: $(top_builddir)/config.status $(srcdir)/run_pnetcdf_tests.sh.in
|
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
|
|
|
|
|
clean-checkPROGRAMS:
|
|
|
@list='$(check_PROGRAMS)'; test -n "$$list" || exit 0; \
|
|
|
echo " rm -f" $$list; \
|
|
|
rm -f $$list || exit $$?; \
|
|
|
test -n "$(EXEEXT)" || exit 0; \
|
|
|
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
|
|
|
echo " rm -f" $$list; \
|
|
|
rm -f $$list
|
|
|
|
|
|
large_files$(EXEEXT): $(large_files_OBJECTS) $(large_files_DEPENDENCIES) $(EXTRA_large_files_DEPENDENCIES)
|
|
|
@rm -f large_files$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(large_files_OBJECTS) $(large_files_LDADD) $(LIBS)
|
|
|
|
|
|
nc_test$(EXEEXT): $(nc_test_OBJECTS) $(nc_test_DEPENDENCIES) $(EXTRA_nc_test_DEPENDENCIES)
|
|
|
@rm -f nc_test$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(nc_test_OBJECTS) $(nc_test_LDADD) $(LIBS)
|
|
|
|
|
|
quick_large_files$(EXEEXT): $(quick_large_files_OBJECTS) $(quick_large_files_DEPENDENCIES) $(EXTRA_quick_large_files_DEPENDENCIES)
|
|
|
@rm -f quick_large_files$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(quick_large_files_OBJECTS) $(quick_large_files_LDADD) $(LIBS)
|
|
|
|
|
|
t_nc$(EXEEXT): $(t_nc_OBJECTS) $(t_nc_DEPENDENCIES) $(EXTRA_t_nc_DEPENDENCIES)
|
|
|
@rm -f t_nc$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(t_nc_OBJECTS) $(t_nc_LDADD) $(LIBS)
|
|
|
|
|
|
testnc3perf$(EXEEXT): $(testnc3perf_OBJECTS) $(testnc3perf_DEPENDENCIES) $(EXTRA_testnc3perf_DEPENDENCIES)
|
|
|
@rm -f testnc3perf$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(testnc3perf_OBJECTS) $(testnc3perf_LDADD) $(LIBS)
|
|
|
|
|
|
tst_addvar$(EXEEXT): $(tst_addvar_OBJECTS) $(tst_addvar_DEPENDENCIES) $(EXTRA_tst_addvar_DEPENDENCIES)
|
|
|
@rm -f tst_addvar$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_addvar_OBJECTS) $(tst_addvar_LDADD) $(LIBS)
|
|
|
|
|
|
tst_atts3$(EXEEXT): $(tst_atts3_OBJECTS) $(tst_atts3_DEPENDENCIES) $(EXTRA_tst_atts3_DEPENDENCIES)
|
|
|
@rm -f tst_atts3$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_atts3_OBJECTS) $(tst_atts3_LDADD) $(LIBS)
|
|
|
|
|
|
tst_big_rvar$(EXEEXT): $(tst_big_rvar_OBJECTS) $(tst_big_rvar_DEPENDENCIES) $(EXTRA_tst_big_rvar_DEPENDENCIES)
|
|
|
@rm -f tst_big_rvar$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_big_rvar_OBJECTS) $(tst_big_rvar_LDADD) $(LIBS)
|
|
|
|
|
|
tst_big_var$(EXEEXT): $(tst_big_var_OBJECTS) $(tst_big_var_DEPENDENCIES) $(EXTRA_tst_big_var_DEPENDENCIES)
|
|
|
@rm -f tst_big_var$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_big_var_OBJECTS) $(tst_big_var_LDADD) $(LIBS)
|
|
|
|
|
|
tst_big_var2$(EXEEXT): $(tst_big_var2_OBJECTS) $(tst_big_var2_DEPENDENCIES) $(EXTRA_tst_big_var2_DEPENDENCIES)
|
|
|
@rm -f tst_big_var2$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_big_var2_OBJECTS) $(tst_big_var2_LDADD) $(LIBS)
|
|
|
|
|
|
tst_big_var6$(EXEEXT): $(tst_big_var6_OBJECTS) $(tst_big_var6_DEPENDENCIES) $(EXTRA_tst_big_var6_DEPENDENCIES)
|
|
|
@rm -f tst_big_var6$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_big_var6_OBJECTS) $(tst_big_var6_LDADD) $(LIBS)
|
|
|
|
|
|
tst_byterange$(EXEEXT): $(tst_byterange_OBJECTS) $(tst_byterange_DEPENDENCIES) $(EXTRA_tst_byterange_DEPENDENCIES)
|
|
|
@rm -f tst_byterange$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_byterange_OBJECTS) $(tst_byterange_LDADD) $(LIBS)
|
|
|
|
|
|
tst_cdf5_begin$(EXEEXT): $(tst_cdf5_begin_OBJECTS) $(tst_cdf5_begin_DEPENDENCIES) $(EXTRA_tst_cdf5_begin_DEPENDENCIES)
|
|
|
@rm -f tst_cdf5_begin$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_cdf5_begin_OBJECTS) $(tst_cdf5_begin_LDADD) $(LIBS)
|
|
|
|
|
|
tst_cdf5format$(EXEEXT): $(tst_cdf5format_OBJECTS) $(tst_cdf5format_DEPENDENCIES) $(EXTRA_tst_cdf5format_DEPENDENCIES)
|
|
|
@rm -f tst_cdf5format$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_cdf5format_OBJECTS) $(tst_cdf5format_LDADD) $(LIBS)
|
|
|
|
|
|
tst_def_var_fill$(EXEEXT): $(tst_def_var_fill_OBJECTS) $(tst_def_var_fill_DEPENDENCIES) $(EXTRA_tst_def_var_fill_DEPENDENCIES)
|
|
|
@rm -f tst_def_var_fill$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_def_var_fill_OBJECTS) $(tst_def_var_fill_LDADD) $(LIBS)
|
|
|
|
|
|
tst_default_format$(EXEEXT): $(tst_default_format_OBJECTS) $(tst_default_format_DEPENDENCIES) $(EXTRA_tst_default_format_DEPENDENCIES)
|
|
|
@rm -f tst_default_format$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_default_format_OBJECTS) $(tst_default_format_LDADD) $(LIBS)
|
|
|
|
|
|
tst_default_format_pnetcdf$(EXEEXT): $(tst_default_format_pnetcdf_OBJECTS) $(tst_default_format_pnetcdf_DEPENDENCIES) $(EXTRA_tst_default_format_pnetcdf_DEPENDENCIES)
|
|
|
@rm -f tst_default_format_pnetcdf$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_default_format_pnetcdf_OBJECTS) $(tst_default_format_pnetcdf_LDADD) $(LIBS)
|
|
|
|
|
|
tst_diskless$(EXEEXT): $(tst_diskless_OBJECTS) $(tst_diskless_DEPENDENCIES) $(EXTRA_tst_diskless_DEPENDENCIES)
|
|
|
@rm -f tst_diskless$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_diskless_OBJECTS) $(tst_diskless_LDADD) $(LIBS)
|
|
|
|
|
|
tst_diskless2$(EXEEXT): $(tst_diskless2_OBJECTS) $(tst_diskless2_DEPENDENCIES) $(EXTRA_tst_diskless2_DEPENDENCIES)
|
|
|
@rm -f tst_diskless2$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_diskless2_OBJECTS) $(tst_diskless2_LDADD) $(LIBS)
|
|
|
|
|
|
tst_diskless3$(EXEEXT): $(tst_diskless3_OBJECTS) $(tst_diskless3_DEPENDENCIES) $(EXTRA_tst_diskless3_DEPENDENCIES)
|
|
|
@rm -f tst_diskless3$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_diskless3_OBJECTS) $(tst_diskless3_LDADD) $(LIBS)
|
|
|
|
|
|
tst_diskless4$(EXEEXT): $(tst_diskless4_OBJECTS) $(tst_diskless4_DEPENDENCIES) $(EXTRA_tst_diskless4_DEPENDENCIES)
|
|
|
@rm -f tst_diskless4$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_diskless4_OBJECTS) $(tst_diskless4_LDADD) $(LIBS)
|
|
|
|
|
|
tst_diskless5$(EXEEXT): $(tst_diskless5_OBJECTS) $(tst_diskless5_DEPENDENCIES) $(EXTRA_tst_diskless5_DEPENDENCIES)
|
|
|
@rm -f tst_diskless5$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_diskless5_OBJECTS) $(tst_diskless5_LDADD) $(LIBS)
|
|
|
|
|
|
tst_diskless6$(EXEEXT): $(tst_diskless6_OBJECTS) $(tst_diskless6_DEPENDENCIES) $(EXTRA_tst_diskless6_DEPENDENCIES)
|
|
|
@rm -f tst_diskless6$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_diskless6_OBJECTS) $(tst_diskless6_LDADD) $(LIBS)
|
|
|
|
|
|
tst_err_enddef$(EXEEXT): $(tst_err_enddef_OBJECTS) $(tst_err_enddef_DEPENDENCIES) $(EXTRA_tst_err_enddef_DEPENDENCIES)
|
|
|
@rm -f tst_err_enddef$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_err_enddef_OBJECTS) $(tst_err_enddef_LDADD) $(LIBS)
|
|
|
|
|
|
tst_formats$(EXEEXT): $(tst_formats_OBJECTS) $(tst_formats_DEPENDENCIES) $(EXTRA_tst_formats_DEPENDENCIES)
|
|
|
@rm -f tst_formats$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_formats_OBJECTS) $(tst_formats_LDADD) $(LIBS)
|
|
|
|
|
|
tst_formatx_pnetcdf$(EXEEXT): $(tst_formatx_pnetcdf_OBJECTS) $(tst_formatx_pnetcdf_DEPENDENCIES) $(EXTRA_tst_formatx_pnetcdf_DEPENDENCIES)
|
|
|
@rm -f tst_formatx_pnetcdf$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_formatx_pnetcdf_OBJECTS) $(tst_formatx_pnetcdf_LDADD) $(LIBS)
|
|
|
|
|
|
tst_global_fillval$(EXEEXT): $(tst_global_fillval_OBJECTS) $(tst_global_fillval_DEPENDENCIES) $(EXTRA_tst_global_fillval_DEPENDENCIES)
|
|
|
@rm -f tst_global_fillval$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_global_fillval_OBJECTS) $(tst_global_fillval_LDADD) $(LIBS)
|
|
|
|
|
|
tst_inmemory$(EXEEXT): $(tst_inmemory_OBJECTS) $(tst_inmemory_DEPENDENCIES) $(EXTRA_tst_inmemory_DEPENDENCIES)
|
|
|
@rm -f tst_inmemory$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_inmemory_OBJECTS) $(tst_inmemory_LDADD) $(LIBS)
|
|
|
|
|
|
tst_inq_type$(EXEEXT): $(tst_inq_type_OBJECTS) $(tst_inq_type_DEPENDENCIES) $(EXTRA_tst_inq_type_DEPENDENCIES)
|
|
|
@rm -f tst_inq_type$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_inq_type_OBJECTS) $(tst_inq_type_LDADD) $(LIBS)
|
|
|
|
|
|
tst_large$(EXEEXT): $(tst_large_OBJECTS) $(tst_large_DEPENDENCIES) $(EXTRA_tst_large_DEPENDENCIES)
|
|
|
@rm -f tst_large$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_large_OBJECTS) $(tst_large_LDADD) $(LIBS)
|
|
|
|
|
|
tst_large_cdf5$(EXEEXT): $(tst_large_cdf5_OBJECTS) $(tst_large_cdf5_DEPENDENCIES) $(EXTRA_tst_large_cdf5_DEPENDENCIES)
|
|
|
@rm -f tst_large_cdf5$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_large_cdf5_OBJECTS) $(tst_large_cdf5_LDADD) $(LIBS)
|
|
|
|
|
|
tst_max_var_dims$(EXEEXT): $(tst_max_var_dims_OBJECTS) $(tst_max_var_dims_DEPENDENCIES) $(EXTRA_tst_max_var_dims_DEPENDENCIES)
|
|
|
@rm -f tst_max_var_dims$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_max_var_dims_OBJECTS) $(tst_max_var_dims_LDADD) $(LIBS)
|
|
|
|
|
|
tst_meta$(EXEEXT): $(tst_meta_OBJECTS) $(tst_meta_DEPENDENCIES) $(EXTRA_tst_meta_DEPENDENCIES)
|
|
|
@rm -f tst_meta$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_meta_OBJECTS) $(tst_meta_LDADD) $(LIBS)
|
|
|
|
|
|
tst_names$(EXEEXT): $(tst_names_OBJECTS) $(tst_names_DEPENDENCIES) $(EXTRA_tst_names_DEPENDENCIES)
|
|
|
@rm -f tst_names$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_names_OBJECTS) $(tst_names_LDADD) $(LIBS)
|
|
|
|
|
|
tst_nofill$(EXEEXT): $(tst_nofill_OBJECTS) $(tst_nofill_DEPENDENCIES) $(EXTRA_tst_nofill_DEPENDENCIES)
|
|
|
@rm -f tst_nofill$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_nofill_OBJECTS) $(tst_nofill_LDADD) $(LIBS)
|
|
|
|
|
|
tst_nofill2$(EXEEXT): $(tst_nofill2_OBJECTS) $(tst_nofill2_DEPENDENCIES) $(EXTRA_tst_nofill2_DEPENDENCIES)
|
|
|
@rm -f tst_nofill2$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_nofill2_OBJECTS) $(tst_nofill2_LDADD) $(LIBS)
|
|
|
|
|
|
tst_nofill3$(EXEEXT): $(tst_nofill3_OBJECTS) $(tst_nofill3_DEPENDENCIES) $(EXTRA_tst_nofill3_DEPENDENCIES)
|
|
|
@rm -f tst_nofill3$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_nofill3_OBJECTS) $(tst_nofill3_LDADD) $(LIBS)
|
|
|
|
|
|
tst_open_cdf5$(EXEEXT): $(tst_open_cdf5_OBJECTS) $(tst_open_cdf5_DEPENDENCIES) $(EXTRA_tst_open_cdf5_DEPENDENCIES)
|
|
|
@rm -f tst_open_cdf5$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_open_cdf5_OBJECTS) $(tst_open_cdf5_LDADD) $(LIBS)
|
|
|
|
|
|
tst_open_mem$(EXEEXT): $(tst_open_mem_OBJECTS) $(tst_open_mem_DEPENDENCIES) $(EXTRA_tst_open_mem_DEPENDENCIES)
|
|
|
@rm -f tst_open_mem$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_open_mem_OBJECTS) $(tst_open_mem_LDADD) $(LIBS)
|
|
|
|
|
|
tst_parallel2$(EXEEXT): $(tst_parallel2_OBJECTS) $(tst_parallel2_DEPENDENCIES) $(EXTRA_tst_parallel2_DEPENDENCIES)
|
|
|
@rm -f tst_parallel2$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_parallel2_OBJECTS) $(tst_parallel2_LDADD) $(LIBS)
|
|
|
|
|
|
tst_pnetcdf$(EXEEXT): $(tst_pnetcdf_OBJECTS) $(tst_pnetcdf_DEPENDENCIES) $(EXTRA_tst_pnetcdf_DEPENDENCIES)
|
|
|
@rm -f tst_pnetcdf$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_pnetcdf_OBJECTS) $(tst_pnetcdf_LDADD) $(LIBS)
|
|
|
|
|
|
tst_small$(EXEEXT): $(tst_small_OBJECTS) $(tst_small_DEPENDENCIES) $(EXTRA_tst_small_DEPENDENCIES)
|
|
|
@rm -f tst_small$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_small_OBJECTS) $(tst_small_LDADD) $(LIBS)
|
|
|
|
|
|
tst_utf8_phrases$(EXEEXT): $(tst_utf8_phrases_OBJECTS) $(tst_utf8_phrases_DEPENDENCIES) $(EXTRA_tst_utf8_phrases_DEPENDENCIES)
|
|
|
@rm -f tst_utf8_phrases$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_utf8_phrases_OBJECTS) $(tst_utf8_phrases_LDADD) $(LIBS)
|
|
|
|
|
|
tst_utf8_validate$(EXEEXT): $(tst_utf8_validate_OBJECTS) $(tst_utf8_validate_DEPENDENCIES) $(EXTRA_tst_utf8_validate_DEPENDENCIES)
|
|
|
@rm -f tst_utf8_validate$(EXEEXT)
|
|
|
$(AM_V_CCLD)$(LINK) $(tst_utf8_validate_OBJECTS) $(tst_utf8_validate_LDADD) $(LIBS)
|
|
|
|
|
|
mostlyclean-compile:
|
|
|
-rm -f *.$(OBJEXT)
|
|
|
|
|
|
distclean-compile:
|
|
|
-rm -f *.tab.c
|
|
|
|
|
|
include ./$(DEPDIR)/error.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/large_files.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/nc_test.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/quick_large_files.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/t_nc.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/test_get.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/test_put.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/test_read.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/test_write.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/testnc3perf.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_addvar.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_atts3.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_big_rvar.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_big_var.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_big_var2.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_big_var6.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_byterange.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_cdf5_begin.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_cdf5format.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_def_var_fill.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_default_format.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_default_format_pnetcdf.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_diskless.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_diskless2.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_diskless3.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_diskless4.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_diskless5.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_diskless6.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_err_enddef.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_formats.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_formatx_pnetcdf.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_global_fillval.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_inmemory.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_inq_type.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_large.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_large_cdf5.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_max_var_dims.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_meta.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_names.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_nofill.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_nofill2.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_nofill3.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_open_cdf5.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_open_mem.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_parallel2.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_pnetcdf.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_small.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_utf8_phrases.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/tst_utf8_validate.Po # am--include-marker
|
|
|
include ./$(DEPDIR)/util.Po # am--include-marker
|
|
|
|
|
|
$(am__depfiles_remade):
|
|
|
@$(MKDIR_P) $(@D)
|
|
|
@echo '# dummy' >$@-t && $(am__mv) $@-t $@
|
|
|
|
|
|
am--depfiles: $(am__depfiles_remade)
|
|
|
|
|
|
.c.o:
|
|
|
$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
|
|
|
$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
|
|
$(am__mv) $$depbase.Tpo $$depbase.Po
|
|
|
# $(AM_V_CC)source='$<' object='$@' libtool=no \
|
|
|
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
|
|
# $(AM_V_CC_no)$(COMPILE) -c -o $@ $<
|
|
|
|
|
|
.c.obj:
|
|
|
$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
|
|
|
$(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
|
|
|
$(am__mv) $$depbase.Tpo $$depbase.Po
|
|
|
# $(AM_V_CC)source='$<' object='$@' libtool=no \
|
|
|
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
|
|
# $(AM_V_CC_no)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
|
|
|
|
|
|
.c.lo:
|
|
|
$(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
|
|
|
$(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
|
|
|
$(am__mv) $$depbase.Tpo $$depbase.Plo
|
|
|
# $(AM_V_CC)source='$<' object='$@' libtool=yes \
|
|
|
# DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) \
|
|
|
# $(AM_V_CC_no)$(LTCOMPILE) -c -o $@ $<
|
|
|
|
|
|
mostlyclean-libtool:
|
|
|
-rm -f *.lo
|
|
|
|
|
|
clean-libtool:
|
|
|
-rm -rf .libs _libs
|
|
|
check-valgrind-local:
|
|
|
check-valgrind-memcheck-local:
|
|
|
check-valgrind-helgrind-local:
|
|
|
check-valgrind-drd-local:
|
|
|
check-valgrind-sgcheck-local:
|
|
|
|
|
|
ID: $(am__tagged_files)
|
|
|
$(am__define_uniq_tagged_files); mkid -fID $$unique
|
|
|
tags: tags-am
|
|
|
TAGS: tags
|
|
|
|
|
|
tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
|
|
set x; \
|
|
|
here=`pwd`; \
|
|
|
$(am__define_uniq_tagged_files); \
|
|
|
shift; \
|
|
|
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
|
|
|
test -n "$$unique" || unique=$$empty_fix; \
|
|
|
if test $$# -gt 0; then \
|
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
"$$@" $$unique; \
|
|
|
else \
|
|
|
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
|
|
$$unique; \
|
|
|
fi; \
|
|
|
fi
|
|
|
ctags: ctags-am
|
|
|
|
|
|
CTAGS: ctags
|
|
|
ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
|
|
|
$(am__define_uniq_tagged_files); \
|
|
|
test -z "$(CTAGS_ARGS)$$unique" \
|
|
|
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
|
|
|
$$unique
|
|
|
|
|
|
GTAGS:
|
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
|
|
&& $(am__cd) $(top_srcdir) \
|
|
|
&& gtags -i $(GTAGS_ARGS) "$$here"
|
|
|
cscopelist: cscopelist-am
|
|
|
|
|
|
cscopelist-am: $(am__tagged_files)
|
|
|
list='$(am__tagged_files)'; \
|
|
|
case "$(srcdir)" in \
|
|
|
[\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
|
|
|
*) sdir=$(subdir)/$(srcdir) ;; \
|
|
|
esac; \
|
|
|
for i in $$list; do \
|
|
|
if test -f "$$i"; then \
|
|
|
echo "$(subdir)/$$i"; \
|
|
|
else \
|
|
|
echo "$$sdir/$$i"; \
|
|
|
fi; \
|
|
|
done >> $(top_builddir)/cscope.files
|
|
|
|
|
|
distclean-tags:
|
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
|
|
|
|
|
# Recover from deleted '.trs' file; this should ensure that
|
|
|
# "rm -f foo.log; make foo.trs" re-run 'foo.test', and re-create
|
|
|
# both 'foo.log' and 'foo.trs'. Break the recipe in two subshells
|
|
|
# to avoid problems with "make -n".
|
|
|
.log.trs:
|
|
|
rm -f $< $@
|
|
|
$(MAKE) $(AM_MAKEFLAGS) $<
|
|
|
|
|
|
# Leading 'am--fnord' is there to ensure the list of targets does not
|
|
|
# expand to empty, as could happen e.g. with make check TESTS=''.
|
|
|
am--fnord $(TEST_LOGS) $(TEST_LOGS:.log=.trs): $(am__force_recheck)
|
|
|
am--force-recheck:
|
|
|
@:
|
|
|
|
|
|
$(TEST_SUITE_LOG): $(TEST_LOGS)
|
|
|
@$(am__set_TESTS_bases); \
|
|
|
am__f_ok () { test -f "$$1" && test -r "$$1"; }; \
|
|
|
redo_bases=`for i in $$bases; do \
|
|
|
am__f_ok $$i.trs && am__f_ok $$i.log || echo $$i; \
|
|
|
done`; \
|
|
|
if test -n "$$redo_bases"; then \
|
|
|
redo_logs=`for i in $$redo_bases; do echo $$i.log; done`; \
|
|
|
redo_results=`for i in $$redo_bases; do echo $$i.trs; done`; \
|
|
|
if $(am__make_dryrun); then :; else \
|
|
|
rm -f $$redo_logs && rm -f $$redo_results || exit 1; \
|
|
|
fi; \
|
|
|
fi; \
|
|
|
if test -n "$$am__remaking_logs"; then \
|
|
|
echo "fatal: making $(TEST_SUITE_LOG): possible infinite" \
|
|
|
"recursion detected" >&2; \
|
|
|
elif test -n "$$redo_logs"; then \
|
|
|
am__remaking_logs=yes $(MAKE) $(AM_MAKEFLAGS) $$redo_logs; \
|
|
|
fi; \
|
|
|
if $(am__make_dryrun); then :; else \
|
|
|
st=0; \
|
|
|
errmsg="fatal: making $(TEST_SUITE_LOG): failed to create"; \
|
|
|
for i in $$redo_bases; do \
|
|
|
test -f $$i.trs && test -r $$i.trs \
|
|
|
|| { echo "$$errmsg $$i.trs" >&2; st=1; }; \
|
|
|
test -f $$i.log && test -r $$i.log \
|
|
|
|| { echo "$$errmsg $$i.log" >&2; st=1; }; \
|
|
|
done; \
|
|
|
test $$st -eq 0 || exit 1; \
|
|
|
fi
|
|
|
@$(am__sh_e_setup); $(am__tty_colors); $(am__set_TESTS_bases); \
|
|
|
ws='[ ]'; \
|
|
|
results=`for b in $$bases; do echo $$b.trs; done`; \
|
|
|
test -n "$$results" || results=/dev/null; \
|
|
|
all=` grep "^$$ws*:test-result:" $$results | wc -l`; \
|
|
|
pass=` grep "^$$ws*:test-result:$$ws*PASS" $$results | wc -l`; \
|
|
|
fail=` grep "^$$ws*:test-result:$$ws*FAIL" $$results | wc -l`; \
|
|
|
skip=` grep "^$$ws*:test-result:$$ws*SKIP" $$results | wc -l`; \
|
|
|
xfail=`grep "^$$ws*:test-result:$$ws*XFAIL" $$results | wc -l`; \
|
|
|
xpass=`grep "^$$ws*:test-result:$$ws*XPASS" $$results | wc -l`; \
|
|
|
error=`grep "^$$ws*:test-result:$$ws*ERROR" $$results | wc -l`; \
|
|
|
if test `expr $$fail + $$xpass + $$error` -eq 0; then \
|
|
|
success=true; \
|
|
|
else \
|
|
|
success=false; \
|
|
|
fi; \
|
|
|
br='==================='; br=$$br$$br$$br$$br; \
|
|
|
result_count () \
|
|
|
{ \
|
|
|
if test x"$$1" = x"--maybe-color"; then \
|
|
|
maybe_colorize=yes; \
|
|
|
elif test x"$$1" = x"--no-color"; then \
|
|
|
maybe_colorize=no; \
|
|
|
else \
|
|
|
echo "$@: invalid 'result_count' usage" >&2; exit 4; \
|
|
|
fi; \
|
|
|
shift; \
|
|
|
desc=$$1 count=$$2; \
|
|
|
if test $$maybe_colorize = yes && test $$count -gt 0; then \
|
|
|
color_start=$$3 color_end=$$std; \
|
|
|
else \
|
|
|
color_start= color_end=; \
|
|
|
fi; \
|
|
|
echo "$${color_start}# $$desc $$count$${color_end}"; \
|
|
|
}; \
|
|
|
create_testsuite_report () \
|
|
|
{ \
|
|
|
result_count $$1 "TOTAL:" $$all "$$brg"; \
|
|
|
result_count $$1 "PASS: " $$pass "$$grn"; \
|
|
|
result_count $$1 "SKIP: " $$skip "$$blu"; \
|
|
|
result_count $$1 "XFAIL:" $$xfail "$$lgn"; \
|
|
|
result_count $$1 "FAIL: " $$fail "$$red"; \
|
|
|
result_count $$1 "XPASS:" $$xpass "$$red"; \
|
|
|
result_count $$1 "ERROR:" $$error "$$mgn"; \
|
|
|
}; \
|
|
|
{ \
|
|
|
echo "$(PACKAGE_STRING): $(subdir)/$(TEST_SUITE_LOG)" | \
|
|
|
$(am__rst_title); \
|
|
|
create_testsuite_report --no-color; \
|
|
|
echo; \
|
|
|
echo ".. contents:: :depth: 2"; \
|
|
|
echo; \
|
|
|
for b in $$bases; do echo $$b; done \
|
|
|
| $(am__create_global_log); \
|
|
|
} >$(TEST_SUITE_LOG).tmp || exit 1; \
|
|
|
mv $(TEST_SUITE_LOG).tmp $(TEST_SUITE_LOG); \
|
|
|
if $$success; then \
|
|
|
col="$$grn"; \
|
|
|
else \
|
|
|
col="$$red"; \
|
|
|
test x"$$VERBOSE" = x || cat $(TEST_SUITE_LOG); \
|
|
|
fi; \
|
|
|
echo "$${col}$$br$${std}"; \
|
|
|
echo "$${col}Testsuite summary"$(AM_TESTSUITE_SUMMARY_HEADER)"$${std}"; \
|
|
|
echo "$${col}$$br$${std}"; \
|
|
|
create_testsuite_report --maybe-color; \
|
|
|
echo "$$col$$br$$std"; \
|
|
|
if $$success; then :; else \
|
|
|
echo "$${col}See $(subdir)/$(TEST_SUITE_LOG)$${std}"; \
|
|
|
if test -n "$(PACKAGE_BUGREPORT)"; then \
|
|
|
echo "$${col}Please report to $(PACKAGE_BUGREPORT)$${std}"; \
|
|
|
fi; \
|
|
|
echo "$$col$$br$$std"; \
|
|
|
fi; \
|
|
|
$$success || exit 1
|
|
|
|
|
|
check-TESTS: $(check_PROGRAMS)
|
|
|
@list='$(RECHECK_LOGS)'; test -z "$$list" || rm -f $$list
|
|
|
@list='$(RECHECK_LOGS:.log=.trs)'; test -z "$$list" || rm -f $$list
|
|
|
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
|
|
|
@set +e; $(am__set_TESTS_bases); \
|
|
|
log_list=`for i in $$bases; do echo $$i.log; done`; \
|
|
|
trs_list=`for i in $$bases; do echo $$i.trs; done`; \
|
|
|
log_list=`echo $$log_list`; trs_list=`echo $$trs_list`; \
|
|
|
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) TEST_LOGS="$$log_list"; \
|
|
|
exit $$?;
|
|
|
recheck: all $(check_PROGRAMS)
|
|
|
@test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
|
|
|
@set +e; $(am__set_TESTS_bases); \
|
|
|
bases=`for i in $$bases; do echo $$i; done \
|
|
|
| $(am__list_recheck_tests)` || exit 1; \
|
|
|
log_list=`for i in $$bases; do echo $$i.log; done`; \
|
|
|
log_list=`echo $$log_list`; \
|
|
|
$(MAKE) $(AM_MAKEFLAGS) $(TEST_SUITE_LOG) \
|
|
|
am__force_recheck=am--force-recheck \
|
|
|
TEST_LOGS="$$log_list"; \
|
|
|
exit $$?
|
|
|
tst_names.log: tst_names$(EXEEXT)
|
|
|
@p='tst_names$(EXEEXT)'; \
|
|
|
b='tst_names'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_nofill2.log: tst_nofill2$(EXEEXT)
|
|
|
@p='tst_nofill2$(EXEEXT)'; \
|
|
|
b='tst_nofill2'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_nofill3.log: tst_nofill3$(EXEEXT)
|
|
|
@p='tst_nofill3$(EXEEXT)'; \
|
|
|
b='tst_nofill3'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_meta.log: tst_meta$(EXEEXT)
|
|
|
@p='tst_meta$(EXEEXT)'; \
|
|
|
b='tst_meta'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_inq_type.log: tst_inq_type$(EXEEXT)
|
|
|
@p='tst_inq_type$(EXEEXT)'; \
|
|
|
b='tst_inq_type'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_utf8_validate.log: tst_utf8_validate$(EXEEXT)
|
|
|
@p='tst_utf8_validate$(EXEEXT)'; \
|
|
|
b='tst_utf8_validate'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_utf8_phrases.log: tst_utf8_phrases$(EXEEXT)
|
|
|
@p='tst_utf8_phrases$(EXEEXT)'; \
|
|
|
b='tst_utf8_phrases'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_global_fillval.log: tst_global_fillval$(EXEEXT)
|
|
|
@p='tst_global_fillval$(EXEEXT)'; \
|
|
|
b='tst_global_fillval'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_max_var_dims.log: tst_max_var_dims$(EXEEXT)
|
|
|
@p='tst_max_var_dims$(EXEEXT)'; \
|
|
|
b='tst_max_var_dims'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_formats.log: tst_formats$(EXEEXT)
|
|
|
@p='tst_formats$(EXEEXT)'; \
|
|
|
b='tst_formats'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_def_var_fill.log: tst_def_var_fill$(EXEEXT)
|
|
|
@p='tst_def_var_fill$(EXEEXT)'; \
|
|
|
b='tst_def_var_fill'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_err_enddef.log: tst_err_enddef$(EXEEXT)
|
|
|
@p='tst_err_enddef$(EXEEXT)'; \
|
|
|
b='tst_err_enddef'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_default_format.log: tst_default_format$(EXEEXT)
|
|
|
@p='tst_default_format$(EXEEXT)'; \
|
|
|
b='tst_default_format'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
quick_large_files.log: quick_large_files$(EXEEXT)
|
|
|
@p='quick_large_files$(EXEEXT)'; \
|
|
|
b='quick_large_files'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_big_var6.log: tst_big_var6$(EXEEXT)
|
|
|
@p='tst_big_var6$(EXEEXT)'; \
|
|
|
b='tst_big_var6'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_big_var2.log: tst_big_var2$(EXEEXT)
|
|
|
@p='tst_big_var2$(EXEEXT)'; \
|
|
|
b='tst_big_var2'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_big_rvar.log: tst_big_rvar$(EXEEXT)
|
|
|
@p='tst_big_rvar$(EXEEXT)'; \
|
|
|
b='tst_big_rvar'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_big_var.log: tst_big_var$(EXEEXT)
|
|
|
@p='tst_big_var$(EXEEXT)'; \
|
|
|
b='tst_big_var'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_large.log: tst_large$(EXEEXT)
|
|
|
@p='tst_large$(EXEEXT)'; \
|
|
|
b='tst_large'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
large_files.log: large_files$(EXEEXT)
|
|
|
@p='large_files$(EXEEXT)'; \
|
|
|
b='large_files'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
testnc3perf.log: testnc3perf$(EXEEXT)
|
|
|
@p='testnc3perf$(EXEEXT)'; \
|
|
|
b='testnc3perf'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_diskless6.log: tst_diskless6$(EXEEXT)
|
|
|
@p='tst_diskless6$(EXEEXT)'; \
|
|
|
b='tst_diskless6'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_large_cdf5.log: tst_large_cdf5$(EXEEXT)
|
|
|
@p='tst_large_cdf5$(EXEEXT)'; \
|
|
|
b='tst_large_cdf5'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_cdf5_begin.log: tst_cdf5_begin$(EXEEXT)
|
|
|
@p='tst_cdf5_begin$(EXEEXT)'; \
|
|
|
b='tst_cdf5_begin'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
t_nc.log: t_nc$(EXEEXT)
|
|
|
@p='t_nc$(EXEEXT)'; \
|
|
|
b='t_nc'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_atts3.log: tst_atts3$(EXEEXT)
|
|
|
@p='tst_atts3$(EXEEXT)'; \
|
|
|
b='tst_atts3'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_nofill.log: tst_nofill$(EXEEXT)
|
|
|
@p='tst_nofill$(EXEEXT)'; \
|
|
|
b='tst_nofill'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
nc_test.log: nc_test$(EXEEXT)
|
|
|
@p='nc_test$(EXEEXT)'; \
|
|
|
b='nc_test'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
tst_small.log: tst_small$(EXEEXT)
|
|
|
@p='tst_small$(EXEEXT)'; \
|
|
|
b='tst_small'; \
|
|
|
$(am__check_pre) $(LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_LOG_DRIVER_FLAGS) $(LOG_DRIVER_FLAGS) -- $(LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
.sh.log:
|
|
|
@p='$<'; \
|
|
|
$(am__set_b); \
|
|
|
$(am__check_pre) $(SH_LOG_DRIVER) --test-name "$$f" \
|
|
|
--log-file $$b.log --trs-file $$b.trs \
|
|
|
$(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \
|
|
|
"$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
#.sh$(EXEEXT).log:
|
|
|
# @p='$<'; \
|
|
|
# $(am__set_b); \
|
|
|
# $(am__check_pre) $(SH_LOG_DRIVER) --test-name "$$f" \
|
|
|
# --log-file $$b.log --trs-file $$b.trs \
|
|
|
# $(am__common_driver_flags) $(AM_SH_LOG_DRIVER_FLAGS) $(SH_LOG_DRIVER_FLAGS) -- $(SH_LOG_COMPILE) \
|
|
|
# "$$tst" $(AM_TESTS_FD_REDIRECT)
|
|
|
distdir: $(BUILT_SOURCES)
|
|
|
$(MAKE) $(AM_MAKEFLAGS) distdir-am
|
|
|
|
|
|
distdir-am: $(DISTFILES)
|
|
|
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
|
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
|
|
list='$(DISTFILES)'; \
|
|
|
dist_files=`for file in $$list; do echo $$file; done | \
|
|
|
sed -e "s|^$$srcdirstrip/||;t" \
|
|
|
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
|
|
|
case $$dist_files in \
|
|
|
*/*) $(MKDIR_P) `echo "$$dist_files" | \
|
|
|
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
|
|
|
sort -u` ;; \
|
|
|
esac; \
|
|
|
for file in $$dist_files; do \
|
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
|
|
if test -d $$d/$$file; then \
|
|
|
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
|
|
|
if test -d "$(distdir)/$$file"; then \
|
|
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
|
fi; \
|
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
|
|
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
|
|
|
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
|
|
|
fi; \
|
|
|
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
|
|
|
else \
|
|
|
test -f "$(distdir)/$$file" \
|
|
|
|| cp -p $$d/$$file "$(distdir)/$$file" \
|
|
|
|| exit 1; \
|
|
|
fi; \
|
|
|
done
|
|
|
check-am: all-am
|
|
|
$(MAKE) $(AM_MAKEFLAGS) $(check_PROGRAMS)
|
|
|
$(MAKE) $(AM_MAKEFLAGS) check-TESTS
|
|
|
check: check-am
|
|
|
all-am: Makefile
|
|
|
installdirs:
|
|
|
install: install-am
|
|
|
install-exec: install-exec-am
|
|
|
install-data: install-data-am
|
|
|
uninstall: uninstall-am
|
|
|
|
|
|
install-am: all-am
|
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
|
|
installcheck: installcheck-am
|
|
|
install-strip:
|
|
|
if test -z '$(STRIP)'; then \
|
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
|
install; \
|
|
|
else \
|
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
|
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
|
|
|
"INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
|
|
|
fi
|
|
|
mostlyclean-generic:
|
|
|
-test -z "$(TEST_LOGS)" || rm -f $(TEST_LOGS)
|
|
|
-test -z "$(TEST_LOGS:.log=.trs)" || rm -f $(TEST_LOGS:.log=.trs)
|
|
|
-test -z "$(TEST_SUITE_LOG)" || rm -f $(TEST_SUITE_LOG)
|
|
|
|
|
|
clean-generic:
|
|
|
-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
|
|
|
|
|
|
distclean-generic:
|
|
|
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
|
|
|
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
|
|
|
|
|
|
maintainer-clean-generic:
|
|
|
@echo "This command is intended for maintainers to use"
|
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
|
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
|
|
|
check-valgrind: check-valgrind-am
|
|
|
|
|
|
check-valgrind-am: check-valgrind-local
|
|
|
|
|
|
check-valgrind-drd: check-valgrind-drd-am
|
|
|
|
|
|
check-valgrind-drd-am: check-valgrind-drd-local
|
|
|
|
|
|
check-valgrind-helgrind: check-valgrind-helgrind-am
|
|
|
|
|
|
check-valgrind-helgrind-am: check-valgrind-helgrind-local
|
|
|
|
|
|
check-valgrind-memcheck: check-valgrind-memcheck-am
|
|
|
|
|
|
check-valgrind-memcheck-am: check-valgrind-memcheck-local
|
|
|
|
|
|
check-valgrind-sgcheck: check-valgrind-sgcheck-am
|
|
|
|
|
|
check-valgrind-sgcheck-am: check-valgrind-sgcheck-local
|
|
|
|
|
|
clean: clean-am
|
|
|
|
|
|
clean-am: clean-checkPROGRAMS clean-generic clean-libtool \
|
|
|
mostlyclean-am
|
|
|
|
|
|
distclean: distclean-am
|
|
|
-rm -f ./$(DEPDIR)/error.Po
|
|
|
-rm -f ./$(DEPDIR)/large_files.Po
|
|
|
-rm -f ./$(DEPDIR)/nc_test.Po
|
|
|
-rm -f ./$(DEPDIR)/quick_large_files.Po
|
|
|
-rm -f ./$(DEPDIR)/t_nc.Po
|
|
|
-rm -f ./$(DEPDIR)/test_get.Po
|
|
|
-rm -f ./$(DEPDIR)/test_put.Po
|
|
|
-rm -f ./$(DEPDIR)/test_read.Po
|
|
|
-rm -f ./$(DEPDIR)/test_write.Po
|
|
|
-rm -f ./$(DEPDIR)/testnc3perf.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_addvar.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_atts3.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_big_rvar.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_big_var.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_big_var2.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_big_var6.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_byterange.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_cdf5_begin.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_cdf5format.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_def_var_fill.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_default_format.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_default_format_pnetcdf.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless2.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless3.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless4.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless5.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless6.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_err_enddef.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_formats.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_formatx_pnetcdf.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_global_fillval.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_inmemory.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_inq_type.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_large.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_large_cdf5.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_max_var_dims.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_meta.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_names.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_nofill.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_nofill2.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_nofill3.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_open_cdf5.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_open_mem.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_parallel2.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_pnetcdf.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_small.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_utf8_phrases.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_utf8_validate.Po
|
|
|
-rm -f ./$(DEPDIR)/util.Po
|
|
|
-rm -f Makefile
|
|
|
distclean-am: clean-am distclean-compile distclean-generic \
|
|
|
distclean-tags
|
|
|
|
|
|
dvi: dvi-am
|
|
|
|
|
|
dvi-am:
|
|
|
|
|
|
html: html-am
|
|
|
|
|
|
html-am:
|
|
|
|
|
|
info: info-am
|
|
|
|
|
|
info-am:
|
|
|
|
|
|
install-data-am:
|
|
|
|
|
|
install-dvi: install-dvi-am
|
|
|
|
|
|
install-dvi-am:
|
|
|
|
|
|
install-exec-am:
|
|
|
|
|
|
install-html: install-html-am
|
|
|
|
|
|
install-html-am:
|
|
|
|
|
|
install-info: install-info-am
|
|
|
|
|
|
install-info-am:
|
|
|
|
|
|
install-man:
|
|
|
|
|
|
install-pdf: install-pdf-am
|
|
|
|
|
|
install-pdf-am:
|
|
|
|
|
|
install-ps: install-ps-am
|
|
|
|
|
|
install-ps-am:
|
|
|
|
|
|
installcheck-am:
|
|
|
|
|
|
maintainer-clean: maintainer-clean-am
|
|
|
-rm -f ./$(DEPDIR)/error.Po
|
|
|
-rm -f ./$(DEPDIR)/large_files.Po
|
|
|
-rm -f ./$(DEPDIR)/nc_test.Po
|
|
|
-rm -f ./$(DEPDIR)/quick_large_files.Po
|
|
|
-rm -f ./$(DEPDIR)/t_nc.Po
|
|
|
-rm -f ./$(DEPDIR)/test_get.Po
|
|
|
-rm -f ./$(DEPDIR)/test_put.Po
|
|
|
-rm -f ./$(DEPDIR)/test_read.Po
|
|
|
-rm -f ./$(DEPDIR)/test_write.Po
|
|
|
-rm -f ./$(DEPDIR)/testnc3perf.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_addvar.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_atts3.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_big_rvar.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_big_var.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_big_var2.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_big_var6.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_byterange.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_cdf5_begin.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_cdf5format.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_def_var_fill.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_default_format.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_default_format_pnetcdf.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless2.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless3.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless4.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless5.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_diskless6.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_err_enddef.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_formats.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_formatx_pnetcdf.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_global_fillval.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_inmemory.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_inq_type.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_large.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_large_cdf5.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_max_var_dims.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_meta.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_names.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_nofill.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_nofill2.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_nofill3.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_open_cdf5.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_open_mem.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_parallel2.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_pnetcdf.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_small.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_utf8_phrases.Po
|
|
|
-rm -f ./$(DEPDIR)/tst_utf8_validate.Po
|
|
|
-rm -f ./$(DEPDIR)/util.Po
|
|
|
-rm -f Makefile
|
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
|
|
mostlyclean: mostlyclean-am
|
|
|
|
|
|
mostlyclean-am: mostlyclean-compile mostlyclean-generic \
|
|
|
mostlyclean-libtool
|
|
|
|
|
|
pdf: pdf-am
|
|
|
|
|
|
pdf-am:
|
|
|
|
|
|
ps: ps-am
|
|
|
|
|
|
ps-am:
|
|
|
|
|
|
uninstall-am:
|
|
|
|
|
|
.MAKE: check-am install-am install-strip
|
|
|
|
|
|
.PHONY: CTAGS GTAGS TAGS all all-am am--depfiles check check-TESTS \
|
|
|
check-am check-valgrind-am check-valgrind-drd-am \
|
|
|
check-valgrind-drd-local check-valgrind-helgrind-am \
|
|
|
check-valgrind-helgrind-local check-valgrind-local \
|
|
|
check-valgrind-memcheck-am check-valgrind-memcheck-local \
|
|
|
check-valgrind-sgcheck-am check-valgrind-sgcheck-local clean \
|
|
|
clean-checkPROGRAMS clean-generic clean-libtool cscopelist-am \
|
|
|
ctags ctags-am distclean distclean-compile distclean-generic \
|
|
|
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
|
|
html-am info info-am install install-am install-data \
|
|
|
install-data-am install-dvi install-dvi-am install-exec \
|
|
|
install-exec-am install-html install-html-am install-info \
|
|
|
install-info-am install-man install-pdf install-pdf-am \
|
|
|
install-ps install-ps-am install-strip installcheck \
|
|
|
installcheck-am installdirs maintainer-clean \
|
|
|
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
|
|
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
|
|
recheck tags tags-am uninstall uninstall-am
|
|
|
|
|
|
.PRECIOUS: Makefile
|
|
|
|
|
|
#run_mmap.log: run_diskless.log
|
|
|
# bad_cdf5_begin.nc is a corrupted CDF-5 file with bad variable starting
|
|
|
# file offsets. It is to be used by tst_open_cdf5.c to check if it can
|
|
|
# detect and report error code NC_ENOTNC.
|
|
|
|
|
|
# This rule tells make how to turn our .m4 files into .c files.
|
|
|
.m4.c:
|
|
|
m4 $(AM_M4FLAGS) $(M4FLAGS) $< >$@
|
|
|
|
|
|
# If valgrind is present, add valgrind targets.
|
|
|
|
|
|
# Valgrind check
|
|
|
#
|
|
|
# Optional:
|
|
|
# - VALGRIND_SUPPRESSIONS_FILES: Space-separated list of Valgrind suppressions
|
|
|
# files to load. (Default: empty)
|
|
|
# - VALGRIND_FLAGS: General flags to pass to all Valgrind tools.
|
|
|
# (Default: --num-callers=30)
|
|
|
# - VALGRIND_$toolname_FLAGS: Flags to pass to Valgrind $toolname (one of:
|
|
|
# memcheck, helgrind, drd, sgcheck). (Default: various)
|
|
|
|
|
|
# Optional variables
|
|
|
VALGRIND_SUPPRESSIONS ?= $(addprefix --suppressions=,$(VALGRIND_SUPPRESSIONS_FILES))
|
|
|
VALGRIND_FLAGS ?= --num-callers=30
|
|
|
VALGRIND_memcheck_FLAGS ?= --leak-check=full --show-reachable=no
|
|
|
VALGRIND_helgrind_FLAGS ?= --history-level=approx
|
|
|
VALGRIND_drd_FLAGS ?=
|
|
|
VALGRIND_sgcheck_FLAGS ?=
|
|
|
|
|
|
# Internal use
|
|
|
valgrind_log_files = $(addprefix test-suite-,$(addsuffix .log,$(valgrind_tools)))
|
|
|
|
|
|
valgrind_memcheck_flags = --tool=memcheck $(VALGRIND_memcheck_FLAGS)
|
|
|
valgrind_helgrind_flags = --tool=helgrind $(VALGRIND_helgrind_FLAGS)
|
|
|
valgrind_drd_flags = --tool=drd $(VALGRIND_drd_FLAGS)
|
|
|
valgrind_sgcheck_flags = --tool=exp-sgcheck $(VALGRIND_sgcheck_FLAGS)
|
|
|
|
|
|
valgrind_quiet = $(valgrind_quiet_$(V))
|
|
|
valgrind_quiet_ = $(valgrind_quiet_$(AM_DEFAULT_VERBOSITY))
|
|
|
valgrind_quiet_0 = --quiet
|
|
|
valgrind_v_use = $(valgrind_v_use_$(V))
|
|
|
valgrind_v_use_ = $(valgrind_v_use_$(AM_DEFAULT_VERBOSITY))
|
|
|
valgrind_v_use_0 = @echo " USE " $(patsubst check-valgrind-%-am,%,$@):;
|
|
|
|
|
|
# Support running with and without libtool.
|
|
|
ifneq ($(LIBTOOL),)
|
|
|
valgrind_lt = $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=execute
|
|
|
else
|
|
|
valgrind_lt =
|
|
|
endif
|
|
|
|
|
|
# Use recursive makes in order to ignore errors during check
|
|
|
check-valgrind-am:
|
|
|
ifeq ($(VALGRIND_ENABLED),yes)
|
|
|
$(AM_V_at)$(MAKE) $(AM_MAKEFLAGS) -k \
|
|
|
$(foreach tool, $(valgrind_enabled_tools), check-valgrind-$(tool))
|
|
|
else
|
|
|
@echo "Need to reconfigure with --enable-valgrind"
|
|
|
endif
|
|
|
|
|
|
# Valgrind running
|
|
|
VALGRIND_TESTS_ENVIRONMENT = \
|
|
|
$(TESTS_ENVIRONMENT) \
|
|
|
env VALGRIND=$(VALGRIND) \
|
|
|
G_SLICE=always-malloc,debug-blocks \
|
|
|
G_DEBUG=fatal-warnings,fatal-criticals,gc-friendly
|
|
|
|
|
|
VALGRIND_LOG_COMPILER = \
|
|
|
$(valgrind_lt) \
|
|
|
$(VALGRIND) $(VALGRIND_SUPPRESSIONS) --error-exitcode=1 $(VALGRIND_FLAGS)
|
|
|
|
|
|
define valgrind_tool_rule
|
|
|
check-valgrind-$(1)-am:
|
|
|
ifeq ($$(VALGRIND_ENABLED)-$$(ENABLE_VALGRIND_$(1)),yes-yes)
|
|
|
ifneq ($$(TESTS),)
|
|
|
$$(valgrind_v_use)$$(MAKE) check-TESTS \
|
|
|
TESTS_ENVIRONMENT="$$(VALGRIND_TESTS_ENVIRONMENT)" \
|
|
|
LOG_COMPILER="$$(VALGRIND_LOG_COMPILER)" \
|
|
|
LOG_FLAGS="$$(valgrind_$(1)_flags)" \
|
|
|
TEST_SUITE_LOG=test-suite-$(1).log
|
|
|
endif
|
|
|
else ifeq ($$(VALGRIND_ENABLED),yes)
|
|
|
@echo "Need to reconfigure with --enable-valgrind-$(1)"
|
|
|
else
|
|
|
@echo "Need to reconfigure with --enable-valgrind"
|
|
|
endif
|
|
|
endef
|
|
|
|
|
|
$(foreach tool,$(valgrind_tools),$(eval $(call valgrind_tool_rule,$(tool))))
|
|
|
|
|
|
AM_DISTCHECK_CONFIGURE_FLAGS ?=
|
|
|
AM_DISTCHECK_CONFIGURE_FLAGS += --disable-valgrind
|
|
|
|
|
|
MOSTLYCLEANFILES ?=
|
|
|
MOSTLYCLEANFILES += $(valgrind_log_files)
|
|
|
|
|
|
.PHONY: check-valgrind $(add-prefix check-valgrind-,$(valgrind_tools))
|
|
|
|
|
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
|
.NOEXPORT:
|
|
|
|