netcdf-c/unit_test/Makefile.am

28 lines
876 B
Makefile
Raw Normal View History

2019-08-09 23:31:24 +08:00
## This is a automake file, part of Unidata's netCDF package.
# Copyright 2019, see the COPYRIGHT file for more information.
2019-08-14 01:09:53 +08:00
# This file builds and runs the unit tests. These tests are not run in
# the CMake build, because we would then have to extern these internal
# functions, to allow Windows to work. Since we have not extern'd
# these functions, they will only be run under the autotools build.
2019-08-09 23:31:24 +08:00
# Ed Hartnett 8/9/19
# Put together AM_CPPFLAGS and AM_LDFLAGS.
include $(top_srcdir)/lib_flags.am
2019-08-14 01:09:53 +08:00
# Find and link to the netcdf-c library.
LDADD = ${top_builddir}/liblib/libnetcdf.la
2019-08-09 23:31:24 +08:00
if USE_NETCDF4
NC4_TESTS = tst_nc4internal
endif # USE_NETCDF4
check_PROGRAMS = tst_nclist test_ncuri test_pathcvt $(NC4_TESTS)
TESTS = tst_nclist test_ncuri test_pathcvt $(NC4_TESTS)
2019-08-09 23:31:24 +08:00
EXTRA_DIST = CMakeLists.txt
2019-08-09 23:31:24 +08:00
# If valgrind is present, add valgrind targets.
@VALGRIND_CHECK_RULES@